Skip to content

Commit

Permalink
fix phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
chrfritsch authored Feb 21, 2022
1 parent f47a91b commit eb1f13d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml → .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion lib/stages/coding_style.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}" .
}
Expand Down

0 comments on commit eb1f13d

Please sign in to comment.