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

Replace deprecated fixers in PSR-12 set #203

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

OndraM
Copy link

@OndraM OndraM commented May 9, 2024

This PR only replaces already used fixers in the PSR-12 sets. It does not add a new ones (some of them were mentioned in #202), I may do it in future PR.

The behavior should be the same, except for one thing - previously, the ECS PSR-12 set did not allow single line closures and classes, while there is no such rule in the actual PSR-12 standard. And the new fixers adheres to this behavior, so I updated the tests (and added one new case for anonymous class).

@OndraM OndraM force-pushed the feature/psr12-deprecations branch from 221c2fb to f6e88ce Compare May 23, 2024 12:32
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.

None yet

1 participant