From e89459d96462371ace8fc67437b737c1c52be47f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Wed, 27 Oct 2021 14:54:36 +0200 Subject: [PATCH] Separate CI steps (#10226) --- .github/workflows/phpstan.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index e8bac3d51..c90525791 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -49,8 +49,9 @@ jobs: - name: "Install highest dependencies from composer.json using composer binary provided by system" 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 - 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 }} - vendor/bin/phpstan analyse --configuration=phpstan/config.neon + 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 }}" + + - name: "Run PHPStan" + run: "vendor/bin/phpstan analyse --configuration=phpstan/config.neon"