@@ -16,7 +16,7 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | class PatternResolverTest extends TestCase |
| 18 | 18 | { |
| 19 | - const TEST_PATTERN = 'IN/{' . Tag::YEAR .'}/{'. Tag::NUMBER .'}/{'. Tag::CONTEXT_OBJECT .'}'; |
|
| 19 | + const TEST_PATTERN = 'IN/{'.Tag::YEAR.'}/{'.Tag::NUMBER.'}/{'.Tag::CONTEXT_OBJECT.'}'; |
|
| 20 | 20 | |
| 21 | 21 | public function testYearPatternResolver() |
| 22 | 22 | { |
@@ -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 | |