You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CS Fixer throws an exception when I try to fix file with non-grouped const or function imports:
[PhpCsFixer\Linter\LintingException]
Parse error: syntax error, unexpected token "const", expecting identifier or fully qualified name or namespaced name on line 17.
Runtime version
PHP CS Fixer 3.35.1 (ec1ccc2) Freezy Vrooom by Fabien Potencier and Dariusz Ruminski.
PHP runtime: 8.1.23
Bug report
Description
CS Fixer throws an exception when I try to fix file with non-grouped const or function imports:
Runtime version
PHP CS Fixer 3.35.1 (ec1ccc2) Freezy Vrooom by Fabien Potencier and Dariusz Ruminski.
PHP runtime: 8.1.23
Used command
php-cs-fixer fix -vvv path/to/file.php
Configuration file
Code snippet that reproduces the problem
The text was updated successfully, but these errors were encountered: