add solution for php, haskell and other modes when they are used together with yasnippet