PHP Companion and traits
After an hour or so of debugging python's package I've finally found it. First things first.
You may or may not noticed that Sublime's PHP Companion package does not import traits. For instance put your cursor under "DispatchesJobs" and hit key that you assigned to find_use command. Nothing happens. The reason why is ST3 PHP default syntax package doesn't recognize keyword trait as a symbol and in consequence PHP Companion doesn't find it either.
The solution. I replaced PHP Source.sublime-syntax file that sits in default ST3 Package (/opt/sublime_text/Packages/PHP.sublime-package on Debian, don't know on other systems though) with that file: https://raw.githubusercontent.com/jobedom/Packages/master/PHP/PHP%20Source.sublime-syntax
And it does the trick. One downside is after an ST3 update it will be overwritten. Hopefully when PHP7 will go live someone do the correct syntax file.
Please or to participate in this conversation.