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

Update PSR2R-sniffer version and remove UnusedUseStatement rule #13

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

mohanrajpac
Copy link
Contributor

Upgraded fig-r/psr2r-sniffer to version 2.1.2 in composer.json. Removed the PSR2R.Namespaces.UnusedUseStatement rule from both NewsUK/ruleset.xml and NewsPress/ruleset.xml to align with updated coding standards. Without this fix all PHPCS lint jobs that uses this library will fail.

This rule was removed recently. More details here and the commit.

Upgraded `fig-r/psr2r-sniffer` to version 2.1.2 in `composer.json`. Removed the `PSR2R.Namespaces.UnusedUseStatement` rule from both `NewsUK/ruleset.xml` and `NewsPress/ruleset.xml` to align with updated coding standards.
@mohanrajpac mohanrajpac requested a review from a team as a code owner January 2, 2025 10:14
@mohanrajpac mohanrajpac merged commit 83cd8d1 into main Jan 2, 2025
2 checks passed
@mohanrajpac mohanrajpac deleted the chore/remove-unusedusestatement-rule branch January 2, 2025 11:15
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.

1 participant