Update phpcs in Makefile
Update the `phpcs` rule in Makefile to remove the additional options and use the phpcs configuration file instead.
This commit is contained in:
parent
6350054e45
commit
c0137e6d8b
7
Makefile
7
Makefile
|
@ -7,12 +7,7 @@ THEME_PATH:=web/themes/custom/opdavies
|
||||||
clean: theme-clean
|
clean: theme-clean
|
||||||
|
|
||||||
phpcs:
|
phpcs:
|
||||||
symfony php vendor/bin/phpcs -n \
|
@vendor/bin/phpcs -s --warning-severity=6
|
||||||
--standard="Drupal,DrupalPractice" \
|
|
||||||
--extensions="php,module,inc,install,test,profile,theme" \
|
|
||||||
--exclude="Drupal.Commenting.ClassComment,Drupal.Commenting.FunctionComment,Drupal.Commenting.VariableComment" \
|
|
||||||
web/modules/custom \
|
|
||||||
web/themes/custom
|
|
||||||
|
|
||||||
phpstan:
|
phpstan:
|
||||||
vendor/bin/phpstan analyze
|
vendor/bin/phpstan analyze
|
||||||
|
|
Loading…
Reference in a new issue