@@ -52,8 +52,8 @@ discard block |
||
52 | 52 | * @param SplFileInfo $file |
53 | 53 | * @return bool |
54 | 54 | */ |
55 | - $filter = function (SplFileInfo $file) { |
|
56 | - if (!in_array($file->getExtension(), ['yml','json']) || $file->isDir()) { |
|
55 | + $filter = function(SplFileInfo $file) { |
|
56 | + if (!in_array($file->getExtension(), ['yml', 'json']) || $file->isDir()) { |
|
57 | 57 | return false; |
58 | 58 | } |
59 | 59 | return true; |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | try { |
65 | 65 | $this->doImport($finder, $input, $output); |
66 | 66 | } catch (MissingTargetException $e) { |
67 | - $output->writeln('<error>' . $e->getMessage() . '</error>'); |
|
67 | + $output->writeln('<error>'.$e->getMessage().'</error>'); |
|
68 | 68 | } |
69 | 69 | } |
70 | 70 |