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

PHP_CS removed in favour of ECS #1038

Merged
merged 4 commits into from
Jun 25, 2022
Merged

PHP_CS removed in favour of ECS #1038

merged 4 commits into from
Jun 25, 2022

Conversation

Spomky
Copy link
Contributor

@Spomky Spomky commented Jun 13, 2022

This PR removes HP_CodeSniffer in favor of ECS (symplify/easy-coding-standard)

ECS includes PHP_CS and PHP CS Fixer rulesets.
The proposed configuration is the same as the one that was used, except that it relies on PSR12 instead of the deperacted PSR1 and PSR2 (see this migration guide).

In addition, a Github Action workflow is added to run both Rector and ECS and detect code lines that could be improved.

@chalasr
Copy link
Collaborator

chalasr commented Jun 25, 2022

Thank you @Spomky.

@chalasr chalasr merged commit 98e84e3 into lexik:2.x Jun 25, 2022
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.

2 participants