@@ -51,7 +51,7 @@ |
||
51 | 51 | $matches |
52 | 52 | ); |
53 | 53 | |
54 | - if (! $didMatch) { |
|
54 | + if (!$didMatch) { |
|
55 | 55 | return false; |
56 | 56 | } |
57 | 57 |
@@ -38,7 +38,7 @@ |
||
38 | 38 | $pathOrFile .= DIRECTORY_SEPARATOR . '.docheader'; |
39 | 39 | } |
40 | 40 | |
41 | - if (! is_file($pathOrFile)) { |
|
41 | + if (!is_file($pathOrFile)) { |
|
42 | 42 | throw DocHeaderFileConfiguration::notFound($pathOrFile); |
43 | 43 | } |
44 | 44 |
@@ -85,7 +85,7 @@ |
||
85 | 85 | * |
86 | 86 | * @return Finder |
87 | 87 | */ |
88 | - function ($directoryOrFile) { |
|
88 | + function($directoryOrFile) { |
|
89 | 89 | $finder = Finder::create() |
90 | 90 | ->files() |
91 | 91 | ->ignoreDotFiles(true) |
@@ -97,7 +97,7 @@ |
||
97 | 97 | } |
98 | 98 | } |
99 | 99 | |
100 | - if (! $success) { |
|
100 | + if (!$success) { |
|
101 | 101 | $output->writeln(''); |
102 | 102 | $output->writeln('<bg=red;fg=white> Something goes wrong! </>'); |
103 | 103 |
@@ -39,7 +39,7 @@ |
||
39 | 39 | |
40 | 40 | public function apply() : string |
41 | 41 | { |
42 | - $applyFilters = static function (string $docheader, string $filter) : string { |
|
42 | + $applyFilters = static function(string $docheader, string $filter) : string { |
|
43 | 43 | /** @psalm-var class-string<Filter> $filter */ |
44 | 44 | return (string) (new $filter())->__invoke($docheader); |
45 | 45 | }; |