@@ -78,7 +78,7 @@ |
||
| 78 | 78 | |
| 79 | 79 | private function docIsNotCompatible($headerValidator, $fileContent) |
| 80 | 80 | { |
| 81 | - return (! $headerValidator->__invoke($fileContent) |
|
| 81 | + return (!$headerValidator->__invoke($fileContent) |
|
| 82 | 82 | && false === strpos($fileContent, $this->header) |
| 83 | 83 | ) || false === strpos($fileContent, $this->header); |
| 84 | 84 | } |
@@ -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; |