Skip to content
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

feat: improve php-cs rules with PSR-12 and trailing_comma_in_multiline #27

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

antten
Copy link
Contributor

@antten antten commented Aug 20, 2024

Why?

PHP-CS supports now PSR-12 rules.

To avoid unnecessary changes in PRs with only commas added on multi-lines declarations, I propose adding the trailing_comma_in_multiline rule.

TODO

  • code is tested
  • documentation is updated (if needed)

@antten antten marked this pull request as ready for review August 20, 2024 13:40
@antten antten requested a review from a team as a code owner August 20, 2024 13:40
@Benoit382 Benoit382 merged commit a8a4473 into BedrockStreaming:master Aug 21, 2024
@antten antten deleted the feat/improve-php-cs-rules branch August 21, 2024 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants