Closed steevanb closed 7 months ago
@steevanb please have a look at https://github.com/squizlabs/PHP_CodeSniffer/issues/3932. If still relevant, please open a new issue in the new repository. The latest version of PHP_CodeSniffer is 3.9.1
. From what I can tell, this change was released as part of 3.8.0
.
@steevanb Please upgrade to the latest PHPCS version and your problem is gone. You are using version 3.7.2
, while the latest PHPCS version is 3.9.1
.
Closing as invalid.
Describe the bug
When a class is readonly, ClassDeclaration sniff report
Expected 0 spaces before class keyword; 1 found
.I know it's fixed on master (https://github.com/squizlabs/PHP_CodeSniffer/commit/3f7b9ba8544073fb2ff7c879c70d036090ebd95a), but i don't see any final version with this fix.
Could you please create
3.7.3
?Code sample
To reproduce
Expected behavior
No error ;)
Versions (please complete the following information)
Please confirm:
master
branch of PHP_CodeSniffer.