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

Use cs2pr; remove composer-patches dependency #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BrianHenryIE
Copy link
Contributor

The main way to get PHPCS annotations on PRs is by using cs2pr.

The use of composer-patches isn't great. I didn't know at the time of my earlier PR, but all packages that require this package (wp-namespace-autoloader) attempt to apply the patches specified here. Not ideal.

cs2pr actually references work I did on the report type approach, which is nice! I don't understand why phpcs haven't merged the PR that was being applied here by composer-patches.

  • No changes to PHP
  • Also removed phpunit dependency and the autoload key for the tests (because there are none)
  • Added a 🤖 icon for GitHub Actions commits
  • Changes squizlabs/php_codesniffer requirement from * to ^3.6 (current)

There's another way to get PHPCS annotations on PRs, by using cs2pr.
The use of composer-patches isn't great. I didn't know at the time, but all packages that require this package attempt to apply the patches specified here. Not ideal.
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