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
Please provide minimal reproducer that don't refer to files from your filesystem. This should be a simple snippet + command like ./php-cs-fixer check --verbose --diff reproducer.php --rules='{"statement_indentation":{"stick_comment_to_next_continuous_control_statement":true}}', so it's possible to verify it without modifying local config.
Anyway, I was able to verify that \t indentation is not a problem here, since with 4-space indentation the problem is the same:
@keradus you know the most about this option, maybe you can check what happens here 🙂.
Bug report
Description
With the attached config, the comment is not indented correctly.
Input is correct, output gets modified in a wrong way.
Runtime version
PHP CS Fixer 3.49.0 Insomnia by Fabien Potencier, Dariusz Ruminski and contributors.
PHP runtime: 8.2.7
Used command
utils/vendor/bin/php-cs-fixer fix -v --show-progress=dots --verbose -vvv
Configuration file
Referenced file :
finder.inc.php
only contains inclusion & exclusion of paths.Line in cause:
Code snippet that reproduces the problem
The text was updated successfully, but these errors were encountered: