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
Push — master ( 85c09f...3053fe )
by Samuel
02:57
created
src/AclInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare (strict_types = 1);
2 2
 
3 3
 /**
4 4
  * This file is part of the Samshal\Acl library
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      * @throws \Exception
66 66
      * @return void
67 67
      */
68
-    public function allow(string $role, string $permission, string $resource, bool $status=true);
68
+    public function allow(string $role, string $permission, string $resource, bool $status = true);
69 69
 
70 70
     /**
71 71
      * Change the status option of an assigned permission to false
Please login to merge, or discard this patch.
src/Acl.php 2 patches
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -250,16 +250,13 @@
 block discarded – undo
250 250
 			if ($object instanceof RoleInterface)
251 251
 			{
252 252
 				$this->addRole((string)$object);
253
-			}
254
-			else if ($object instanceof ResourceInterface)
253
+			} else if ($object instanceof ResourceInterface)
255 254
 			{
256 255
 				$this->addResource((string)$object);
257
-			}
258
-			else if ($object instanceof PermissionInterface)
256
+			} else if ($object instanceof PermissionInterface)
259 257
 			{
260 258
 				$this->addPermission((string)$object);
261
-			}
262
-			else {
259
+			} else {
263 260
 	            throw new \Exception(
264 261
 	                sprintf(
265 262
 	                    "%s must implement one of RoleInterface, '.
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * This file is part of the Samshal\Acl library
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
 	 * @throws \Exception
280 280
 	 * @return void
281 281
 	 */
282
-	public function allow(string $role, string $permission, string $resource, boolean $status=true)
282
+	public function allow(string $role, string $permission, string $resource, boolean $status = true)
283 283
 	{
284 284
 		if (!$this->roleRegistry->exists($role)) {
285 285
             throw new \Exception(
Please login to merge, or discard this patch.
src/ObjectInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare (strict_types = 1);
2 2
 
3 3
 /**
4 4
  * This file is part of the Samshal\Acl library
Please login to merge, or discard this patch.
src/Resource/DefaultResource.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare (strict_types = 1);
2 2
 
3 3
 /**
4 4
  * This file is part of the Samshal\Acl library
Please login to merge, or discard this patch.
src/Resource/ResourceInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare (strict_types = 1);
2 2
 
3 3
 /**
4 4
  * This file is part of the Samshal\Acl library
Please login to merge, or discard this patch.
src/Registry/RegistryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare (strict_types = 1);
2 2
 
3 3
 /**
4 4
  * This file is part of the Samshal\Acl library
Please login to merge, or discard this patch.
src/Registry/GlobalRegistry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare (strict_types = 1);
2 2
 
3 3
 /**
4 4
  * This file is part of the Samshal\Acl library
Please login to merge, or discard this patch.
src/Registry/Registry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare (strict_types = 1);
2 2
 
3 3
 /**
4 4
  * This file is part of the Samshal\Acl library
Please login to merge, or discard this patch.
src/Role/RoleInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare (strict_types = 1);
2 2
 
3 3
 /**
4 4
  * This file is part of the Samshal\Acl library
Please login to merge, or discard this patch.