Skip to content

Commit 8c6a356

Browse files
committed
refactor: rename sparkpress-standard.xml to phpcs-rules-standard.xml
1 parent 746a4a6 commit 8c6a356

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@
2727
}
2828
},
2929
"scripts": {
30-
"lint:wpcs": "vendor/squizlabs/php_codesniffer/bin/phpcs --standard=sparkpress-standard.xml --extensions=php ./src/php"
30+
"lint:wpcs": "vendor/squizlabs/php_codesniffer/bin/phpcs --standard=phpcs-rules-standard.xml --extensions=php ./src/php"
3131
}
3232
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"lint:plugins:js": "cd src/plugins/example-blocks && npm run lint:js",
3333
"lint:plugins:css": "cd src/plugins/example-blocks && npm run lint:css",
3434
"lint:js": "eslint src/js",
35-
"lint:php": "./scripts/run.sh vendor/bin/phpcs --standard=wp-configs/sparkpress-standard.xml --extensions=php src/php -s -n",
35+
"lint:php": "./scripts/run.sh vendor/bin/phpcs --standard=wp-configs/phpcs-rules-standard.xml --extensions=php src/php -s -n",
3636
"lint:scss": "stylelint src/scss/**/*.scss src/scss/*.scss --color --formatter verbose",
3737
"lint:twig": "./scripts/run.sh vendor/bin/twigcs src/php/views",
3838
"lint": "run-s lint:* lint:plugins:*",
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<ruleset name="SparkPress">
2+
<ruleset name="Standard">
33
<rule ref="WordPress">
44
<exclude name="Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed" />
55
<exclude name="Squiz.Commenting.FileComment.MissingPackageTag" />
@@ -9,4 +9,4 @@
99
<exclude name="Squiz.Commenting.InlineComment.InvalidEndChar" />
1010
<!-- exclude other stuff as you wish -->
1111
</rule>
12-
</ruleset>
12+
</ruleset>

0 commit comments

Comments
 (0)