Skip to content

Conversation

@n7studios
Copy link
Contributor

Summary

Registers additional commands in the scripts section of Composer, which serve as shorthand commands for testing and other common tasks performed in development, which were missing in #834

Command Description
phpcbf Runs PHP CodeSniffer on the entire plugin codebase, automatically fixing errors
phpcbf-tests Runs PHP CodeSniffer specifically on the tests directory using test-specific standards, automatically fixing errors

Testing

Existing tests pass

Checklist

@n7studios n7studios self-assigned this Jun 25, 2025
@github-actions
Copy link

WordPress Playground

🚀 Your PR has been built and is ready for testing in WordPress Playground!

Click here to test your changes in WordPress Playground

@n7studios n7studios requested review from a team, corydhmiller and noelherrick and removed request for a team June 26, 2025 02:44
@n7studios n7studios marked this pull request as ready for review June 26, 2025 02:44
@n7studios n7studios merged commit 08ee130 into main Jun 27, 2025
396 of 425 checks passed
@n7studios n7studios deleted the composer-add-phpcbf-commands branch July 12, 2025 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants