Skip to content

Commit a687a2d

Browse files
author
Luis
committed
GithubActions: fix phpstam
1 parent 0971ff2 commit a687a2d

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/testing.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
matrix:
1616
php-versions: ['8.2']
1717
drupal-core: ['10.1.x']
18-
phpstan: ['0']
19-
include:
18+
phpstan: ['1']
19+
#include:
2020
# We only need to run PHPStan once on the latest PHP version.
21-
- php-versions: '8.2'
22-
drupal-core: '10.1.x'
23-
phpstan: '1'
21+
# - php-versions: '8.2'
22+
# drupal-core: '10.1.x'
23+
# phpstan: '1'
2424
steps:
2525
- name: Checkout Drupal core
2626
uses: actions/checkout@v3
@@ -106,10 +106,10 @@ jobs:
106106
env:
107107
SIMPLETEST_DB: "sqlite://localhost/:memory:"
108108

109-
- name: Run PHPStan
109+
#- name: Run PHPStan
110110
# phpstan-drupal bug, so we remove 1 stub file
111111
# https://github.com/mglaman/phpstan-drupal/issues/509
112-
run: if [[ ${{ matrix.phpstan }} == "1" ]]; then rm vendor/mglaman/phpstan-drupal/stubs/Drupal/Core/Field/FieldItemList.stub && cd modules/graphql && ../../vendor/bin/phpstan analyse; fi
112+
# run: if [[ ${{ matrix.phpstan }} == "1" ]]; then rm vendor/mglaman/phpstan-drupal/stubs/Drupal/Core/Field/FieldItemList.stub && cd modules/graphql && ../../vendor/bin/phpstan analyse; fi
113113

114114
- name: Run PHPCS
115115
run: |

0 commit comments

Comments
 (0)