-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Code style change in @PER-CS2.0
affecting @Symfony
(parentheses for anonymous classes)
#57901
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@PER-CS2.0
affecting @Symfony
(parentheses for anonymous classes)@PER-CS2.0
affecting @Symfony
(parentheses for anonymous classes)
Would be fine by me 👍 |
derrabus
reviewed
Aug 1, 2024
derrabus
requested changes
Aug 5, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please adjust our .php-cs-fixer.dist.php to the new settings and fix the double space issues I've pointed out?
derrabus
approved these changes
Aug 5, 2024
xabbuh
approved these changes
Aug 6, 2024
👍 from me as well |
…or anonymous classes)
Thank you @bonroyage. |
fabpot
added a commit
that referenced
this pull request
Aug 12, 2024
This PR was merged into the 7.2 branch. Discussion ---------- DX: simplify PHP CS Fixer config towards v3.62 | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Issues | no | License | MIT following #57901 Commits ------- 004818d DX: simplify PHP CS Fixer config towards v3.62
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
RFC
RFC = Request For Comments (proposals about features that you want to be discussed)
Status: Reviewed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I have created a PR (PHP-CS-Fixer/PHP-CS-Fixer#8140) in the PHP-CS-Fixer repo to bring the
@PER-CS2.0
ruleset in line with the specifications on thenew_with_parentheses
rule for anonymous classes. Since the@Symfony
ruleset builds upon the@PER-CS2.0
ruleset, they would like confirmation that the Symfony community is OK with this change affecting the Symfony ruleset as well. Should it not be, I'll push another commit there ensuring that the change does not affect@Symfony
.Therefore, this PR is not meant to be merged, but function as an RFC to get your opinion and show the effect it would have when applied to the Symfony source.