Completed
Push — master ( 454760...bc93f3 )
by Pavel
03:38
created
src/Bankiru/Api/Tests/ConfigurationTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
                     ],
61 61
             ],
62 62
         ];
63
-        $configs       = $processor->processConfiguration(
63
+        $configs = $processor->processConfiguration(
64 64
             $configuration,
65 65
             $rawConfigs
66 66
         );
Please login to merge, or discard this patch.
src/Bankiru/Api/DependencyInjection/Configuration.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
             ->treatNullLike(['enabled' => true]);
39 39
         $cache->children()->scalarNode('service')->defaultNull()->info('PSR-6 Cache service. Required if enabled');
40 40
         $cache->children()->scalarNode('logger')->defaultNull()->info('PSR-3 Log service for cache');
41
-        $cache->beforeNormalization()->ifString()->then(function ($v) {
41
+        $cache->beforeNormalization()->ifString()->then(function($v) {
42 42
             return ['service' => $v, 'enabled' => true];
43 43
         });
44 44
         $configuration = $cache->children()->arrayNode('configuration');
@@ -47,8 +47,8 @@  discard block
 block discarded – undo
47 47
         $confProto = $configuration->prototype('array');
48 48
         $confProto->children()->scalarNode('ttl')->isRequired();
49 49
         $confProto->beforeNormalization()
50
-                  ->ifTrue(function ($v) { return is_int($v); })
51
-                  ->then(function ($v) { return ['ttl' => $v]; });
50
+                  ->ifTrue(function($v) { return is_int($v); })
51
+                  ->then(function($v) { return ['ttl' => $v]; });
52 52
         $confProto->ignoreExtraKeys(false);
53 53
         $confProto->canBeEnabled();
54 54
 
Please login to merge, or discard this patch.
src/Bankiru/Api/DependencyInjection/Compiler/MappingCollectorPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
                     DIRECTORY_SEPARATOR
48 48
                 ]
49 49
             );
50
-            $driverDef = new Definition(YmlMetadataDriver::class,[$locatorDef]);
50
+            $driverDef = new Definition(YmlMetadataDriver::class, [$locatorDef]);
51 51
 
52 52
             $driver->addMethodCall('addDriver', [$driverDef, $namespace]);
53 53
         }
Please login to merge, or discard this patch.