no_spaces_after_function_name
conflict with single_space_after_construct
#5712
Labels
contribution welcome
Core team is looking for a contribution
kind/bug
topic/whitespace
Indentation, spacing, new lines
Bug report
Using PHP CS Fixer 3.0.0 run on PHP 8.0.5 with following config:
or using
--rules='{"no_spaces_after_function_name": true, "single_space_after_construct": {"constructs": ["echo"]}}'
CLI param.Code snippet that reproduces the problem
Save content to file
echo_bug.php
:Run
vendor/bin/php-cs-fixer fix -v --dry-run --diff echo_bug.php
.Following fix is suggested:
Expected result is that no change is suggested.
The text was updated successfully, but these errors were encountered: