Passed
Push — master ( d83551...3d9efb )
by Piotr
05:38
created
DependencyInjection/LSBNumberingExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
Service/NumberingGenerator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Tests/PatternResolverTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.