1
0
Fork 0

Bump phpstan and deps

pull/9054/head
Jordi Boggiano 2020-09-11 11:52:54 +02:00
parent 89c4cb8836
commit c2317d59bb
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
2 changed files with 3 additions and 1 deletions

View File

@ -50,6 +50,7 @@ jobs:
run: "composer config platform --unset && composer update ${{ env.COMPOSER_FLAGS }}" run: "composer config platform --unset && composer update ${{ env.COMPOSER_FLAGS }}"
- name: Run PHPStan - name: Run PHPStan
# Locked to phpunit 7.5 here as newer ones have void return types which break inheritance
run: | run: |
bin/composer require --dev phpstan/phpstan:^0.12.42 phpunit/phpunit:^9.3 --with-all-dependencies bin/composer require --dev phpstan/phpstan:^0.12.42 phpunit/phpunit:^7.5.20 --with-all-dependencies
vendor/bin/phpstan analyse --configuration=phpstan/config.neon vendor/bin/phpstan analyse --configuration=phpstan/config.neon

View File

@ -26,6 +26,7 @@ parameters:
# BC with older PHPUnit # BC with older PHPUnit
- '~^Call to an undefined static method Composer\\Test\\PolyfillTestCase::setExpectedException\(\)\.$~' - '~^Call to an undefined static method Composer\\Test\\PolyfillTestCase::setExpectedException\(\)\.$~'
- '~^Call to an undefined method Composer\\Test\\[a-zA-Z0-9\\]+::(assertFileDoesNotExist|assertMatchesRegularExpression)\(\)\.$~'
paths: paths:
- ../src - ../src