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

Apply the ValidFunctionName to all scoped tokens #181

Merged
merged 1 commit into from
Feb 2, 2022

Conversation

stronk7
Copy link
Member

@stronk7 stronk7 commented Feb 2, 2022

Previously it was only being applied to classes and interfaces,
now also to traits and anon classes (and anything else that can
come in the future).

Covered with tests.

Previously it was only being applied to classes and interfaced,
now also to traits and anon classes (and anything else that can
come in the future).

Covered with tests.
@stronk7
Copy link
Member Author

stronk7 commented Feb 2, 2022

I'm self-merging this, because it's trivial and correct (that's how other standards are doing their own ValidFunctionName sniffs) and now it's completely covered.

And, last but not least... I need this to be able to continue working on some sniffs related with namespaces and phpdocs.

@stronk7 stronk7 merged commit 31dc2ff into moodlehq:master Feb 2, 2022
@stronk7 stronk7 deleted the valid_function_name branch February 2, 2022 16:02
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