Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generic/CallTimePassByReference: add support for self, parent and static #466

Commits on May 2, 2024

  1. Generic/CallTimePassByReference: listen to self, parent and static

    This commit changes the CallTimePassByReference sniff to listen to the
    T_PARENT, T_SELF, and T_STATIC tokens. From now on the sniff will
    trigger errors when one of those tokens is used to instantiate a class
    containing a variable passed by reference.
    rodrigoprimo authored and jrfnl committed May 2, 2024
    Configuration menu
    Copy the full SHA
    b7ec8bc View commit details
    Browse the repository at this point in the history