Failed Conditions
Push — master ( 896e74...31a79d )
by Florent
08:16 queued 03:41
created
src/Bundle/Server/Plugin/JWTBearerPlugin/JWTBearerPlugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
      */
208 208
     private function isClientAssertionEncryptionParameterInvalid($parameter)
209 209
     {
210
-        return function ($data) use ($parameter) {
210
+        return function($data) use ($parameter) {
211 211
             if (false === $data['encryption']['enabled']) {
212 212
                 return false;
213 213
             }
Please login to merge, or discard this patch.
ResourceOwnerPasswordCredentialsGrantTypePlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
Please login to merge, or discard this patch.
Server/Plugin/RefreshTokenGrantTypePlugin/RefreshTokenGrantTypePlugin.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
             ->isRequired()
81 81
             ->addDefaultsIfNotSet()
82 82
                 ->validate()
83
-                    ->ifTrue(function ($value) {
83
+                    ->ifTrue(function($value) {
84 84
                         return $value['min_length'] >= $value['max_length'];
85 85
                     })
86 86
                     ->thenInvalid('The configuration option "min_length" must be lower than "max_length".')
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
                 ->scalarNode('class')
105 105
                     ->info('Refresh token class.')
106 106
                     ->validate()
107
-                        ->ifTrue(function ($value) {
107
+                        ->ifTrue(function($value) {
108 108
                             return !class_exists($value);
109 109
                         })->thenInvalid('The class does not exist.')
110 110
                     ->end()
Please login to merge, or discard this patch.
Server/Plugin/AuthorizationEndpointPlugin/AuthorizationEndpointPlugin.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
             ->children()
226 226
                 ->arrayNode('pre_configured_authorization')
227 227
                     ->validate()
228
-                        ->ifTrue(function ($value) {
228
+                        ->ifTrue(function($value) {
229 229
                             if (false === $value['enabled']) {
230 230
                                 return false;
231 231
                             }
@@ -449,7 +449,7 @@  discard block
 block discarded – undo
449 449
      */
450 450
     private function areClientAssertionSignatureAlgorithmsInvalid()
451 451
     {
452
-        return function ($data) {
452
+        return function($data) {
453 453
             if (false === $data['enabled']) {
454 454
                 return false;
455 455
             }
@@ -465,7 +465,7 @@  discard block
 block discarded – undo
465 465
      */
466 466
     private function isClientAssertionEncryptionParameterInvalid($parameter)
467 467
     {
468
-        return function ($data) use ($parameter) {
468
+        return function($data) use ($parameter) {
469 469
             if (false === $data['encryption']['enabled']) {
470 470
                 return false;
471 471
             }
Please login to merge, or discard this patch.
Plugin/SimpleStringAccessTokenPlugin/SimpleStringAccessTokenPlugin.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
             ->isRequired()
77 77
             ->addDefaultsIfNotSet()
78 78
             ->validate()
79
-                ->ifTrue(function ($value) {
79
+                ->ifTrue(function($value) {
80 80
                     return $value['min_length'] >= $value['max_length'];
81 81
                 })
82 82
                 ->thenInvalid('The configuration option "min_length" must be lower than "max_length".')
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
                 ->end()
100 100
                 ->scalarNode('class')
101 101
                     ->validate()
102
-                        ->ifTrue(function ($value) {
102
+                        ->ifTrue(function($value) {
103 103
                             return !class_exists($value);
104 104
                         })
105 105
                         ->thenInvalid('The class does not exist.')
Please login to merge, or discard this patch.
src/Component/Client/Client/OAuth2ClientInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -44,6 +44,7 @@
 block discarded – undo
44 44
     /**
45 45
      * @param string $key
46 46
      * @param mixed  $value
47
+     * @return void
47 48
      */
48 49
     public function set($key, $value);
49 50
 
Please login to merge, or discard this patch.
src/Component/Client/Request/OAuth2RequestInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -16,11 +16,13 @@  discard block
 block discarded – undo
16 16
     /**
17 17
      * If this method is called, requests using the https scheme without a valid certificates are allowed.
18 18
      * We do not recommend you to call this method.
19
+     * @return void
19 20
      */
20 21
     public function allowUnsecuredRequests();
21 22
 
22 23
     /**
23 24
      * If this method is called, requests using the https scheme without a valid certificates are not allowed (default behaviour).
25
+     * @return void
24 26
      */
25 27
     public function disallowUnsecuredRequests();
26 28
 
@@ -33,6 +35,7 @@  discard block
 block discarded – undo
33 35
 
34 36
     /**
35 37
      * @param string $proxy
38
+     * @return void
36 39
      */
37 40
     public function setProxy($proxy);
38 41
 
@@ -45,6 +48,7 @@  discard block
 block discarded – undo
45 48
 
46 49
     /**
47 50
      * Unset the proxy settings.
51
+     * @return void
48 52
      */
49 53
     public function unsetProxy();
50 54
 
Please login to merge, or discard this patch.