From 1411c2b166fbc93831d88c8b4d0dafb133f00f3e Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Sun, 6 Sep 2026 21:00:27 +0200 Subject: [PATCH 1/2] [GHA] Updated GitHub Actions workflows to latest versions and standards - Renamed the backend CI workflow to "Backend CI" - Added a bare workflow_dispatch trigger to backend CI - Made composer-install steps state php-version explicitly Co-Authored-By: Claude Fable 5.1 --- .github/workflows/backend-ci.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/backend-ci.yaml b/.github/workflows/backend-ci.yaml index 3938a25..c557978 100644 --- a/.github/workflows/backend-ci.yaml +++ b/.github/workflows/backend-ci.yaml @@ -1,10 +1,11 @@ -name: CI +name: Backend CI on: push: branches: - '[0-9]+.[0-9]+' pull_request: ~ + workflow_dispatch: ~ jobs: cs-fix: @@ -19,6 +20,7 @@ jobs: - uses: ibexa/gh-workflows/actions/composer-install@main with: + php-version: ${{ matrix.php }} gh-client-id: ${{ secrets.AUTOMATION_CLIENT_ID }} gh-client-secret: ${{ secrets.AUTOMATION_CLIENT_SECRET }} @@ -46,6 +48,7 @@ jobs: - uses: ibexa/gh-workflows/actions/composer-install@main with: + php-version: ${{ matrix.php }} gh-client-id: ${{ secrets.AUTOMATION_CLIENT_ID }} gh-client-secret: ${{ secrets.AUTOMATION_CLIENT_SECRET }} From 48120cc5d1528dac734ee53dbb3402af991f8465 Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Sun, 6 Sep 2026 21:13:42 +0200 Subject: [PATCH 2/2] [Composer] Added conflict with phpstan/phpstan 2.2.13 phpstan 2.2.13 (2026-09-03) makes the PHP 7.4 analysis die with "Cannot redeclare Ibexa\PolyfillPhp82\iterator_to_array()" in its parallel workers (phpstan/phpstan#15184). 2.2.12 is fine. --- composer.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/composer.json b/composer.json index f0e2feb..4406c33 100644 --- a/composer.json +++ b/composer.json @@ -28,6 +28,9 @@ "phpunit/phpunit": "^9", "symfony/phpunit-bridge": "^5.4" }, + "conflict": { + "phpstan/phpstan": "2.2.13" + }, "autoload": { "psr-4": { "Ibexa\\Bundle\\Test\\Core\\": "src/bundle/",