Skip to content

Commit

Permalink
Fix phpcsutil
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Taylor committed Jan 19, 2024
1 parent afff18b commit 7c8bf1e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ jobs:
- name: Run PHP_CodeSniffer
run: |
phpcs --config-set installed_paths $GITHUB_WORKSPACE/vendor/wp-coding-standards/wpcs
phpcs --config-set installed_paths $GITHUB_WORKSPACE/vendor/wp-coding-standards/wpcs,$GITHUB_WORKSPACE/vendor/phpcsstandards,phpcsutils
phpcs --standard=WordPress --extensions=php $GITHUB_WORKSPACE
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"prefer-stable": true,
"require-dev": {
"wp-coding-standards/wpcs": "^3.0",
"squizlabs/php_codesniffer": "^3.8"
"squizlabs/php_codesniffer": "^3.8",
"phpcsstandards/phpcsutils": "^1.0"
},
"config": {
"allow-plugins": {
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7c8bf1e

Please sign in to comment.