statement_indentation
and arrays defined in a multiline const breaks indentation
#8027
Open
2 tasks done
Labels
Problem description
Similar to #7866
When defining multi line consts, and defining one of them as a multiline array with keys, the indentation of any following consts is incorrectly changed.
This seems to only happen when the array defines any keys and not when it only contains values.
Minimal reproducer
Current changes:
Expected changes:
None.
Fixer version
3.57.2
PHP version
8.3.6
How do you run Fixer?
Composer Shim package (binary only)
Contribution Checks
The text was updated successfully, but these errors were encountered: