@@ -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()); |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | $matches |
| 45 | 45 | ); |
| 46 | 46 | |
| 47 | - if (! $didMatch) { |
|
| 47 | + if (!$didMatch) { |
|
| 48 | 48 | return true; |
| 49 | 49 | } |
| 50 | 50 | |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | |
| 55 | 55 | $matchable = str_replace($sentence, $match, $this->pattern); |
| 56 | 56 | |
| 57 | - if (! preg_match('{' . $matchable . '}', $docheader, $m)) { |
|
| 57 | + if (!preg_match('{' . $matchable . '}', $docheader, $m)) { |
|
| 58 | 58 | return false; |
| 59 | 59 | } |
| 60 | 60 | } |