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

Universal/LowercaseClassResolutionKeyword: bug fix for functions called "class" #226

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Apr 21, 2023

Since PHP 7.0, class can be used as a method name. The sniff did not take this into account correctly.

Fixed now.

Includes unit tests.

…ed "class"

Since PHP 7.0, `class` can be used as a method name. The sniff did not take this into account correctly.

Fixed now.

Includes unit tests.
@jrfnl jrfnl added this to the 1.x Next milestone Apr 21, 2023
@jrfnl jrfnl merged commit e46d507 into develop Apr 21, 2023
@jrfnl jrfnl deleted the universal/lowercaseclassresolutionkeyword-fix-bug-with-method-names branch April 21, 2023 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant