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
Organization of ConsoleCommands/Messages #15730
Organization of ConsoleCommands/Messages #15730
Conversation
Bunnyshell Preview Environment deletedAvailable commands:
|
8a3b47d
to
ba4f18e
Compare
3421380
to
36c999e
Compare
src/Sylius/Bundle/CoreBundle/Console/Command/InformAboutGUSCommand.php
Outdated
Show resolved
Hide resolved
19f97c6
36c999e
to
19f97c6
Compare
I resolved the conflicts 🖖🏻. |
19f97c6
to
7bd9755
Compare
<tag name="console.command" /> | ||
</service> | ||
|
||
<service id="Sylius\Bundle\UserBundle\Command\PromoteUserCommand"> | ||
<service id="Sylius\Bundle\UserBundle\Command\DemoteUserCommand" alias="Sylius\Bundle\UserBundle\Console\Command\DemoteUserCommand" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think adding deprecations to the aliases as well?
https://symfony.com/doc/current/service_container/alias_private.html#deprecating-service-aliases
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The files contain information about deprecation, so I think it is enough.
src/Sylius/Bundle/AdminBundle/Tests/Console/Command/CreateAdminUserCommandTest.php
Show resolved
Hide resolved
Thank you, @Wojdylak! |
All CLI commands → Console/Command
All Message → Command
List of not released clases:
Due to validation issues (e.g., in
src/Sylius/Bundle/ApiBundle/Resources/config/validation/AdminResetPassword.xml
) that do not recognize aliases created on the class, I am unable to move classes from theMessage
,MessageDispatcher
, andMessageHandler
folders. I have only added information in the upgrade file that this change will be made in version 2.0.