[BUGFIX] AOP erroneously allows to advise static methods
Fixes an issue with the AOP proxy builder which erroneously allowed to
advise static methods which resulted in a PHP fatal error as soon as
such a method was called.
Releases: master, 2.0