Skip to content

chore: PHP CS Fixer - update heredoc handling #61372

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: 7.4
Choose a base branch
from

Conversation

keradus
Copy link
Member

@keradus keradus commented Aug 9, 2025

Q A
Branch? 7.4
Bug fix? no
New feature? no
Deprecations? no
Issues Fix CS
License MIT

Inspired while #61371 , but can be merged separately.

@PHPxMigration and @Symfony ruleset have different config for those rules. I assume the difference is coming from supporting pre-7.2 PHP version earlier in the codebase, where heredoc closure and trailing comma had to be on separated lines - but it's no longer the case.

Can we benefit from newer PHP syntax and incorporate those changes? (yes, trailing_comma_in_multiline, part of @Symfony, is already having this enabled!)
if so, i will also merge them into @Symfony ruleset itself afterwards.

with love by PHP Coding Standards Fixer

@carsonbot carsonbot added this to the 7.4 milestone Aug 9, 2025
@carsonbot carsonbot changed the title chore: PHP CS Fixer - update heredoc handling chore: PHP CS Fixer - update heredoc handling Aug 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants