Passed
Push — master ( fbdcce...636973 )
by Pavel
12:08
created
Tests/StopwatchTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
                     'sub-payload' => 'sub-payload',
53 53
                 ]
54 54
             ),
55
-            function () {
55
+            function() {
56 56
                 usleep(1000);
57 57
 
58 58
                 return true;
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     /** {@inheritdoc} */
98 98
     protected function getCacheDir()
99 99
     {
100
-        return __DIR__.'/../build/cache/';
100
+        return __DIR__ . '/../build/cache/';
101 101
     }
102 102
 
103 103
     private function getSuccessResponseMock($result)
Please login to merge, or discard this patch.
Tests/SensioFrameworkExtraTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,6 +55,6 @@
 block discarded – undo
55 55
     /** {@inheritdoc} */
56 56
     protected function getCacheDir()
57 57
     {
58
-        return __DIR__.'/../build/cache/';
58
+        return __DIR__ . '/../build/cache/';
59 59
     }
60 60
 }
Please login to merge, or discard this patch.
Tests/BundleTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,6 +35,6 @@
 block discarded – undo
35 35
     /** {@inheritdoc} */
36 36
     protected function getCacheDir()
37 37
     {
38
-        return __DIR__.'/../build/cache/';
38
+        return __DIR__ . '/../build/cache/';
39 39
     }
40 40
 }
Please login to merge, or discard this patch.
DependencyInjection/Compiler/LoggerDecoratorPass.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -31,15 +31,15 @@
 block discarded – undo
31 31
         foreach ($clients as $id => $tags) {
32 32
             $newId = $id . '.loggable';
33 33
             $container->register($newId, LoggableRpcClient::class)
34
-                      ->setArguments(
35
-                          [
36
-                              new Reference($newId . '.inner'),
37
-                              new Reference($container->getParameter(self::LOGGER_SERVICE_PARAMETER)),
38
-                              '%bankiru_api.logger.debug_body%'
39
-                          ]
40
-                      )
41
-                      ->setPublic(false)
42
-                      ->setDecoratedService($id);
34
+                        ->setArguments(
35
+                            [
36
+                                new Reference($newId . '.inner'),
37
+                                new Reference($container->getParameter(self::LOGGER_SERVICE_PARAMETER)),
38
+                                '%bankiru_api.logger.debug_body%'
39
+                            ]
40
+                        )
41
+                        ->setPublic(false)
42
+                        ->setDecoratedService($id);
43 43
         }
44 44
     }
45 45
 }
Please login to merge, or discard this patch.
DependencyInjection/Configuration.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
         $logger->canBeEnabled();
20 20
         $logger->addDefaultsIfNotSet();
21 21
         $logger->beforeNormalization()->ifString()->then(
22
-            function ($v) {
22
+            function($v) {
23 23
                 return ['service' => $v, 'enabled' => true];
24 24
             }
25 25
         );
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
             Cache::class . ' Implementation service id. Required if enabled'
35 35
         )->defaultNull();
36 36
         $metadataCache->beforeNormalization()->ifString()->then(
37
-            function ($v) {
37
+            function($v) {
38 38
                 return ['service' => $v, 'enabled' => true];
39 39
             }
40 40
         );
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         $cache->children()->scalarNode('service')->info('PSR-6 Cache service. Required if enabled');
45 45
         $cache->children()->scalarNode('logger')->defaultNull()->info('PSR-3 Log service for cache');
46 46
         $cache->beforeNormalization()->ifString()->then(
47
-            function ($v) {
47
+            function($v) {
48 48
                 return ['service' => $v, 'enabled' => true];
49 49
             }
50 50
         );
@@ -55,12 +55,12 @@  discard block
 block discarded – undo
55 55
         $confProto->children()->scalarNode('ttl')->isRequired();
56 56
         $confProto->beforeNormalization()
57 57
                   ->ifTrue(
58
-                      function ($v) {
58
+                      function($v) {
59 59
                           return is_int($v);
60 60
                       }
61 61
                   )
62 62
                   ->then(
63
-                      function ($v) {
63
+                      function($v) {
64 64
                           return ['ttl' => $v];
65 65
                       }
66 66
                   );
Please login to merge, or discard this patch.