@@ -68,7 +68,7 @@ |
||
| 68 | 68 | public function __invoke() |
| 69 | 69 | { |
| 70 | 70 | return array_map( |
| 71 | - function ($directoryOrFile) { |
|
| 71 | + function($directoryOrFile) { |
|
| 72 | 72 | $finder = Finder::create() |
| 73 | 73 | ->files() |
| 74 | 74 | ->ignoreDotFiles(true) |
@@ -77,7 +77,7 @@ |
||
| 77 | 77 | /* @var $file \Symfony\Component\Finder\SplFileInfo */ |
| 78 | 78 | foreach ($finder as $dir) { |
| 79 | 79 | foreach ($dir as $file) { |
| 80 | - if (! $this->docIsCompatible($validator, $file->getContents())) { |
|
| 80 | + if (!$this->docIsCompatible($validator, $file->getContents())) { |
|
| 81 | 81 | defined('FAILED') ?: define('FAILED', 1); |
| 82 | 82 | $output->writeln('-> ' . $file->getRelativePathname()); |
| 83 | 83 | } |