Description
Hello,
we were trying to update our Composer dependencies of our Symfony 4.4 project this morning and realized, that various Symfony components got updated to their Symfony 5.x version.
After some digging, we found out, that the typical Restricting packages listed in "symfony/symfony" to "4.4.*"
message wasn't displayed any longer. And after digging into the Flex plugin's code, we found the link to the main flex json: https://raw.githubusercontent.com/symfony/recipes/flex/main/index.json
This lead us to this repo, where we found out, that yesterday, the index.json was updated. See: 4058a63
All Symfony 3.x and 4.x splits where removed, which makes composer fallback to the highest version possible.
This can easily be reproduced by calling composer create-project symfony/skeleton:"4.4.*" my_project_directory
: The created project uses a variety of Symfony 5.x components, although its composer.json
restricts them to 4.4.*
.
This makes composer up
unusable without manually restricting every Symfony component to 4.4.*
.
Can someone help? How is this file generated?