We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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-CS-Fixer breaks valid PHP8.3 code in non-risky mode when using lowercase_static_reference
lowercase_static_reference
PHP CS Fixer 3.48.0 Small Changes by Fabien Potencier, Dariusz Ruminski and contributors. PHP runtime: 8.3.2
./vendor/bin/php-cs-fixer fix --dry-run -vvv --diff test2.php --rules=lowercase_static_reference
<?php class FOO { private const string PARENT = 'parent'; }
1) test2.php (lowercase_static_reference) ---------- begin diff ---------- --- /app/test2.php +++ /app/test2.php @@ -2,5 +2,5 @@ class FOO { - private const string PARENT = 'parent'; + private const string parent = 'parent'; } ----------- end diff -----------
expected no changes
The text was updated successfully, but these errors were encountered:
LowercaseStaticReferenceFixer
Successfully merging a pull request may close this issue.
Description
PHP-CS-Fixer breaks valid PHP8.3 code in non-risky mode when using
lowercase_static_reference
Runtime version
Used command
Code snippet that reproduces the problem
expected no changes
The text was updated successfully, but these errors were encountered: