From c7e91b3d458d7fc9f49cd59bd05857aae2bf87a7 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen.haas@lakedrops.com> Date: Tue, 25 Jul 2023 17:38:50 +0200 Subject: [PATCH] composer/plugin/drupal-development-environment#15 Change PHPCS standard from DrupalPractice to Drupal --- ahoy.test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ahoy.test.yml b/ahoy.test.yml index 60eaabd..1189838 100644 --- a/ahoy.test.yml +++ b/ahoy.test.yml @@ -6,7 +6,7 @@ commands: phpcs: cmd: | ahoy d4d exec mkdir -p /tmp/logs - ahoy d4d exec vendor/bin/phpcs --report-full=/tmp/logs/codesniffer_results.txt --report-checkstyle=/tmp/logs/checkstyle.xml --report-diff=/tmp/logs/codesniffer_fixes.patch --standard=DrupalPractice --file-list=/var/www/html/tests/phpcs.files --extensions=php,module,inc,install,test,profile,theme,info,txt,md --ignore=node_modules,*.min.css,*.min.js,$(paste -s -d, .phpcsignore 2>/dev/null) "$@" + ahoy d4d exec vendor/bin/phpcs --report-full=/tmp/logs/codesniffer_results.txt --report-checkstyle=/tmp/logs/checkstyle.xml --report-diff=/tmp/logs/codesniffer_fixes.patch --standard=Drupal --file-list=/var/www/html/tests/phpcs.files --extensions=php,module,inc,install,test,profile,theme,info,txt,md --ignore=node_modules,*.min.css,*.min.js,$(paste -s -d, .phpcsignore 2>/dev/null) "$@" ahoy d4d exec cat /tmp/logs/codesniffer_results.txt usage: PHP coding standards phpcsmodule: @@ -14,7 +14,7 @@ commands: module=$1 shift ahoy d4d exec mkdir -p /tmp/logs - ahoy d4d exec vendor/bin/phpcs --report-full=/tmp/logs/codesniffer_results.txt --report-checkstyle=/tmp/logs/checkstyle.xml --report-diff=/tmp/logs/codesniffer_fixes.patch --standard=DrupalPractice --extensions=php,module,inc,install,test,profile,theme,info,txt,md --ignore=node_modules,*.min.css,*.min.js,$(paste -s -d, .phpcsignore 2>/dev/null) web/modules/contrib/$module "$@" + ahoy d4d exec vendor/bin/phpcs --report-full=/tmp/logs/codesniffer_results.txt --report-checkstyle=/tmp/logs/checkstyle.xml --report-diff=/tmp/logs/codesniffer_fixes.patch --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,info,txt,md --ignore=node_modules,*.min.css,*.min.js,$(paste -s -d, .phpcsignore 2>/dev/null) web/modules/contrib/$module "$@" ahoy d4d exec cat /tmp/logs/codesniffer_results.txt usage: PHP coding standards phpcs-fix: -- GitLab