Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Returns wrong hinted "command" in output when called via Symfony CLI #1235

Closed
magikid opened this issue Nov 14, 2022 · 2 comments
Closed

Returns wrong hinted "command" in output when called via Symfony CLI #1235

magikid opened this issue Nov 14, 2022 · 2 comments
Labels
Status: Reviewed Has been reviewed by a maintainer

Comments

@magikid
Copy link

magikid commented Nov 14, 2022

This is related to symfony/symfony#46705.

When running symfony make:migration, the output shows that you should next run php bin/console doctrine:migrations:migrate even though the user used symfony and not php bin/console. The bundle should detect which was used by the user and return that one in the output.

@jrushlow
Copy link
Collaborator

Howdy!

Unfortunately we don't have a way to determine if the user typed in symfony make:migration or php bin/console..... since symfony make:migration ultimately calls bin/console doctrine:migration:migrate.

Cheers!

@jrushlow jrushlow closed this as not planned Won't fix, can't repro, duplicate, stale Nov 17, 2022
@jrushlow
Copy link
Collaborator

This will now be possible in the next feature release of the Symfony Binary (5.5+)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Reviewed Has been reviewed by a maintainer
Projects
None yet
Development

No branches or pull requests

2 participants