@@ -20,7 +20,7 @@ |
||
20 | 20 | */ |
21 | 21 | public function load(array $configs, ContainerBuilder $container) |
22 | 22 | { |
23 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
23 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
24 | 24 | $loader->load('services.yml'); |
25 | 25 | |
26 | 26 | $configuration = new Configuration(); |
@@ -207,7 +207,7 @@ discard block |
||
207 | 207 | $config = $this->getCounterConfig($configName); |
208 | 208 | $patternName = $config['patternName']; |
209 | 209 | |
210 | - $filteredPattern = array_filter($patterns, function ($elem) use ($patternName) { |
|
210 | + $filteredPattern = array_filter($patterns, function($elem) use ($patternName) { |
|
211 | 211 | return $elem['name'] === $patternName; |
212 | 212 | }); |
213 | 213 | |
@@ -227,7 +227,7 @@ discard block |
||
227 | 227 | { |
228 | 228 | $configs = $this->getConfiguration()['counter_configs']; |
229 | 229 | |
230 | - $filteredConfig = array_filter($configs, function ($elem) use ($configName) { |
|
230 | + $filteredConfig = array_filter($configs, function($elem) use ($configName) { |
|
231 | 231 | return $elem['name'] === $configName; |
232 | 232 | }); |
233 | 233 |
@@ -17,7 +17,7 @@ |
||
17 | 17 | |
18 | 18 | public function testPatternResolverContextObject() |
19 | 19 | { |
20 | - $testPattern = 'IN/{' . Tag::YEAR . '}/{' . Tag::NUMBER . '}/{' . Tag::CONTEXT_OBJECT . '}'; |
|
20 | + $testPattern = 'IN/{'.Tag::YEAR.'}/{'.Tag::NUMBER.'}/{'.Tag::CONTEXT_OBJECT.'}'; |
|
21 | 21 | $randNumber = rand(1, 10); |
22 | 22 | $testContextValue = 'TestContextValue'; |
23 | 23 |