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

[TASK] Drop PHP_CodeSniffer #468

Merged
merged 1 commit into from Feb 13, 2024
Merged

[TASK] Drop PHP_CodeSniffer #468

merged 1 commit into from Feb 13, 2024

Conversation

oliverklee
Copy link
Contributor

This tool is not well-maintained anymore, and it has no PER2 coding standard, which is a blocker for us moving to PER2.

PHP-CS-Fixer already has a PER2 coding standard. If we use PHP-CS-Fixer on PER2 and PHP_CodeSniffer on PSR12 (the latest available standard there), both tools would keep overwriting each other's changes endlessly, and they would never agree on the correct formatting.

This tool is not well-maintained anymore, and it has no PER2 coding
standard, which is a blocker for us moving to PER2.

PHP-CS-Fixer already has a PER2 coding standard. If we use PHP-CS-Fixer
on PER2 and PHP_CodeSniffer on PSR12 (the latest available standard there),
both tools would keep overwriting each other's changes endlessly, and
they would never agree on the correct formatting.
@oliverklee oliverklee marked this pull request as ready for review February 12, 2024 20:34
Copy link
Contributor

@sabberworm sabberworm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree we shouldn’t use two tools for the same job.

I just wanted to point out that the project, much like this one, has recently moved to a new org (see squizlabs/PHP_CodeSniffer#3932) and there seems to be lots of activity as well as an open issue for PER-2 (PHPCSStandards/PHP_CodeSniffer#29).

@oliverklee oliverklee merged commit 8bb6080 into main Feb 13, 2024
17 checks passed
@oliverklee oliverklee deleted the task/drop-codesniffer branch February 13, 2024 08:57
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

2 participants