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 #1253

Merged
merged 1 commit into from
Feb 14, 2024
Merged

[TASK] Drop PHP_CodeSniffer #1253

merged 1 commit into from
Feb 14, 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.

@oliverklee oliverklee added this to the 8.0.0 milestone Feb 13, 2024
@oliverklee oliverklee self-assigned this Feb 13, 2024
@oliverklee oliverklee marked this pull request as draft February 13, 2024 09:00
@oliverklee oliverklee force-pushed the task/drop-sniffer branch 5 times, most recently from fdc66a6 to 4c54e97 Compare February 13, 2024 09:08
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 13, 2024 09:12
Copy link
Contributor

@JakeQZ JakeQZ left a comment

Choose a reason for hiding this comment

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

Agree it seems to duplicate functionality with 'The Fixer', and they could end up warring.

@JakeQZ JakeQZ merged commit a7c7f97 into main Feb 14, 2024
23 checks passed
@JakeQZ JakeQZ deleted the task/drop-sniffer branch February 14, 2024 01:26
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