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/SeparateFunctionsFromOO: update tests for arrow functions #171

Merged

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Dec 1, 2022

As the sniff uses predefined token collections from PHPCSUtils, it automatically takes PHP 7.4 arrow functions into account since Utils-1.0.0-alpha4.

This commit adjusts pre-existing tests to safeguard this.

Includes minor test documentation updates.

As the sniff uses predefined token collections from PHPCSUtils, it automatically takes PHP 7.4 arrow functions into account since Utils-1.0.0-alpha4.

This commit adjusts pre-existing tests to safeguard this.

Includes minor test documentation updates.
@jrfnl jrfnl added this to the 1.0.0-alpha4 milestone Dec 1, 2022
@jrfnl jrfnl merged commit 7d9629e into develop Dec 1, 2022
@jrfnl jrfnl deleted the universal/separatefunctionsfromoo-add-arrow-fn-tests branch December 1, 2022 23:31
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.

1 participant