From 4a57aacddeb61730e7e0db8172b0b6eb8e17e05e Mon Sep 17 00:00:00 2001 From: Joris Slagter Date: Tue, 2 Dec 2025 19:58:56 +0100 Subject: [PATCH] Fix: Use PHP 7.4 (composer:2.0) for Laravel 7.x compatibility - Changed from composer:2.2 (PHP 8.1) to composer:2.0 (PHP 7.4) - Removed --ignore-platform-reqs flag as it's no longer needed - PHP 7.4 is fully compatible with Laravel 7.x without deprecation warnings - This fixes the 'artisan package:discover' error caused by PHP 8.1 strict typing --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index f67dbe8..9d41b43 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.2 + image: composer:2.0 commands: - - composer install --prefer-dist --no-progress --no-interaction --ignore-platform-reqs + - composer install --prefer-dist --no-progress --no-interaction - composer validate --strict - echo "✓ Composer validation passed" # Uncomment when tests are ready: