Skip to content

Commit

Permalink
Merge pull request #368 from ampproject/add/phpstan-version
Browse files Browse the repository at this point in the history
Fix outdated PHPStan version in GHA workflow
  • Loading branch information
schlessera committed Oct 1, 2021
2 parents 579b0e2 + 86c8639 commit b55f5e6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Expand Up @@ -127,7 +127,7 @@ jobs:
with:
php-version: ${{ matrix.php }}
extensions: dom, iconv, json, libxml, zip
tools: composer, cs2pr
tools: composer, cs2pr, phpstan

- name: Get Composer Cache Directory
id: composer-cache
Expand All @@ -145,4 +145,6 @@ jobs:

- name: Static Analysis (PHPStan)
if: ${{ matrix.php != '5.6' && matrix.php != '7.0' }}
run: vendor/bin/phpstan analyse --error-format=checkstyle | cs2pr
run: |
phpstan --version
phpstan analyse --error-format=checkstyle | cs2pr

0 comments on commit b55f5e6

Please sign in to comment.