@@ -52,11 +52,11 @@ |
||
| 52 | 52 | if ($username = $input->getArgument('username')) { |
| 53 | 53 | $user = \Mage::getModel('admin/user')->loadByUsername($username); |
| 54 | 54 | if (!$user || !$user->getId()) { |
| 55 | - $output->writeln('<error>Couldn\'t find admin ' . $username . '</error>'); |
|
| 55 | + $output->writeln('<error>Couldn\'t find admin '.$username.'</error>'); |
|
| 56 | 56 | return; |
| 57 | 57 | } |
| 58 | 58 | \Mage::getResourceModel('enterprise_pci/admin_user')->unlock($user->getId()); |
| 59 | - $output->writeln('<info><comment>' . $username . '</comment> unlocked</info>'); |
|
| 59 | + $output->writeln('<info><comment>'.$username.'</comment> unlocked</info>'); |
|
| 60 | 60 | return; |
| 61 | 61 | } |
| 62 | 62 | |
@@ -87,7 +87,7 @@ |
||
| 87 | 87 | ->saveRelations(); |
| 88 | 88 | } |
| 89 | 89 | |
| 90 | - $output->writeln('<info>User <comment>' . $username . '</comment> successfully created</info>'); |
|
| 90 | + $output->writeln('<info>User <comment>'.$username.'</comment> successfully created</info>'); |
|
| 91 | 91 | } |
| 92 | 92 | } |
| 93 | 93 | } |
@@ -68,7 +68,7 @@ |
||
| 68 | 68 | $user->delete(); |
| 69 | 69 | $output->writeln('<info>User was successfully deleted</info>'); |
| 70 | 70 | } catch (Exception $e) { |
| 71 | - $output->writeln('<error>' . $e->getMessage() . '</error>'); |
|
| 71 | + $output->writeln('<error>'.$e->getMessage().'</error>'); |
|
| 72 | 72 | } |
| 73 | 73 | } else { |
| 74 | 74 | $output->writeln('<error>Aborting delete</error>'); |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | 'format', |
| 19 | 19 | null, |
| 20 | 20 | InputOption::VALUE_OPTIONAL, |
| 21 | - 'Output Format. One of [' . implode(',', RendererFactory::getFormats()) . ']' |
|
| 21 | + 'Output Format. One of ['.implode(',', RendererFactory::getFormats()).']' |
|
| 22 | 22 | ) |
| 23 | 23 | ; |
| 24 | 24 | } |
@@ -58,6 +58,6 @@ |
||
| 58 | 58 | $code = \Mage::getModel('enterprise_giftcardaccount/giftcardaccount') |
| 59 | 59 | ->load($id) |
| 60 | 60 | ->getCode(); |
| 61 | - $output->writeln('<info>Gift card <comment>' . $code . '</comment> was created</info>'); |
|
| 61 | + $output->writeln('<info>Gift card <comment>'.$code.'</comment> was created</info>'); |
|
| 62 | 62 | } |
| 63 | 63 | } |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | 'format', |
| 25 | 25 | null, |
| 26 | 26 | InputOption::VALUE_OPTIONAL, |
| 27 | - 'Output Format. One of [' . implode(',', RendererFactory::getFormats()) . ']' |
|
| 27 | + 'Output Format. One of ['.implode(',', RendererFactory::getFormats()).']' |
|
| 28 | 28 | ) |
| 29 | 29 | ->setDescription('Get gift card account information by code'); |
| 30 | 30 | } |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | foreach ($accounts as $account) { |
| 42 | 42 | $id = $account->getId(); |
| 43 | 43 | $account->delete(); |
| 44 | - $output->writeln('<info>Deleted gift card account id <comment>' . $id . '</comment></info>'); |
|
| 44 | + $output->writeln('<info>Deleted gift card account id <comment>'.$id.'</comment></info>'); |
|
| 45 | 45 | } |
| 46 | 46 | } |
| 47 | 47 | } |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | if (strstr(get_class($command), 'Composer\\Command\\')) { |
| 34 | 34 | $io = new ConsoleIO($event->getInput(), $event->getOutput(), $command->getHelperSet()); |
| 35 | 35 | $magentoRootFolder = $command->getApplication()->getMagentoRootFolder(); |
| 36 | - $configFile = $magentoRootFolder . '/composer.json'; |
|
| 36 | + $configFile = $magentoRootFolder.'/composer.json'; |
|
| 37 | 37 | $composer = Factory::create($io, $configFile); |
| 38 | 38 | \chdir($magentoRootFolder); |
| 39 | 39 | $command->setComposer($composer); |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | 'format', |
| 25 | 25 | null, |
| 26 | 26 | InputOption::VALUE_OPTIONAL, |
| 27 | - 'Output Format. One of [' . implode(',', RendererFactory::getFormats()) . ']' |
|
| 27 | + 'Output Format. One of ['.implode(',', RendererFactory::getFormats()).']' |
|
| 28 | 28 | ); |
| 29 | 29 | } |
| 30 | 30 | |