symfony / recipes

Symfony Recipes Repository
https://github.com/symfony/recipes/blob/flex/main/RECIPES.md
MIT License
953 stars 472 forks source link

There are no commands defined in the "recipes" namespace. #1325

Open stephen-swsm opened 4 days ago

stephen-swsm commented 4 days ago

Hi,

Having just upgraded a project from Symfony 4.4 to 6.4 I found an issue when running the CI pipeline where it was not loading the environment vars from .env.test.

Turns out the bin/console command had not been updated during the upgrade process and the fix was to copy the contents from another Symfony 6.4 project and then require symfony/runtime as instructed.

However, it seems the correct way to do this would have been to run recipes:update however it seems this is missing?

Has this been discontinued? As I it is also missing from a project which started off as a Symfony 6.4 project?

Cheers, S.

Ref: https://symfony.com/blog/fast-smart-flex-recipe-upgrades-with-recipes-update