From c0137e6d8ba5a9f3a8121b874d6b4da274dbd6e4 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 30 Jun 2020 17:32:14 +0100 Subject: [PATCH] Update phpcs in Makefile Update the `phpcs` rule in Makefile to remove the additional options and use the phpcs configuration file instead. --- Makefile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 6cd0bae..0e79819 100644 --- a/Makefile +++ b/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