-
-
Notifications
You must be signed in to change notification settings - Fork 205
Closed
vfalies/php7compatibility
#2Description
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.
Reactions are currently unavailable