Skip to content

Commit 88b84a5

Browse files
Remove deprecated options composer.json. (#8)
1 parent b6bd767 commit 88b84a5

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

.github/workflows/build.yml

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
phpunit:
2626
uses: php-forge/actions/.github/workflows/phpunit.yml@main
2727
with:
28+
composer-command: |
29+
composer require yiisoft/yii2:^2.2.x-dev --prefer-dist --no-progress --no-interaction --no-scripts --ansi
2830
os: >-
2931
['ubuntu-latest', 'windows-latest']
3032
php: >-

.github/workflows/compatibility.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ jobs:
2626
uses: php-forge/actions/.github/workflows/phpunit.yml@main
2727
with:
2828
composer-command: |
29-
composer require yiisoft/yii2:^2.0.49 --prefer-dist --no-progress --no-suggest --no-interaction --no-scripts --ansi
30-
29+
composer require yiisoft/yii2:^2.0.49 --prefer-dist --no-progress --no-interaction --no-scripts --ansi
3130
extensions: intl
3231
os: >-
3332
['ubuntu-latest', 'windows-latest']

.github/workflows/dependency-check.yml

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
composer-require-checker:
2828
uses: php-forge/actions/.github/workflows/composer-require-checker.yml@main
2929
with:
30+
composer-command: |
31+
composer require yiisoft/yii2:^2.2.x-dev --prefer-dist --no-progress --no-interaction --no-scripts --ansi
3032
os: >-
3133
['ubuntu-latest']
3234
php: >-

.github/workflows/static.yml

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
psalm:
2626
uses: php-forge/actions/.github/workflows/phpstan.yml@main
2727
with:
28+
composer-command: |
29+
composer require yiisoft/yii2:^2.2.x-dev --prefer-dist --no-progress --no-interaction --no-scripts --ansi
2830
os: >-
2931
['ubuntu-latest']
3032
php: >-

0 commit comments

Comments
 (0)