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.3 | Generic/LowerCaseConstant: add support for typed constants #330

Merged

Commits on Feb 15, 2024

  1. PHP 8.3 | Generic/LowerCaseConstant: add support for typed constants

    Type declarations are explicitly not checked by this sniff.
    
    PHP 8.3 introduces typed constants. This means that the sniff now also needs to ensure that it doesn't flag non-lowercase `true`/`false`/`null` in the type declaration for a constant.
    
    Fixed now. Includes tests.
    jrfnl committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    35abfb0 View commit details
    Browse the repository at this point in the history