Passed
Branch master (c853f4)
by Dāvis
04:40 queued 02:05
created
DependencyInjection/Component/Extensionable.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,9 +7,9 @@
 block discarded – undo
7 7
 
8 8
 interface Extensionable
9 9
 {
10
-    public function configure(ContainerBuilder &$container);
10
+    public function configure(ContainerBuilder&$container);
11 11
 
12
-    public function buildClientConfiguration(NodeDefinition &$node);
12
+    public function buildClientConfiguration(NodeDefinition&$node);
13 13
 
14 14
     public function configureClient(ContainerBuilder $container, $clientServiceKey, array $options = []);
15 15
 }
Please login to merge, or discard this patch.
DependencyInjection/Component/Openid.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,12 +10,12 @@  discard block
 block discarded – undo
10 10
 
11 11
 class Openid implements Extensionable
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
         foreach ($clientConfigurations as $key => $clientConfig) {
17 17
             $tree = new TreeBuilder();
18
-            $node = $tree->root('sludio_helper_openid_client/clients/' . $key);
18
+            $node = $tree->root('sludio_helper_openid_client/clients/'.$key);
19 19
             $this->buildClientConfiguration($node);
20 20
             $processor = new Processor();
21 21
             $config = $processor->process($tree->buildTree(), [$clientConfig]);
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         }
50 50
     }
51 51
 
52
-    public function buildClientConfiguration(NodeDefinition &$node)
52
+    public function buildClientConfiguration(NodeDefinition&$node)
53 53
     {
54 54
         $optionsNode = $node->children();
55 55
         $optionsNode
Please login to merge, or discard this patch.
DependencyInjection/Extension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
         $this->setExt(class_exists($className) ? new $className() : null);
15 15
     }
16 16
 
17
-    public function configure(ContainerBuilder &$container)
17
+    public function configure(ContainerBuilder&$container)
18 18
     {
19 19
         return $this->getExtension()->configure($container);
20 20
     }
Please login to merge, or discard this patch.
Openidconnect/Provider/AccessToken.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     {
29 29
         $parameters = parent::jsonSerialize();
30 30
         if ($this->idToken) {
31
-            $parameters['id_token'] = (string)$this->idToken;
31
+            $parameters['id_token'] = (string) $this->idToken;
32 32
         }
33 33
 
34 34
         return $parameters;
Please login to merge, or discard this patch.
Openidconnect/Provider/Uri.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
 
17 17
     public function __construct(array $options, array $additional = [])
18 18
     {
19
-        $this->base = rtrim($additional['base_uri'], '/') . '/';
19
+        $this->base = rtrim($additional['base_uri'], '/').'/';
20 20
         unset($additional['base_uri']);
21 21
 
22 22
         $this->params = !empty($options['params']) ? $options['params'] : [];
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         }
37 37
         if (!empty($this->urlParams)) {
38 38
             $params = http_build_query($this->urlParams);
39
-            $url .= '?' . $params;
39
+            $url .= '?'.$params;
40 40
         }
41 41
         $url = urldecode($url);
42 42
         $this->setUrl($url);
Please login to merge, or discard this patch.
Script/Component/Translation/Translator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     public function trans($id, array $parameters = array(), $domain = null, $locale = null)
41 41
     {        
42 42
         $request = Request::createFromGlobals();
43
-        if (1||$request->get('sludio_debug') === 'text') {
43
+        if (1 || $request->get('sludio_debug') === 'text') {
44 44
             return $domain.'.'.$id;
45 45
         }
46 46
 
Please login to merge, or discard this patch.
Oauth/Client/Client/GoogleOAuth2Client.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
                 self::OAUTH2_SESSION_STATE_KEY,
21 21
                 $state ?: $this->provider->getState()
22 22
             );
23
-            if($state){
23
+            if ($state) {
24 24
                 $this->provider->setState($state);
25 25
             }
26 26
         }
Please login to merge, or discard this patch.
DependencyInjection/Component/Openidconnect.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 
11 11
 class Openidconnect implements Extensionable
12 12
 {
13
-    public function buildClientConfiguration(NodeDefinition &$node)
13
+    public function buildClientConfiguration(NodeDefinition&$node)
14 14
     {
15 15
         $optionsNode = $node->children();
16 16
         $optionsNode
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
         $optionsNode->end();
42 42
     }
43 43
 
44
-    private function buildUri(NodeDefinition &$node)
44
+    private function buildUri(NodeDefinition&$node)
45 45
     {
46 46
         $optionsNode = $node->children();
47 47
         $optionsNode
@@ -64,13 +64,13 @@  discard block
 block discarded – undo
64 64
         ]);
65 65
     }
66 66
 
67
-    public function configure(ContainerBuilder &$container)
67
+    public function configure(ContainerBuilder&$container)
68 68
     {
69 69
         $clientConfigurations = $container->getParameter('sludio_helper.openidconnect.clients');
70 70
         foreach ($clientConfigurations as $key => $clientConfig) {
71 71
             $tree = new TreeBuilder();
72 72
             $processor = new Processor();
73
-            $node = $tree->root('sludio_helper_openidconnect_client/clients/' . $key);
73
+            $node = $tree->root('sludio_helper_openidconnect_client/clients/'.$key);
74 74
             $this->buildClientConfiguration($node);
75 75
             $config = $processor->process($tree->buildTree(), [$clientConfig]);
76 76
             $clientServiceKey = 'sludio_helper.openidconnect.client.'.$key;
Please login to merge, or discard this patch.
DependencyInjection/Component/Oauth.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         return $this->configurators[$type];
54 54
     }
55 55
 
56
-    public function buildClientConfiguration(NodeDefinition &$node)
56
+    public function buildClientConfiguration(NodeDefinition&$node)
57 57
     {
58 58
         $optionsNode = $node->children();
59 59
         $optionsNode
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
         return $clientServiceKey;
122 122
     }
123 123
 
124
-    public function configure(ContainerBuilder &$container)
124
+    public function configure(ContainerBuilder&$container)
125 125
     {
126 126
         $clientConfigurations = $container->getParameter('sludio_helper.oauth.clients');
127 127
         $clientServiceKeys = [];
Please login to merge, or discard this patch.