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
|
||||
|
||||
phpcs:
|
||||
symfony php vendor/bin/phpcs -n \
|
||||
--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
|
||||
@vendor/bin/phpcs -s --warning-severity=6
|
||||
|
||||
phpstan:
|
||||
vendor/bin/phpstan analyze
|
||||
|
|
Loading…
Reference in a new issue