Completed
Pull Request — develop (#813)
by Robbie
04:26
created
src/N98/Magento/Command/Admin/User/UnlockCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,11 +52,11 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/N98/Magento/Command/Admin/User/CreateUserCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/N98/Magento/Command/Admin/User/DeleteUserCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
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>');
Please login to merge, or discard this patch.
src/N98/Magento/Command/Admin/User/ListCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/N98/Magento/Command/GiftCard/CreateCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,6 +58,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/N98/Magento/Command/GiftCard/InfoCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/N98/Magento/Command/GiftCard/RemoveCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/N98/Magento/Command/ComposerWrapper/EventSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/N98/Magento/Command/Eav/Attribute/ViewCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.