qossmic / deprecation-detector

MIT License
390 stars 40 forks source link

bug detecting by-reference use? #122

Closed craigh closed 7 years ago

craigh commented 7 years ago

please see http://stackoverflow.com/questions/41198220/how-to-re-code-php-assign-by-reference-usage/41198841 for full explanation.

basically, I am getting Using deprecated language feature assign by reference(&=) Since PHP 5.3 use normal assignment instead.

I am questioning whether this error should be thrown at all.

slde-robin commented 7 years ago

👍 Looks like an error.

Can you fix this ?

https://github.com/sensiolabs-de/deprecation-detector/blob/master/src/Visitor/Usage/FindLanguageDeprecations.php#L35

slde-robin commented 7 years ago

123