Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Apr 13, 2023

PHP allows for declaring global/OO functions called self and parent and OO functions called static.

The guard code against handling of the self/parent/static keywords when not used as a function call did not take this into account correctly.

Fixed now.

Includes additional unit tests.

…nction call PHP allows for declaring global/OO functions called `self` and `parent` and OO functions called `static`. The guard code against handling of the `self`/`parent`/`static` keywords when not used as a function call did not take this into account correctly. Fixed now. Includes additional unit tests.
@jrfnl jrfnl added this to the 1.0.x Next milestone Apr 13, 2023
@jrfnl jrfnl merged commit c0b92f7 into develop Apr 13, 2023
@jrfnl jrfnl deleted the utils/passedparameters-allow-for-hierachical-name-function-call branch April 13, 2023 02:11
@jrfnl
Copy link
Member Author

jrfnl commented May 1, 2023

Related to upstream PR squizlabs/PHP_CodeSniffer#3797

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