From c81e79d5adf6869cc408d2052367264e175dd283 Mon Sep 17 00:00:00 2001 From: Wilmer Arambula Date: Sun, 19 Nov 2023 11:19:54 -0300 Subject: [PATCH] Remove deprecated options `composer.json`. --- .github/workflows/build.yml | 2 ++ .github/workflows/compatibility.yml | 3 +-- .github/workflows/dependency-check.yml | 2 ++ .github/workflows/static.yml | 2 ++ 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3291219..8e18eee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,6 +25,8 @@ jobs: phpunit: uses: php-forge/actions/.github/workflows/phpunit.yml@main with: + composer-command: | + composer require yiisoft/yii2:^2.2.x-dev --prefer-dist --no-progress --no-interaction --no-scripts --ansi os: >- ['ubuntu-latest', 'windows-latest'] php: >- diff --git a/.github/workflows/compatibility.yml b/.github/workflows/compatibility.yml index 1e63dac..438ac54 100644 --- a/.github/workflows/compatibility.yml +++ b/.github/workflows/compatibility.yml @@ -26,8 +26,7 @@ jobs: uses: php-forge/actions/.github/workflows/phpunit.yml@main with: composer-command: | - composer require yiisoft/yii2:^2.0.49 --prefer-dist --no-progress --no-suggest --no-interaction --no-scripts --ansi - + composer require yiisoft/yii2:^2.0.49 --prefer-dist --no-progress --no-interaction --no-scripts --ansi extensions: intl os: >- ['ubuntu-latest', 'windows-latest'] diff --git a/.github/workflows/dependency-check.yml b/.github/workflows/dependency-check.yml index c649354..6ad212e 100644 --- a/.github/workflows/dependency-check.yml +++ b/.github/workflows/dependency-check.yml @@ -27,6 +27,8 @@ jobs: composer-require-checker: uses: php-forge/actions/.github/workflows/composer-require-checker.yml@main with: + composer-command: | + composer require yiisoft/yii2:^2.2.x-dev --prefer-dist --no-progress --no-interaction --no-scripts --ansi os: >- ['ubuntu-latest'] php: >- diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index c8974c7..48e9614 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -25,6 +25,8 @@ jobs: psalm: uses: php-forge/actions/.github/workflows/phpstan.yml@main with: + composer-command: | + composer require yiisoft/yii2:^2.2.x-dev --prefer-dist --no-progress --no-interaction --no-scripts --ansi os: >- ['ubuntu-latest'] php: >-