Passed
Push — master ( 814c46...97ce8e )
by Piotr
04:28
created
Tests/PatternResolverTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
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.