@@ -45,11 +45,11 @@ discard block |
||
45 | 45 | $command->addOption('no-coverage', null, InputOption::VALUE_NONE, 'Skip code coverage generation'); |
46 | 46 | } |
47 | 47 | |
48 | - $container->define('code_coverage.filter', static function () { |
|
48 | + $container->define('code_coverage.filter', static function() { |
|
49 | 49 | return new Filter(); |
50 | 50 | }); |
51 | 51 | |
52 | - $container->define('code_coverage', static function ($container) { |
|
52 | + $container->define('code_coverage', static function($container) { |
|
53 | 53 | try { |
54 | 54 | $coverage = new CodeCoverage(null, $container->get('code_coverage.filter')); |
55 | 55 | } catch (RuntimeException $error) { |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | return $coverage; |
64 | 64 | }); |
65 | 65 | |
66 | - $container->define('code_coverage.options', static function ($container) use ($params) { |
|
66 | + $container->define('code_coverage.options', static function($container) use ($params) { |
|
67 | 67 | $options = !empty($params) ? $params : $container->getParam('code_coverage'); |
68 | 68 | |
69 | 69 | if (!isset($options['format'])) { |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | return $options; |
95 | 95 | }); |
96 | 96 | |
97 | - $container->define('code_coverage.reports', static function ($container) { |
|
97 | + $container->define('code_coverage.reports', static function($container) { |
|
98 | 98 | $options = $container->get('code_coverage.options'); |
99 | 99 | |
100 | 100 | $reports = []; |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | return $reports; |
140 | 140 | }); |
141 | 141 | |
142 | - $container->define('event_dispatcher.listeners.code_coverage', static function ($container) { |
|
142 | + $container->define('event_dispatcher.listeners.code_coverage', static function($container) { |
|
143 | 143 | $skipCoverage = false; |
144 | 144 | $input = $container->get('console.input'); |
145 | 145 |