If combine static modifier with logical or for public|protected members, then pointcut will also match dynamic methods.
* @Around("execution(public|protected **\*->*(*))")
public function aroundMethodExecution(MethodInvocation $invocation)
* @Around("execution(public|protected **\*::*(*))")
public function aroundStaticMethodExecution(MethodInvocation $invocation)
Second expression is translated like this:
(protected && static) || public
It's incorrect, need to check how to fix this error in ModifierMatcherFilter
If combine static modifier with logical or for public|protected members, then pointcut will also match dynamic methods.
Second expression is translated like this:
It's incorrect, need to check how to fix this error in
ModifierMatcherFilter