From 9c88a38f5fef600a9c74c6b34904c39e5511f5e9 Mon Sep 17 00:00:00 2001 From: Michael Schiemer Date: Fri, 31 Oct 2025 15:41:38 +0100 Subject: [PATCH] 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. --- .gitea/workflows/production-deploy.yml | 4 +++- .gitea/workflows/security-scan.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/production-deploy.yml b/.gitea/workflows/production-deploy.yml index 9f690cb7..7d911ffc 100644 --- a/.gitea/workflows/production-deploy.yml +++ b/.gitea/workflows/production-deploy.yml @@ -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: | diff --git a/.gitea/workflows/security-scan.yml b/.gitea/workflows/security-scan.yml index 3d3b0efd..c6d66cdb 100644 --- a/.gitea/workflows/security-scan.yml +++ b/.gitea/workflows/security-scan.yml @@ -60,7 +60,9 @@ jobs: - name: Install dependencies run: | cd /workspace/repo - composer install --prefer-dist --no-progress --no-dev + # 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 --prefer-dist --no-progress --no-dev --ignore-platform-req=php - name: Save Composer cache run: |