allow plugin in composer.json
This commit is contained in:
parent
de22469954
commit
2bf6b6dd2c
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -32,9 +32,7 @@ jobs:
|
|||||||
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
|
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
|
||||||
restore-keys: ${{ runner.os }}-composer-
|
restore-keys: ${{ runner.os }}-composer-
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: composer update $DEFAULT_COMPOSER_FLAGS
|
||||||
composer config --no-plugins allow-plugins.yiisoft/yii2-composer true
|
|
||||||
composer update $DEFAULT_COMPOSER_FLAGS
|
|
||||||
- name: Run unit tests with coverage
|
- name: Run unit tests with coverage
|
||||||
run: vendor/bin/phpunit --verbose --coverage-clover=coverage.clover --colors=always
|
run: vendor/bin/phpunit --verbose --coverage-clover=coverage.clover --colors=always
|
||||||
if: matrix.php == '7.4'
|
if: matrix.php == '7.4'
|
||||||
|
@ -37,6 +37,11 @@
|
|||||||
"suggest": {
|
"suggest": {
|
||||||
"twbs/bootstrap-icons": "Add this package to the `require` section of your `composer.json` if you'd like to use the bootstrap icon asset."
|
"twbs/bootstrap-icons": "Add this package to the `require` section of your `composer.json` if you'd like to use the bootstrap icon asset."
|
||||||
},
|
},
|
||||||
|
"config": {
|
||||||
|
"allow-plugins": {
|
||||||
|
"yiisoft/yii2-composer": true
|
||||||
|
}
|
||||||
|
},
|
||||||
"repositories": [
|
"repositories": [
|
||||||
{
|
{
|
||||||
"type": "composer",
|
"type": "composer",
|
||||||
|
Loading…
Reference in New Issue
Block a user