Skip to content

Commit 9c82e5a

Browse files
committed
Fix compatibility with phpstan 1.x
1 parent 0b19004 commit 9c82e5a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/static-analysis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ jobs:
2929
composer require phpstan/phpstan --dev --no-update
3030
composer install --prefer-dist --no-progress
3131
32+
- name: Fix compatibility with phpstan 1.x
33+
if: ${{ matrix.php == '7.2' || matrix.php == '7.3' }}
34+
run: |
35+
head -n -12 phpstan.neon
36+
3237
- name: Run PHPStan
3338
run: |
3439
php vendor/bin/phpstan.phar --version

0 commit comments

Comments
 (0)