Fix: Use composer:1 (PHP 7.4) instead of composer:2.0 (PHP 8.0)
Some checks failed
continuous-integration/drone/push Build is failing

Previous attempt used composer:2.0 which ships with PHP 8.0.6, but Laravel 7.x
requires PHP ^7.2.5. composer:1 provides PHP 7.4 which is the correct version
for this Laravel application.
This commit is contained in:
Joris Slagter
2025-12-02 20:01:40 +01:00
parent 4a57aacdde
commit 5d367a24f3

View File

@@ -5,7 +5,7 @@ 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.0 image: composer:1
commands: commands:
- composer install --prefer-dist --no-progress --no-interaction - composer install --prefer-dist --no-progress --no-interaction
- composer validate --strict - composer validate --strict