From ef0cc14c9d69b8356d56e96ae9f1a02e125a768a Mon Sep 17 00:00:00 2001 From: Joris Slagter Date: Tue, 2 Dec 2025 19:48:52 +0100 Subject: [PATCH] Fix: Use PHP 8.1 compatible composer image for CI/CD Updated Drone CI pipeline to use composer:2.2 (PHP 8.1) and added --ignore-platform-reqs flag to handle legacy dependency locks. This resolves the PHP version mismatch error in the test step. --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4c7009c..f67dbe8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,9 +5,9 @@ name: default steps: # Step 1: Install dependencies and run tests - name: test - image: composer:2 + image: composer:2.2 commands: - - composer install --prefer-dist --no-progress --no-interaction + - composer install --prefer-dist --no-progress --no-interaction --ignore-platform-reqs - composer validate --strict - echo "✓ Composer validation passed" # Uncomment when tests are ready: