-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
PHP 8.2 | Support readonly classes in 11 sniffs #3826
Commits on May 18, 2023
-
PHP 8.2 | Generic/UnnecessaryFinalModifier: allow for readonly classes
Includes unit test. Ref: * https://wiki.php.net/rfc/readonly_classes
Configuration menu - View commit details
-
Copy full SHA for 9eee9f5 - Browse repository at this point
Copy the full SHA 9eee9f5View commit details -
Generic/UnnecessaryFinalModifier: make the sniff more efficient
No need to token walk the contents of functions as the `final` keyword cannot be used in them anyway.
Configuration menu - View commit details
-
Copy full SHA for 358362c - Browse repository at this point
Copy the full SHA 358362cView commit details -
PHP 8.2 | PEAR/ClassComment: allow for readonly classes
Includes improving the accuracy of the tokens to skip over. Includes unit test. Ref: * https://wiki.php.net/rfc/readonly_classes
Configuration menu - View commit details
-
Copy full SHA for 39b1956 - Browse repository at this point
Copy the full SHA 39b1956View commit details -
PHP 8.2 | PEAR/FileComment: allow for readonly classes
Includes unit test. Ref: * https://wiki.php.net/rfc/readonly_classes
Configuration menu - View commit details
-
Copy full SHA for af87457 - Browse repository at this point
Copy the full SHA af87457View commit details -
PHP 8.2 | PSR2/ClassDeclaration: allow for readonly classes
Includes unit test. Ref: * https://wiki.php.net/rfc/readonly_classes
Configuration menu - View commit details
-
Copy full SHA for 3441ef9 - Browse repository at this point
Copy the full SHA 3441ef9View commit details -
PHP 8.2 | Squiz/ClassDeclaration: allow for readonly classes
Includes unit test. Ref: * https://wiki.php.net/rfc/readonly_classes
Configuration menu - View commit details
-
Copy full SHA for 3f7b9ba - Browse repository at this point
Copy the full SHA 3f7b9baView commit details -
PHP 8.2 | Squiz/LowercaseClassKeywords: add support for readonly clas…
…ses/properties Includes unit test. Ref: * https://wiki.php.net/rfc/readonly_properties_v2 * https://wiki.php.net/rfc/readonly_classes
Configuration menu - View commit details
-
Copy full SHA for 358c476 - Browse repository at this point
Copy the full SHA 358c476View commit details -
PHP 8.2 | Squiz/ClassComment: allow for readonly classes
Includes improving the accuracy of the tokens to skip over. Includes unit test. Ref: * https://wiki.php.net/rfc/readonly_classes
Configuration menu - View commit details
-
Copy full SHA for 81f322e - Browse repository at this point
Copy the full SHA 81f322eView commit details -
PHP 8.2 | Squiz/DocCommentAlignment: add test for readonly classes
Adjust existing unit test to confirm this is already handled correctly.
Configuration menu - View commit details
-
Copy full SHA for 4ee40b3 - Browse repository at this point
Copy the full SHA 4ee40b3View commit details -
PHP 8.2 | Squiz/FileComment: allow for readonly classes
Includes unit test. Ref: * https://wiki.php.net/rfc/readonly_classes
Configuration menu - View commit details
-
Copy full SHA for b7604d7 - Browse repository at this point
Copy the full SHA b7604d7View commit details -
PHP 8.1/8.2 | Squiz/InlineComment: allow for readonly classes and pro…
…perties Includes unit test. Ref: * https://wiki.php.net/rfc/readonly_properties_v2 * https://wiki.php.net/rfc/readonly_classes
Configuration menu - View commit details
-
Copy full SHA for 97bd66f - Browse repository at this point
Copy the full SHA 97bd66fView commit details