|
|
|
@ -50,6 +50,7 @@ jobs:
|
|
|
|
|
run: "composer config platform --unset && composer update ${{ env.COMPOSER_FLAGS }}"
|
|
|
|
|
|
|
|
|
|
- name: Run PHPStan
|
|
|
|
|
# Locked to phpunit 7.5 here as newer ones have void return types which break inheritance
|
|
|
|
|
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
|
|
|
|
|