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

WhiteSpace/FunctionSpacing: various minor improvements #337

Merged
merged 2 commits into from
Nov 4, 2023

Conversation

jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Nov 4, 2023

WhiteSpace/FunctionSpacing: verify support for PHP 8.1 enums

The use of the Tokens::$ooScopeTokens token array already takes care of handling of enums in the sniff, but this should still be safeguarded with a test.

WhiteSpace/FunctionSpacing: minor tweak

The parent process() method is a void method, so this should be too.

jrfnl added 2 commits November 4, 2023 12:19
The use of the `Tokens::$ooScopeTokens` token array already takes care of handling of enums in the sniff, but this should still be safeguarded with a test.
The parent `process()` method is a `void` method, so this should be too.
@coveralls
Copy link

Coverage Status

coverage: 98.493% (+0.002%) from 98.491%
when pulling bac8ca3 on JRF/yoastcs-functionspacing-various-improvements
into fe36bf6 on develop.

@jrfnl jrfnl merged commit 218d9a2 into develop Nov 4, 2023
25 checks passed
@jrfnl jrfnl deleted the JRF/yoastcs-functionspacing-various-improvements branch November 4, 2023 11:25
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.

2 participants