Try and fix phpstan
parent
e046523631
commit
c0b0149040
|
@ -46,12 +46,10 @@ jobs:
|
||||||
key: "php-${{ matrix.php-version }}-symfony-php-unit-version-${{ env.SYMFONY_PHPUNIT_VERSION }}-${{ hashFiles('**/composer.lock') }}"
|
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 }}"
|
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"
|
- name: "Install highest dependencies from composer.json using composer binary provided by system"
|
||||||
run: "composer install ${{ env.COMPOSER_FLAGS }}"
|
run: "composer config platform --unset && composer update ${{ env.COMPOSER_FLAGS }}"
|
||||||
|
|
||||||
- name: Run PHPStan
|
- name: Run PHPStan
|
||||||
run: |
|
run: |
|
||||||
bin/composer config platform --unset
|
bin/composer require --dev phpstan/phpstan:^0.12 phpunit/phpunit:^7.5 --with-all-dependencies
|
||||||
bin/composer require --dev phpstan/phpstan:^0.12 phpunit/phpunit:^7.5 --no-update
|
|
||||||
bin/composer update phpstan/* phpunit/* sebastian/* --with-all-dependencies
|
|
||||||
vendor/bin/phpstan analyse --configuration=phpstan/config.neon
|
vendor/bin/phpstan analyse --configuration=phpstan/config.neon
|
||||||
|
|
Loading…
Reference in New Issue