Separate CI steps (#10226)
parent
1ba1463013
commit
e89459d964
|
@ -49,8 +49,9 @@ jobs:
|
||||||
- name: "Install highest dependencies from composer.json using composer binary provided by system"
|
- name: "Install highest dependencies from composer.json using composer binary provided by system"
|
||||||
run: "composer config platform --unset && composer update ${{ env.COMPOSER_FLAGS }}"
|
run: "composer config platform --unset && composer update ${{ env.COMPOSER_FLAGS }}"
|
||||||
|
|
||||||
- name: Run PHPStan
|
- name: "Install PHPStan"
|
||||||
# Locked to phpunit 7.5 here as newer ones have void return types which break inheritance
|
# 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.93 phpstan/phpstan-phpunit:^0.12.17 phpunit/phpunit:^7.5.20 --with-all-dependencies ${{ env.COMPOSER_FLAGS }}"
|
||||||
bin/composer require --dev phpstan/phpstan:^0.12.93 phpstan/phpstan-phpunit:^0.12.17 phpunit/phpunit:^7.5.20 --with-all-dependencies ${{ env.COMPOSER_FLAGS }}
|
|
||||||
vendor/bin/phpstan analyse --configuration=phpstan/config.neon
|
- name: "Run PHPStan"
|
||||||
|
run: "vendor/bin/phpstan analyse --configuration=phpstan/config.neon"
|
||||||
|
|
Loading…
Reference in New Issue