Skip to content

Commit dd79d5e

Browse files
committed
fix: stop overriding Composer platform.php to 8.4 in CI
Symfony 8.1 requires PHP >=8.4.1; platform.php "8.4" resolves as 8.4.0 and breaks the Symfony 8 matrix install on PHP 8.4/8.5 runners.
1 parent 4ce65e2 commit dd79d5e

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,8 @@ jobs:
7171
${{ runner.os }}-php-${{ matrix.php }}-symfony-${{ matrix.symfony }}-composer-
7272
${{ runner.os }}-php-${{ matrix.php }}-composer-
7373
74-
- name: Override platform for Symfony 8 (requires PHP 8.4+)
75-
if: startsWith(matrix.symfony, '8.')
76-
run: composer config platform.php 8.4
74+
# Do not set platform.php to "8.4" — Composer treats it as 8.4.0, but Symfony 8.1 requires >=8.4.1.
75+
# Matrix already runs Symfony 8 only on PHP 8.4 / 8.5 via setup-php.
7776

7877
- name: Install dependencies with Symfony ${{ matrix.symfony }}
7978
run: |

docs/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
66

77
## [Unreleased]
88

9+
### Fixed
10+
11+
- CI: remove `composer config platform.php 8.4` for Symfony 8 jobs (Composer treats `8.4` as `8.4.0`, which fails Symfony 8.1’s `php >=8.4.1` requirement).
12+
913
## [1.0.4] - 2026-07-20
1014

1115
### Added

0 commit comments

Comments
 (0)