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

PHP 8.2 | Support readonly classes in 11 sniffs #3826

Merged
merged 11 commits into from
May 18, 2023

Commits on May 18, 2023

  1. Configuration menu
    Copy the full SHA
    9eee9f5 View commit details
    Browse the repository at this point in the history
  2. 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.
    jrfnl committed May 18, 2023
    Configuration menu
    Copy the full SHA
    358362c View commit details
    Browse the repository at this point in the history
  3. 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
    jrfnl committed May 18, 2023
    Configuration menu
    Copy the full SHA
    39b1956 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    af87457 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3441ef9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3f7b9ba View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    358c476 View commit details
    Browse the repository at this point in the history
  8. 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
    jrfnl committed May 18, 2023
    Configuration menu
    Copy the full SHA
    81f322e View commit details
    Browse the repository at this point in the history
  9. PHP 8.2 | Squiz/DocCommentAlignment: add test for readonly classes

    Adjust existing unit test to confirm this is already handled correctly.
    jrfnl committed May 18, 2023
    Configuration menu
    Copy the full SHA
    4ee40b3 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b7604d7 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    97bd66f View commit details
    Browse the repository at this point in the history