Skip to content

minor: fix SYMFONY_REQUIRE wildcard in the code coverage job - #1165

Open
nikophil wants to merge 1 commit into
zenstruck:2.xfrom
nikophil:fix/ci-symfony-require-wildcard
Open

minor: fix SYMFONY_REQUIRE wildcard in the code coverage job#1165
nikophil wants to merge 1 commit into
zenstruck:2.xfrom
nikophil:fix/ci-symfony-require-wildcard

Conversation

@nikophil

@nikophil nikophil commented Sep 8, 2026

Copy link
Copy Markdown
Member

The code coverage job used SYMFONY_REQUIRE: 8.1.x. Flex rewrites a trailing .x to .x-dev, which matches no symfony/symfony branch, so it silently stops restricting Symfony packages: the job installed symfony/framework-bundle 8.0.15 and symfony/http-kernel 7.4.18 next to 8.1 components (see this run, no "Restricting packages listed in symfony/symfony" line in the install log).

8.1.* is the form Flex understands as a minor, like every other job.

https://claude.ai/code/session_01LwSqtXWbThCqudR6k7C6tK

Flex rewrites "8.1.x" to "8.1.x-dev", which matches no symfony/symfony branch:
it then silently stops restricting Symfony packages, and the job ended up
testing a mix of Symfony versions.

Claude-Session: https://claude.ai/code/session_01LwSqtXWbThCqudR6k7C6tK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant