Temporary workaround: ignore PHP 8.5 platform requirement in composer install

Until dependencies (pestphp/pest, brianium/paratest) officially support PHP 8.5,
we use --ignore-platform-req=php to bypass platform checks.
This should be removed in approximately 1 month when dependencies are updated.
This commit is contained in:
2025-10-31 15:41:38 +01:00
parent 2fd815b94d
commit 9c88a38f5f
2 changed files with 6 additions and 2 deletions

View File

@@ -56,7 +56,9 @@ jobs:
- name: Install dependencies
run: |
cd /workspace/repo
composer install --no-interaction --prefer-dist --optimize-autoloader
# TEMPORARY WORKAROUND: Ignore PHP 8.5 platform requirement until dependencies officially support PHP 8.5
# TODO: Remove --ignore-platform-req=php when dependencies are updated (estimated: 1 month)
composer install --no-interaction --prefer-dist --optimize-autoloader --ignore-platform-req=php
- name: Save Composer cache
run: |