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

fix: WhiteSpace\OperatorAndKeywordSpacingSniff - conflict with declare statement since PHP_CodeSniffer 3.9.1 #203

Conversation

michalbundyra
Copy link
Member

PR PHPCSStandards/PHP_CodeSniffer#289 changes a lot around operator sniff, and now declare statement must be omitted (as it was done also for PSR-12 rule there). There is another sniff to verify declare statement, and we do not want to check it here.

…e statement since PHP_CodeSniffer 3.9.1

PR PHPCSStandards/PHP_CodeSniffer#289 changes a lot around operator sniff, and now declare statement must be omitted (as it was done also for PSR-12 rule there). There is another sniff to verify declare statement, and we do not want to check it here.
@michalbundyra michalbundyra added the bug Something isn't working label Oct 15, 2024
@michalbundyra michalbundyra added this to the 1.3.3 milestone Oct 15, 2024
@michalbundyra michalbundyra merged commit 341543c into webimpress:master Oct 15, 2024
9 of 15 checks passed
@michalbundyra michalbundyra deleted the fix/operator-and-keyword-skip-declare branch October 15, 2024 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant