Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add command to services.yaml file (#131)
The symfony console first tries to load the command name [from the service-definition][1], if this fails it loads the command name via the [getDefaultName() method][2], which does not work sometimes. We saw this error lately in our logs: ``` [file /var/www/html/vendor/symfony/console/DependencyInjection/AddConsoleCommandPass.php] [message Uncaught Error: Call to undefined method OxidCommunity\ModuleInternals\Command\ModuleFixCommand::getDefaultName() in /var/www/html/vendor/symfony/console/DependencyInjection/AddConsoleCommandPass.php:61 [...] ``` [1]: https://github.com/symfony/console/blob/v3.4.15/DependencyInjection/AddConsoleCommandPass.php#L47-L53 [2]: https://github.com/symfony/console/blob/v3.4.15/DependencyInjection/AddConsoleCommandPass.php#L61
- Loading branch information