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:
Oliver Davies 2020-06-30 17:32:14 +01:00
parent 6350054e45
commit c0137e6d8b

View file

@ -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