@@ -89,17 +89,17 @@ discard block |
||
89 | 89 | ->addDefaultsIfNotSet() |
90 | 90 | ->children() |
91 | 91 | ->arrayNode('directories') |
92 | - ->useAttributeAsKey('name') |
|
93 | - ->normalizeKeys(false) |
|
94 | - ->prototype('array') |
|
95 | - ->children() |
|
96 | - ->scalarNode('prefix')->defaultValue('')->end() |
|
97 | - ->scalarNode('suffix')->defaultValue('.php')->end() |
|
98 | - ->end() |
|
99 | - ->end() |
|
92 | + ->useAttributeAsKey('name') |
|
93 | + ->normalizeKeys(false) |
|
94 | + ->prototype('array') |
|
95 | + ->children() |
|
96 | + ->scalarNode('prefix')->defaultValue('')->end() |
|
97 | + ->scalarNode('suffix')->defaultValue('.php')->end() |
|
98 | + ->end() |
|
99 | + ->end() |
|
100 | 100 | ->end() |
101 | 101 | ->arrayNode('files') |
102 | - ->prototype('scalar')->end() |
|
102 | + ->prototype('scalar')->end() |
|
103 | 103 | ->end() |
104 | 104 | ->end() |
105 | 105 | ->end() |
@@ -107,17 +107,17 @@ discard block |
||
107 | 107 | ->addDefaultsIfNotSet() |
108 | 108 | ->children() |
109 | 109 | ->arrayNode('directories') |
110 | - ->useAttributeAsKey('name') |
|
111 | - ->normalizeKeys(false) |
|
112 | - ->prototype('array') |
|
113 | - ->children() |
|
114 | - ->scalarNode('prefix')->defaultValue('')->end() |
|
115 | - ->scalarNode('suffix')->defaultValue('.php')->end() |
|
116 | - ->end() |
|
117 | - ->end() |
|
110 | + ->useAttributeAsKey('name') |
|
111 | + ->normalizeKeys(false) |
|
112 | + ->prototype('array') |
|
113 | + ->children() |
|
114 | + ->scalarNode('prefix')->defaultValue('')->end() |
|
115 | + ->scalarNode('suffix')->defaultValue('.php')->end() |
|
116 | + ->end() |
|
117 | + ->end() |
|
118 | 118 | ->end() |
119 | 119 | ->arrayNode('files') |
120 | - ->prototype('scalar')->end() |
|
120 | + ->prototype('scalar')->end() |
|
121 | 121 | ->end() |
122 | 122 | ->end() |
123 | 123 | ->end() |
@@ -223,19 +223,19 @@ |
||
223 | 223 | $filter = $container->getDefinition(Filter::class); |
224 | 224 | $config = $container->getParameter('behat.code_coverage.config.filter'); |
225 | 225 | |
226 | - array_walk($config['include']['directories'], static function ($dir, $path, $filter): void { |
|
226 | + array_walk($config['include']['directories'], static function($dir, $path, $filter): void { |
|
227 | 227 | $filter->addMethodCall('includeDirectory', [$path, $dir['suffix'], $dir['prefix']]); |
228 | 228 | }, $filter); |
229 | 229 | |
230 | - array_walk($config['include']['files'], static function ($file, $key, $filter): void { |
|
230 | + array_walk($config['include']['files'], static function($file, $key, $filter): void { |
|
231 | 231 | $filter->addMethodCall('includeFile', [$file]); |
232 | 232 | }, $filter); |
233 | 233 | |
234 | - array_walk($config['exclude']['directories'], static function ($dir, $path, $filter): void { |
|
234 | + array_walk($config['exclude']['directories'], static function($dir, $path, $filter): void { |
|
235 | 235 | $filter->addMethodCall('excludeDirectory', [$path, $dir['suffix'], $dir['prefix']]); |
236 | 236 | }, $filter); |
237 | 237 | |
238 | - array_walk($config['exclude']['files'], static function ($file, $key, $filter): void { |
|
238 | + array_walk($config['exclude']['files'], static function($file, $key, $filter): void { |
|
239 | 239 | $filter->addMethodCall('excludeFile', [$file]); |
240 | 240 | }, $filter); |
241 | 241 | } |