Closed
Description
Description
I suggest marking the Generic.Functions.CallTimePassByReference
sniff as deprecated in the next minor version and removing it in 4.0.
Call-time pass-by-reference was deprecated in PHP 5.3 and removed in PHP 5.4.
PHPCS 3.x supports PHP >= 5.4. PHPCS 4.0 will drop support for PHP < 7.2.
There is a PHPCompatibility sniff to check for the use of call-time pass-by-reference: PHPCompatibility.Syntax.ForbiddenCallTimePassByReference
.