Failed Conditions
Pull Request — master (#26)
by Florent
09:49 queued 05:56
created
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.