@@ -56,7 +56,7 @@ |
||
56 | 56 | public function __invoke() |
57 | 57 | { |
58 | 58 | return array_map( |
59 | - function ($directoryOrFile) { |
|
59 | + function($directoryOrFile) { |
|
60 | 60 | return Finder::create() |
61 | 61 | ->files() |
62 | 62 | ->in($this->getDirectory($directoryOrFile)) |
@@ -51,7 +51,7 @@ |
||
51 | 51 | $matches |
52 | 52 | ); |
53 | 53 | |
54 | - if (! $didMatch) { |
|
54 | + if (!$didMatch) { |
|
55 | 55 | // In case of not have any regexp to match |
56 | 56 | // just return true |
57 | 57 | return true; |
@@ -59,7 +59,7 @@ |
||
59 | 59 | /* @var $file \Symfony\Component\Finder\SplFileInfo */ |
60 | 60 | foreach ($finder as $directory) { |
61 | 61 | foreach ($directory as $file) { |
62 | - if (! $this->docIsCompatible($validator, $file->getContents())) { |
|
62 | + if (!$this->docIsCompatible($validator, $file->getContents())) { |
|
63 | 63 | defined('FAILED') ?: define('FAILED', 1); |
64 | 64 | $output->writeln('-> ' . $file->getRelativePathname()); |
65 | 65 | } |