Skip to content

fix: indentation for backed enum with multiline assignment#9362

Merged
kubawerlos merged 7 commits intoPHP-CS-Fixer:masterfrom
mspirkov:fix-enum-indentation
Jan 31, 2026
Merged

fix: indentation for backed enum with multiline assignment#9362
kubawerlos merged 7 commits intoPHP-CS-Fixer:masterfrom
mspirkov:fix-enum-indentation

Conversation

@mspirkov
Copy link
Copy Markdown
Contributor

Fixes: #9334

@coveralls
Copy link
Copy Markdown

coveralls commented Jan 18, 2026

Coverage Status

coverage: 92.942%. remained the same
when pulling d87c808 on mspirkov:fix-enum-indentation
into f84517c on PHP-CS-Fixer:master.

Copy link
Copy Markdown

@mmarton mmarton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and it works for me (I'm reported the issue)
thanks for the fix

];

yield 'backend enum' => [
yield 'backed enum' => [
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically enum is a backend enum 😀

@kubawerlos kubawerlos merged commit 41932ff into PHP-CS-Fixer:master Jan 31, 2026
33 checks passed
@kubawerlos
Copy link
Copy Markdown
Member

Thank you @mspirkov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants