Skip to content

4.0 | Generic.Functions.CallTimePassByReference: remove sniff #921

Description

@rodrigoprimo

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions