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

Organization of Commands/Messages #16642

Merged
merged 9 commits into from
Aug 5, 2024
Next Next commit
[User] Remove deprecated commands
  • Loading branch information
Wojdylak committed Jul 29, 2024
commit 22325a2f41598ca5f3340ea50126ca918d542890
30 changes: 0 additions & 30 deletions src/Sylius/Bundle/UserBundle/Command/AbstractRoleCommand.php

This file was deleted.

30 changes: 0 additions & 30 deletions src/Sylius/Bundle/UserBundle/Command/DemoteUserCommand.php

This file was deleted.

30 changes: 0 additions & 30 deletions src/Sylius/Bundle/UserBundle/Command/PromoteUserCommand.php

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -160,5 +160,3 @@ protected function getUserModelClass(string $userType): string
/** @param array<array-key, string> $securityRoles */
abstract protected function executeRoleCommand(InputInterface $input, OutputInterface $output, UserInterface $user, array $securityRoles): void;
}

class_alias(AbstractRoleCommand::class, \Sylius\Bundle\UserBundle\Command\AbstractRoleCommand::class);
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,3 @@ protected function executeRoleCommand(InputInterface $input, OutputInterface $ou
}
}
}

class_alias(DemoteUserCommand::class, \Sylius\Bundle\UserBundle\Command\DemoteUserCommand::class);
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,3 @@ protected function executeRoleCommand(InputInterface $input, OutputInterface $ou
}
}
}

class_alias(PromoteUserCommand::class, \Sylius\Bundle\UserBundle\Command\PromoteUserCommand::class);