Failed Conditions
Push — master ( 896e74...31a79d )
by Florent
08:16 queued 03:41
created
src/Component/Server/Endpoint/UserInfo/UserInfoEndpoint.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)
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
      *
102 102
      * @return string
103 103
      */
104
-    private function buildUserinfoContent(Client $client, UserAccountInterface $userAccount, AccessToken $accessToken, ? bool &$isJwt): string
104
+    private function buildUserinfoContent(Client $client, UserAccountInterface $userAccount, AccessToken $accessToken, ? bool & $isJwt) : string
105 105
     {
106 106
         $isJwt = false;
107 107
         $requestedClaims = $this->getEndpointClaims($accessToken);
Please login to merge, or discard this patch.
src/Component/Server/Endpoint/UserInfo/UserInfo.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)
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      *
65 65
      * @return array
66 66
      */
67
-    public function getUserinfo(Client $client, UserAccountInterface $userAccount, string $redirectUri, array $requestClaims, array $scopes, ? string $claimsLocales): array
67
+    public function getUserinfo(Client $client, UserAccountInterface $userAccount, string $redirectUri, array $requestClaims, array $scopes, ? string $claimsLocales) : array
68 68
     {
69 69
         $requestClaims = array_merge(
70 70
             $this->getClaimsFromClaimScope($scopes),
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
      *
109 109
      * @return array
110 110
      */
111
-    private function getClaimValues(UserAccountInterface $userAccount, array $claims, ? string $claimsLocales): array
111
+    private function getClaimValues(UserAccountInterface $userAccount, array $claims, ? string $claimsLocales) : array
112 112
     {
113 113
         $result = [];
114 114
         if (null === $claimsLocales) {
Please login to merge, or discard this patch.
src/Component/Server/Endpoint/Authorization/Authorization.php 2 patches
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.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -313,7 +313,7 @@
 block discarded – undo
313 313
 
314 314
     /**
315 315
      * @param string $responseHeader
316
-     * @param mixed  $value
316
+     * @param string  $value
317 317
      *
318 318
      * @return Authorization
319 319
      */
Please login to merge, or discard this patch.
Server/Endpoint/Authorization/Exception/CreateRedirectionException.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.
src/Component/Server/Endpoint/Token/GrantTypeData.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)
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      *
73 73
      * @return GrantTypeData
74 74
      */
75
-    public static function create(? Client $client): GrantTypeData
75
+    public static function create(? Client $client) : GrantTypeData
76 76
     {
77 77
         return new self($client);
78 78
     }
Please login to merge, or discard this patch.
src/Component/Server/GrantType/JWTBearerGrantType.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.
src/Component/Server/Command/CommandWithDataTransporter.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/Command/InitialAccessToken/CreateInitialAccessTokenCommand.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)
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      *
51 51
      * @return CreateInitialAccessTokenCommand
52 52
      */
53
-    public static function create(UserAccountId $userAccountId, ? \DateTimeImmutable $expiresAt, ? DataTransporter $dataTransporter): CreateInitialAccessTokenCommand
53
+    public static function create(UserAccountId $userAccountId, ? \DateTimeImmutable $expiresAt, ? DataTransporter $dataTransporter) : CreateInitialAccessTokenCommand
54 54
     {
55 55
         return new self($userAccountId, $expiresAt, $dataTransporter);
56 56
     }
Please login to merge, or discard this patch.
Command/AccessToken/CreateAccessTokenWithRefreshTokenCommandHandler.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.