1
0
Fork 0

Try and fix phpstan

pull/8803/head
Jordi Boggiano 2020-04-22 10:33:36 +02:00
parent e046523631
commit c0b0149040
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 3 additions and 5 deletions

View File

@ -46,12 +46,10 @@ jobs:
key: "php-${{ matrix.php-version }}-symfony-php-unit-version-${{ env.SYMFONY_PHPUNIT_VERSION }}-${{ hashFiles('**/composer.lock') }}"
restore-keys: "php-${{ matrix.php-version }}-symfony-php-unit-version-${{ env.SYMFONY_PHPUNIT_VERSION }}"
- name: "Install dependencies from composer.lock using composer binary provided by system"
run: "composer install ${{ env.COMPOSER_FLAGS }}"
- 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
run: |
bin/composer config platform --unset
bin/composer require --dev phpstan/phpstan:^0.12 phpunit/phpunit:^7.5 --no-update
bin/composer update phpstan/* phpunit/* sebastian/* --with-all-dependencies
bin/composer require --dev phpstan/phpstan:^0.12 phpunit/phpunit:^7.5 --with-all-dependencies
vendor/bin/phpstan analyse --configuration=phpstan/config.neon