False positive for call-time pass-by-reference
First of all - thanks for providing these sniffs, they really make our job a bit easier!
The following example raises an error, stating that
Using a call-time pass-by-reference is prohibited since php 5.4
Example code:
class Bar() { const FOO = 1; } function foo() { } $a=2; foo(Bar::FOO & $a);
We get some false positives for this, so a fix would be nice.