Failed Conditions
Push — master ( 7c3864...930f9b )
by Florent
14:15
created
src/Component/AuthorizationEndpoint/Extension/Extension.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,5 +18,8 @@
 block discarded – undo
18 18
 
19 19
 interface Extension
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function process(ServerRequestInterface $request, AuthorizationRequest $authorization): void;
22 25
 }
Please login to merge, or discard this patch.
src/Component/AuthorizationEndpoint/LoginHandler.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@
 block discarded – undo
19 19
 
20 20
 interface LoginHandler
21 21
 {
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function prepare(ServerRequestInterface $serverRequest, string $authorizationId, AuthorizationRequest $authorizationRequest): void;
23 26
 
24 27
     public function hasBeenProcessed(ServerRequestInterface $serverRequest, string $authorizationId, AuthorizationRequest $authorizationRequest): bool;
Please login to merge, or discard this patch.
src/Component/AuthorizationEndpoint/ParameterChecker/ParameterChecker.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,5 +17,8 @@
 block discarded – undo
17 17
 
18 18
 interface ParameterChecker
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function check(AuthorizationRequest $authorization): void;
21 24
 }
Please login to merge, or discard this patch.
src/Component/AuthorizationEndpoint/ResponseType/ResponseType.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -41,7 +41,13 @@
 block discarded – undo
41 41
      */
42 42
     public function getResponseMode(): string;
43 43
 
44
+    /**
45
+     * @return void
46
+     */
44 47
     public function preProcess(AuthorizationRequest $authorization): void;
45 48
 
49
+    /**
50
+     * @return void
51
+     */
46 52
     public function process(AuthorizationRequest $authorization): void;
47 53
 }
Please login to merge, or discard this patch.
src/Component/AuthorizationEndpoint/SelectAccountHandler.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@
 block discarded – undo
19 19
 
20 20
 interface SelectAccountHandler
21 21
 {
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function prepare(ServerRequestInterface $serverRequest, string $authorizationId, AuthorizationRequest $authorizationRequest): void;
23 26
 
24 27
     public function hasBeenProcessed(ServerRequestInterface $serverRequest, string $authorizationId, AuthorizationRequest $authorizationRequest): bool;
Please login to merge, or discard this patch.
src/Component/AuthorizationEndpoint/User/UserDiscovery.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -18,7 +18,13 @@
 block discarded – undo
18 18
 
19 19
 interface UserDiscovery
20 20
 {
21
+    /**
22
+     * @return User
23
+     */
21 24
     public function getCurrentUser(): ?User;
22 25
 
26
+    /**
27
+     * @return UserAccount
28
+     */
23 29
     public function getCurrentAccount(): ?UserAccount;
24 30
 }
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 
14 14
 namespace OAuth2Framework\Component\AuthorizationEndpoint\User;
15 15
 
16
-use OAuth2Framework\Component\Core\User\User;
17 16
 use OAuth2Framework\Component\Core\UserAccount\UserAccount;
17
+use OAuth2Framework\Component\Core\User\User;
18 18
 
19 19
 interface UserDiscovery
20 20
 {
Please login to merge, or discard this patch.
src/Component/Core/User/User.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -17,8 +17,14 @@
 block discarded – undo
17 17
 
18 18
 interface User
19 19
 {
20
+    /**
21
+     * @return integer|null
22
+     */
20 23
     public function getLastLoginAt(): ?int;
21 24
 
25
+    /**
26
+     * @return integer|null
27
+     */
22 28
     public function getLastUpdateAt(): ?int;
23 29
 
24 30
     /**
Please login to merge, or discard this patch.
src/Component/Core/UserAccount/UserAccountRepository.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -15,5 +15,8 @@
 block discarded – undo
15 15
 
16 16
 interface UserAccountRepository
17 17
 {
18
+    /**
19
+     * @return \OAuth2Framework\ServerBundle\Tests\TestBundle\Entity\UserAccount|null
20
+     */
18 21
     public function find(UserAccountId $publicId): ?UserAccount;
19 22
 }
Please login to merge, or discard this patch.
src/Component/OpenIdConnect/OpenIdConnectExtension.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,9 +19,9 @@
 block discarded – undo
19 19
 use OAuth2Framework\Component\Core\AccessToken\AccessToken;
20 20
 use OAuth2Framework\Component\Core\Client\Client;
21 21
 use OAuth2Framework\Component\Core\ResourceOwner\ResourceOwner;
22
+use OAuth2Framework\Component\Core\UserAccount\UserAccount;
22 23
 use OAuth2Framework\Component\Core\User\User;
23 24
 use OAuth2Framework\Component\Core\User\UserRepository;
24
-use OAuth2Framework\Component\Core\UserAccount\UserAccount;
25 25
 use OAuth2Framework\Component\TokenEndpoint\Extension\TokenEndpointExtension;
26 26
 use OAuth2Framework\Component\TokenEndpoint\GrantType;
27 27
 use OAuth2Framework\Component\TokenEndpoint\GrantTypeData;
Please login to merge, or discard this patch.