Skip to content
Snippets Groups Projects
Commit 5aea1442 authored by Erick Hitter's avatar Erick Hitter
Browse files

Merge branch 'fix/phpcs' into 'main'

PHPCS doesn't like spaces in the sniffs string

See merge request !5
parents 7483c436 0affeb32
No related branches found
No related tags found
1 merge request!5PHPCS doesn't like spaces in the sniffs string
...@@ -61,12 +61,8 @@ PHPCS: ...@@ -61,12 +61,8 @@ PHPCS:
- composer global require automattic/vipwpcs - composer global require automattic/vipwpcs
- composer global require phpcompatibility/phpcompatibility-wp - composer global require phpcompatibility/phpcompatibility-wp
- phpcs --config-set installed_paths \ - phpcs --config-set installed_paths \
$HOME/.composer/vendor/wp-coding-standards/wpcs, \ $HOME/.composer/vendor/wp-coding-standards/wpcs,$HOME/.composer/vendor/automattic/vipwpcs,$HOME/.composer/vendor/phpcompatibility/php-compatibility,$HOME/.composer/vendor/phpcompatibility/phpcompatibility-paragonie,$HOME/.composer/vendor/phpcompatibility/phpcompatibility-wp,$HOME/.composer/vendor/sirbrillig/phpcs-variable-analysis
$HOME/.composer/vendor/automattic/vipwpcs, \ - phpcs --config-show
$HOME/.composer/vendor/phpcompatibility/php-compatibility, \
$HOME/.composer/vendor/phpcompatibility/phpcompatibility-paragonie, \
$HOME/.composer/vendor/phpcompatibility/phpcompatibility-wp, \
$HOME/.composer/vendor/sirbrillig/phpcs-variable-analysis
script: script:
- phpcs -n - phpcs -n
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment