shawncplus/phpcomplete.vim — pull request #17 by complex857 (2013-04-25 08:50:47+00:00)
Title: Make completion smarter with static when classname is known

When the classname and the classfile both known the plugin scans the source file for methods and attributes, but the regexp for grabbing static methods is wrongly picks up methods like:

function nostatic() { }
(the static keyword is optional in the regexp) and doesn't recognize the functions like this:

static public static1() { }
The patch fixes this. Also makes the attribute handling aware of the context (only searching for static or normal attributes) like the function searching do.