Visitar URL original
[ticket/17658] Modify composer handling in github actions · phpbb/phpbb@1664ad2 · GitHub
Skip to content

Commit 1664ad2

Browse files
committed
[ticket/17658] Modify composer handling in github actions
PHPBB-17658
1 parent 5ce7494 commit 1664ad2

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

‎.github/setup-phpbb.sh‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ cd phpBB
3030
php ../composer.phar install --dev --no-interaction
3131
if [[ "$PHP_VERSION" =~ ^nightly$ || "$PHP_VERSION" =~ ^8 ]]
3232
then
33-
php ../composer.phar config --global audit.block-insecure false \
34-
&& php ../composer.phar remove phpunit/dbunit --dev --update-with-dependencies \
35-
&& php ../composer.phar require symfony/yaml:^4.4 misantron/dbunit:5.2.1 phpunit/phpunit:^9.3 doctrine/instantiator:^1.4 --dev --update-with-all-dependencies --ignore-platform-reqs --no-audit
33+
php ../composer.phar remove phpunit/dbunit --dev --update-with-dependencies \
34+
&& php ../composer.phar require symfony/yaml:^4.4 misantron/dbunit:5.2.1 phpunit/phpunit:^9.3 doctrine/instantiator:^1.4 --dev --update-with-all-dependencies --ignore-platform-reqs --no-security-blocking
3635
fi
3736
cd ..

‎.github/workflows/tests.yml‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -591,9 +591,8 @@ jobs:
591591
cd ${env:GITHUB_WORKSPACE}\phpBB
592592
php ..\composer.phar install
593593
if ("${{ matrix.php }}" -match "^8") {
594-
php ..\composer.phar config --global audit.block-insecure false
595-
php ..\composer.phar remove phpunit/dbunit --dev --update-with-dependencies
596-
php ..\composer.phar require symfony/yaml:^4.4 misantron/dbunit:5.2.1 phpunit/phpunit:^9.3 doctrine/instantiator:^1.4 --dev --update-with-all-dependencies --ignore-platform-reqs --no-audit
594+
php ..\composer.phar remove phpunit/dbunit --dev --update-with-dependencies --no-security-blocking
595+
php ..\composer.phar require symfony/yaml:^4.4 misantron/dbunit:5.2.1 phpunit/phpunit:^9.3 doctrine/instantiator:^1.4 --dev --update-with-all-dependencies --ignore-platform-reqs --no-security-blocking
597596
}
598597
cd ..
599598
- name: Setup database

0 commit comments

Comments
 (0)