diff --git a/src/Command/Generate/GridCommand.php b/src/Command/Generate/GridCommand.php index d58b0f2..ca570c2 100644 --- a/src/Command/Generate/GridCommand.php +++ b/src/Command/Generate/GridCommand.php @@ -66,7 +66,7 @@ protected function execute(InputInterface $input, OutputInterface $output) if (!$this->getApplication()->isModelExists($model)) { throw new InputException( - "Model $model is not exist, ". + "Model $model is not exist, " . "run command bluzman generate:model $model before" ); } @@ -76,7 +76,7 @@ protected function execute(InputInterface $input, OutputInterface $output) if (!$this->getApplication()->isModuleExists($module)) { throw new InputException( - "Module $module is not exist, ". + "Module $module is not exist, " . "run command bluzman generate:module $module before" ); } diff --git a/src/Command/Generate/ModuleCommand.php b/src/Command/Generate/ModuleCommand.php index 968b71c..69dfdb6 100644 --- a/src/Command/Generate/ModuleCommand.php +++ b/src/Command/Generate/ModuleCommand.php @@ -38,7 +38,7 @@ protected function configure() $controller = new InputArgument( 'controller', - InputArgument::OPTIONAL|InputArgument::IS_ARRAY, + InputArgument::OPTIONAL | InputArgument::IS_ARRAY, 'Controller name(s)' ); diff --git a/src/Command/Generate/RestCommand.php b/src/Command/Generate/RestCommand.php index 1952caf..afcb384 100644 --- a/src/Command/Generate/RestCommand.php +++ b/src/Command/Generate/RestCommand.php @@ -52,15 +52,15 @@ protected function execute(InputInterface $input, OutputInterface $output) if (!$this->getApplication()->isModelExists($model)) { throw new InputException( - "Model $model is not exist, ". + "Model $model is not exist, " . "run command bluzman generate:model $model before" ); } - $crudPath = $this->getApplication()->getModelPath($model) .DS. 'Crud.php'; + $crudPath = $this->getApplication()->getModelPath($model) . DS . 'Crud.php'; if (!is_file($crudPath)) { throw new InputException( - "CRUD for $model is not exist, ". + "CRUD for $model is not exist, " . "run command bluzman generate:crud $model before" ); } @@ -70,7 +70,7 @@ protected function execute(InputInterface $input, OutputInterface $output) if (!$this->getApplication()->isModuleExists($module)) { throw new InputException( - "Module $module is not exist, ". + "Module $module is not exist, " . "run command bluzman generate:module $module before" ); }