EE-282: Let the Symfony 3 and 4 jobs install with current Composer - #11
Merged
mSprunskas merged 2 commits intoSep 25, 2026
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
mSprunskas
approved these changes
Sep 25, 2026
7 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This adds one step to the workflow and changes nothing else. It is split out of #10 so that it can be merged first.
The Symfony 7 jobs stay in #10, because they need its
composer.jsonchange.Why
Composer 2.9 and later refuse to install a package release that has a published security advisory. The last Symfony
3.4 and 4.4 releases of several components the tests install have one, and so do the Symfony 6.0 releases PHP 8.0
installs and the PHPUnit 6.5 release PHP 7.2 installs. On master, 18 of the workflow's 36 jobs therefore fail at
install.
Changes
.github/workflows/ci.yml: a step that runscomposer config policy.advisories.block falsebefore the install, onevery job except PHP 7.0 and 7.1. The setting exists from Composer 2.10, which setup-php installs on PHP 7.2 and
later; PHP 7.0 and 7.1 get Composer 2.2, which does not block advisories and does not know the setting. It only
affects the test install.
Test plan
with Symfony 5, and PHP 8.0 with Symfony 6.