Fix: Use PHP 8.1 compatible composer image for CI/CD
Some checks failed
continuous-integration/drone/push Build is failing

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.
This commit is contained in:
Joris Slagter
2025-12-02 19:48:52 +01:00
parent e307885faf
commit ef0cc14c9d

View File

@@ -5,9 +5,9 @@ name: default
steps: steps:
# Step 1: Install dependencies and run tests # Step 1: Install dependencies and run tests
- name: test - name: test
image: composer:2 image: composer:2.2
commands: commands:
- composer install --prefer-dist --no-progress --no-interaction - composer install --prefer-dist --no-progress --no-interaction --ignore-platform-reqs
- composer validate --strict - composer validate --strict
- echo "✓ Composer validation passed" - echo "✓ Composer validation passed"
# Uncomment when tests are ready: # Uncomment when tests are ready: