From eb1f13d4f71c2687e2dd125fd6a540d8ceab6e98 Mon Sep 17 00:00:00 2001 From: Christian Fritsch Date: Mon, 21 Feb 2022 11:48:45 +0100 Subject: [PATCH] fix phpcs --- .github/workflows/{test.yml => testing.yml} | 8 ++++---- lib/stages/coding_style.sh | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) rename .github/workflows/{test.yml => testing.yml} (96%) diff --git a/.github/workflows/test.yml b/.github/workflows/testing.yml similarity index 96% rename from .github/workflows/test.yml rename to .github/workflows/testing.yml index e1910dc..1e1a452 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/testing.yml @@ -23,19 +23,19 @@ jobs: RUN: [1, 2, 3, 4] include: - RUN: 1 - DRUPAL_TESTING_DRUPAL_VERSION: '~9.2' + DRUPAL_TESTING_DRUPAL_VERSION: '~9.3' DRUPAL_TESTING_COMPOSER_PROJECT: 'drupal/recommended-project' PHP_VERSION: '7.4' - RUN: 2 - DRUPAL_TESTING_DRUPAL_VERSION: '~9.1.0' + DRUPAL_TESTING_DRUPAL_VERSION: '~9.2.0' DRUPAL_TESTING_MIN_BUILD: true PHP_VERSION: '7.4' - RUN: 3 DRUPAL_TESTING_COMPOSER_PROJECT: 'thunder/thunder-project' - DRUPAL_TESTING_DRUPAL_VERSION: '~9.2.0' + DRUPAL_TESTING_DRUPAL_VERSION: '~9.3.0' PHP_VERSION: '7.4' - RUN: 4 - DRUPAL_TESTING_DRUPAL_VERSION: '~9.2' + DRUPAL_TESTING_DRUPAL_VERSION: '~9.3' PHP_VERSION: '8.0' steps: diff --git a/lib/stages/coding_style.sh b/lib/stages/coding_style.sh index b29c73b..3b98bc3 100644 --- a/lib/stages/coding_style.sh +++ b/lib/stages/coding_style.sh @@ -18,7 +18,6 @@ _stage_coding_style() { __test_php_coding_styles() { printf "Checking php coding styles\n\n" - phpcs --config-set installed_paths ../../drupal/coder/coder_sniffer phpcs -ps --standard=Drupal --extensions=php,module,inc,install,test,profile,theme --ignore="${DRUPAL_TESTING_PHPCS_IGNORE_PATTERN}" . phpcs -ps --standard=DrupalPractice --extensions=php,module,inc,install,test,profile,theme --ignore="${DRUPAL_TESTING_PHPCS_IGNORE_PATTERN}" . }