Passed
Push — master ( 3e0a86...29dd4d )
by Dāvis
03:09
created
DependencyInjection/Component/Oauth.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
         return $this->configurators[$type];
53 53
     }
54 54
 
55
-    public function buildClientConfiguration(NodeDefinition &$node)
55
+    public function buildClientConfiguration(NodeDefinition & $node)
56 56
     {
57 57
         $optionsNode = $node->children();
58 58
 
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
         return $clientServiceKey;
115 115
     }
116 116
 
117
-    public function configure(ContainerBuilder &$container)
117
+    public function configure(ContainerBuilder & $container)
118 118
     {
119 119
         $clientConfigurations = $container->getParameter('sludio_helper.oauth.clients');
120 120
         $clientServiceKeys = [];
Please login to merge, or discard this patch.
DependencyInjection/Component/Captcha.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
         return $this->configurators[$type];
36 36
     }
37 37
 
38
-    public function configure(ContainerBuilder &$container)
38
+    public function configure(ContainerBuilder & $container)
39 39
     {
40 40
         $clientConfigurations = $container->getParameter('sludio_helper.captcha.clients');
41 41
         foreach ($clientConfigurations as $key => $clientConfig) {
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
         }
72 72
     }
73 73
 
74
-    public function buildClientConfiguration(NodeDefinition &$node)
74
+    public function buildClientConfiguration(NodeDefinition & $node)
75 75
     {
76 76
         $optionsNode = $node->children();
77 77
         $this->getConfigurator($this->getType())->buildConfiguration($optionsNode);
Please login to merge, or discard this patch.
Http/StreamResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
         $chunked = $this->headers->has('Transfer-Encoding');
25 25
         $this->content->seek(0);
26 26
 
27
-        for (; ;) {
27
+        for (;;) {
28 28
             $chunk = $this->content->read($this->bufferSize);
29 29
 
30 30
             if ($chunked) {
Please login to merge, or discard this patch.
DependencyInjection/Component/Guzzle.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 {
16 16
     const NAME = 'sludio_helper.guzzle';
17 17
 
18
-    public function configure(ContainerBuilder &$container)
18
+    public function configure(ContainerBuilder & $container)
19 19
     {
20 20
         $dataCollector = $container->getDefinition(self::NAME.'.data_collector.guzzle');
21 21
         $dataCollector->replaceArgument(0, $container->getParameter(self::NAME.'.profiler')['max_body_size']);
Please login to merge, or discard this patch.
Captcha/Configurator/CaptchaConfigurator.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,8 @@
 block discarded – undo
5 5
 use Symfony\Component\Config\Definition\Builder\NodeBuilder;
6 6
 use Symfony\Component\DependencyInjection\ContainerBuilder;
7 7
 
8
-interface CaptchaConfigurator
9
-{
8
+interface CaptchaConfigurator
9
+{
10 10
     public function buildConfiguration(NodeBuilder $node);
11 11
 
12 12
     public function configureClient(ContainerBuilder $container, $clientServiceKey, array $options = []);
Please login to merge, or discard this patch.
Guzzle/GuzzleHttp/Middleware/CacheMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     {
40 40
         return $handler($request, $options)->then(function(ResponseInterface $response) use ($request) {
41 41
             $code = (int)floor(intval($response->getStatusCode()) / 100);
42
-            if($code === 2) {
42
+            if ($code === 2) {
43 43
                 $this->adapter->save($request, $response);
44 44
             }
45 45
 
Please login to merge, or discard this patch.
Guzzle/GuzzleHttp/MessageFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
     {
125 125
         $cache = [];
126 126
 
127
-        return preg_replace_callback('/{\s*([A-Za-z_\-\.0-9]+)\s*}/', function (array $matches) use ($request, $response, $error, &$cache) {
127
+        return preg_replace_callback('/{\s*([A-Za-z_\-\.0-9]+)\s*}/', function(array $matches) use ($request, $response, $error, &$cache) {
128 128
             if (isset($cache[$matches[1]])) {
129 129
                 return $cache[$matches[1]];
130 130
             }
Please login to merge, or discard this patch.
DependencyInjection/Component/Extension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 
8 8
 interface Extension extends Configurable
9 9
 {
10
-    public function buildClientConfiguration(NodeDefinition &$node);
10
+    public function buildClientConfiguration(NodeDefinition & $node);
11 11
 
12 12
     public function configureClient(ContainerBuilder $container, $clientServiceKey, array $options = []);
13 13
 }
Please login to merge, or discard this patch.
DependencyInjection/Component/Openid.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 
11 11
 class Openid implements Extension
12 12
 {
13
-    public function configure(ContainerBuilder &$container)
13
+    public function configure(ContainerBuilder & $container)
14 14
     {
15 15
         $clientConfigurations = $container->getParameter('sludio_helper.openid.clients');
16 16
         $clientServiceKeys = [];
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
         }
51 51
     }
52 52
 
53
-    public function buildClientConfiguration(NodeDefinition &$node)
53
+    public function buildClientConfiguration(NodeDefinition & $node)
54 54
     {
55 55
         $optionsNode = $node->children();
56 56
 
Please login to merge, or discard this patch.