Skip to content

Commit

Permalink
Fix PHPCS
Browse files Browse the repository at this point in the history
  • Loading branch information
darylldoyle committed Feb 6, 2025
1 parent eceaa18 commit c6edff6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"phpstan/phpstan-deprecation-rules": "^1.2"
},
"scripts": {
"lint": "phpcs .",
"lint-fix": "phpcbf .",
"lint": "./vendor/bin/phpcs --standard=./phpcs.xml",
"lint-fix": "./vendor/bin/phpcbf --standard=./phpcs.xml",
"static": [
"Composer\\Config::disableProcessTimeout",
"phpstan --memory-limit=1G"
Expand Down
4 changes: 2 additions & 2 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<description>10up PHPCS extended.</description>

<!-- Scan these directories -->
<file>./themes/*</file>
<file>./mu-plugins/*</file>
<file>themes</file>
<file>mu-plugins</file>

<!-- Don't scan these directories -->
<exclude-pattern>node_modules/</exclude-pattern>
Expand Down

0 comments on commit c6edff6

Please sign in to comment.