@@ -42,7 +42,7 @@ discard block |
||
| 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 |
||
| 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 | } |