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

Allow self within class method closures #70

Merged
merged 3 commits into from
Feb 8, 2019
Merged

Conversation

sirbrillig
Copy link
Owner

Since this sniff has a minimum version of PHP 5.4 and in that version PHP will autobind self inside class method closures, this disables errors for those cases.

Fixes #68

@sirbrillig sirbrillig merged commit 6d66956 into master Feb 8, 2019
@sirbrillig sirbrillig deleted the allow-autobind-closure branch February 8, 2019 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant