From 1a1f96be498e388024582ab2925ddd8d5abe38b8 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 25 Mar 2025 13:51:59 +0100 Subject: [PATCH] php: Install the same vendor dependencies for all php versions --- .github/workflows/php.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 93bd4bde9..79e9e53f4 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -100,7 +100,9 @@ jobs: - name: Setup dependencies run: | - composer require -n --no-progress mockery/mockery ipl/i18n:@dev ipl/web:@dev + composer init -n --require mockery/mockery:* --require ipl/i18n:@dev --require ipl/web:@dev + composer config platform.php 7.2.9 + composer install -n --no-progress git clone --depth 1 --branch snapshot/nightly https://github.com/Icinga/icinga-php-thirdparty.git vendor/icinga-php-thirdparty - name: PHPUnit