Skip to content

Commit 0b428ad

Browse files
committed
Fix CI
1 parent 28bc3db commit 0b428ad

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@
4141
"psr-4": { "League\\Bundle\\OAuth2ServerBundle\\Tests\\": "tests/" }
4242
},
4343
"config": {
44-
"sort-packages": true
44+
"sort-packages": true,
45+
"allow-plugins": {
46+
"bamarni/composer-bin-plugin": true
47+
}
4548
},
4649
"extra": {
4750
"branch-alias": {

dev/docker/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/app/bin -
4848
RUN useradd -ms /bin/sh app
4949

5050
# Composer bin plugin
51-
RUN su-exec app composer global require --dev bamarni/composer-bin-plugin
51+
RUN su-exec app composer global config --no-interaction allow-plugins.bamarni/composer-bin-plugin true \
52+
&& su-exec app composer global config --no-interaction allow-plugins.symfony/flex true \
53+
&& su-exec app composer global require --dev bamarni/composer-bin-plugin
5254

5355
# PHP-CS-Fixer
5456
RUN su-exec app composer global bin php-cs-fixer require --dev friendsofphp/php-cs-fixer \

0 commit comments

Comments
 (0)