Skip to content

Generic.Functions.CallTimePassByReference deprecation notice with PHP_CodeSniffer 3.13.0 #2528

@mikemanger

Description

@mikemanger

Using PHP_CodeSniffer 3.13.0 gives this warning:

-  Generic.Functions.CallTimePassByReference
   This sniff has been deprecated since v3.12.1 and will be removed in v4.0.0.

It looks like the functionality could be moved over to PHPCompatibility/PHPCompatibilityWP by using PHPCompatibility.Syntax.ForbiddenCallTimePassByReference.

More info here PHPCSStandards/PHP_CodeSniffer#921

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Requirement not metOn hold until WPCS supports a particular version of a dependency (PHP, PHP_CodeSniffer, etc.).

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions