Completed
Pull Request — master (#965)
by
unknown
07:36
created
src/N98/Magento/Command/Developer/Ide/PhpStorm2017/MetaCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
                     if (preg_match('/^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*$/', $class)) {
43 43
                         $map .= "            '$classPrefix' instanceof \\$class,\n";
44 44
                     } else {
45
-                        $output->writeln('<warning>Invalid class name <comment>'.$class.'</comment> ignored</warning>');
45
+                        $output->writeln('<warning>Invalid class name <comment>' . $class . '</comment> ignored</warning>');
46 46
                     }
47 47
                 }
48 48
                 $map .= "        ], \n";
@@ -66,8 +66,8 @@  discard block
 block discarded – undo
66 66
                     }
67 67
                 }
68 68
                 $group = str_replace(array(' ', '/'), '_', $group);
69
-                if (\file_put_contents($this->_magentoRootFolder . '/.phpstorm.meta.php/magento_'.$group.'.meta.php', $map)) {
70
-                    $output->writeln('<info>File <comment>.phpstorm.meta.php/magento_'.$group.'.meta.php</comment> generated</info>');
69
+                if (\file_put_contents($this->_magentoRootFolder . '/.phpstorm.meta.php/magento_' . $group . '.meta.php', $map)) {
70
+                    $output->writeln('<info>File <comment>.phpstorm.meta.php/magento_' . $group . '.meta.php</comment> generated</info>');
71 71
                 }
72 72
             }
73 73
         }
Please login to merge, or discard this patch.