@@ -46,7 +46,7 @@ |
||
| 46 | 46 | public function applyFilters() |
| 47 | 47 | { |
| 48 | 48 | array_map( |
| 49 | - function ($filterName) { |
|
| 49 | + function($filterName) { |
|
| 50 | 50 | $this->docheader = (new $filterName)->__invoke($this->docheader); |
| 51 | 51 | }, |
| 52 | 52 | $this->defaultFilters |
@@ -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 (! $validator->__invoke($file->getContents()) |
|
| 62 | + if (!$validator->__invoke($file->getContents()) |
|
| 63 | 63 | || false === strpos($file->getContents(), $this->header)) { |
| 64 | 64 | defined('FAILED') ?: define('FAILED', 1); |
| 65 | 65 | $output->writeln('-> ' . $file->getRelativePathname()); |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | $matches |
| 52 | 52 | ); |
| 53 | 53 | |
| 54 | - if (! $didMatch) { |
|
| 54 | + if (!$didMatch) { |
|
| 55 | 55 | return true; |
| 56 | 56 | } |
| 57 | 57 | |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | $matchable = str_replace($sentence, $match, $matchable); |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | - if (! preg_match('{' . $matchable . '}', $docheader, $m)) { |
|
| 67 | + if (!preg_match('{' . $matchable . '}', $docheader, $m)) { |
|
| 68 | 68 | return false; |
| 69 | 69 | } |
| 70 | 70 | |