GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Pull Request — master (#1)
by Lukáš
03:21
created
src/Storage/IIAuthorizationRequestSerializer.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -7,14 +7,14 @@
 block discarded – undo
7 7
 interface IAuthorizationRequestSerializer
8 8
 {
9 9
 	/**
10
-	* @param AuthorizationRequest $authorizationRequest
11
-	* @return string
12
-	*/
10
+	 * @param AuthorizationRequest $authorizationRequest
11
+	 * @return string
12
+	 */
13 13
 	public function serialize(AuthorizationRequest $authorizationRequest): string;
14 14
 
15 15
 	/**
16
-	* @param string $data
17
-	* @return AuthorizationRequest
18
-	*/
16
+	 * @param string $data
17
+	 * @return AuthorizationRequest
18
+	 */
19 19
 	public function unserialize(string $data): AuthorizationRequest;
20 20
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Lookyman\NetteOAuth2Server;
5 5
 
Please login to merge, or discard this patch.
src/UI/ApprovePresenterTrait.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Lookyman\NetteOAuth2Server\Storage\IAuthorizationRequestSerializer;
8 8
 use Lookyman\NetteOAuth2Server\User\UserEntity;
9 9
 use Nette\Http\IResponse;
10
-use Nette\Security\User;
11 10
 use Nextras\Application\UI\SecuredLinksPresenterTrait;
12 11
 
13 12
 trait ApprovePresenterTrait
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Lookyman\NetteOAuth2Server\UI;
5 5
 
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 	{
45 45
 		$control = $this->approveControlFactory->create();
46 46
 
47
-		$control->onAnchor[] = function (ApproveControl $control) {
47
+		$control->onAnchor[] = function(ApproveControl $control) {
48 48
 			if (!$this->redirectConfig) {
49 49
 				$this->error('RedirectConfig not set', IResponse::S500_INTERNAL_SERVER_ERROR);
50 50
 			}
Please login to merge, or discard this patch.
src/User/UserRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Lookyman\NetteOAuth2Server\User;
5 5
 
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 	public function __construct(User $user, callable $credentialsValidator = null)
24 24
 	{
25 25
 		$this->user = $user;
26
-		$this->credentialsValidator = $credentialsValidator ?: function () {
26
+		$this->credentialsValidator = $credentialsValidator ?: function() {
27 27
 			try {
28 28
 				call_user_func_array([$this->user, 'login'], func_get_args());
29 29
 
Please login to merge, or discard this patch.
src/RedirectConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Lookyman\NetteOAuth2Server;
5 5
 
Please login to merge, or discard this patch.
src/Psr7/Response.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Lookyman\NetteOAuth2Server;
5 5
 
Please login to merge, or discard this patch.
src/Psr7/ApplicationPsr7ResponseInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Lookyman\NetteOAuth2Server;
5 5
 
Please login to merge, or discard this patch.
src/UI/Psr7Trait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Lookyman\NetteOAuth2Server;
5 5
 
Please login to merge, or discard this patch.
src/UI/LoginPresenterTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Lookyman\NetteOAuth2Server;
5 5
 
Please login to merge, or discard this patch.
src/UI/ResourcePresenter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Lookyman\NetteOAuth2Server;
5 5
 
Please login to merge, or discard this patch.