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.
Passed
Push — master ( 18f918...aa8b7f )
by Marco
01:25
created
src/Basic/IsCallable.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,7 @@
 block discarded – undo
17 17
         $this->isAsAsserted = IsAsAsserted::withAssertionAndErrorFormatter(
18 18
             'is_callable',
19 19
             is_callable($errorFormatter) ?
20
-                $errorFormatter :
21
-                function ($data) {
20
+                $errorFormatter : function($data) {
22 21
                     return [self::NOT_A_CALLABLE];
23 22
                 }
24 23
         );
Please login to merge, or discard this patch.
src/Basic/IsBool.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,7 @@
 block discarded – undo
18 18
         $this->isAsAsserted = IsAsAsserted::withAssertionAndErrorFormatter(
19 19
             'is_bool',
20 20
             is_callable($errorFormatter) ?
21
-                $errorFormatter :
22
-                function ($data) {
21
+                $errorFormatter : function($data) {
23 22
                     return [self::NOT_A_BOOL];
24 23
                 }
25 24
         );
Please login to merge, or discard this patch.
src/Basic/IsArray.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,7 @@
 block discarded – undo
18 18
         $this->isAsAsserted = IsAsAsserted::withAssertionAndErrorFormatter(
19 19
             'is_array',
20 20
             is_callable($errorFormatter) ?
21
-            $errorFormatter :
22
-            function ($data) {
21
+            $errorFormatter : function($data) {
23 22
                 return [self::NOT_AN_ARRAY];
24 23
             }
25 24
         );
Please login to merge, or discard this patch.
src/Basic/IsInteger.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,7 @@
 block discarded – undo
18 18
         $this->isAsAsserted = IsAsAsserted::withAssertionAndErrorFormatter(
19 19
             'is_int',
20 20
             is_callable($errorFormatter) ?
21
-                $errorFormatter :
22
-                function ($data) {
21
+                $errorFormatter : function($data) {
23 22
                     return [self::NOT_AN_INTEGER];
24 23
                 }
25 24
         );
Please login to merge, or discard this patch.
src/Basic/IsObject.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,7 @@
 block discarded – undo
18 18
         $this->isAsAsserted = IsAsAsserted::withAssertionAndErrorFormatter(
19 19
             'is_object',
20 20
             is_callable($errorFormatter) ?
21
-                $errorFormatter :
22
-                function ($data) {
21
+                $errorFormatter : function($data) {
23 22
                     return [self::NOT_AN_OBJECT];
24 23
                 }
25 24
         );
Please login to merge, or discard this patch.
src/Basic/IsIterable.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,7 @@
 block discarded – undo
18 18
         $this->isAsAsserted = IsAsAsserted::withAssertionAndErrorFormatter(
19 19
             'is_iterable',
20 20
             is_callable($errorFormatter) ?
21
-                $errorFormatter :
22
-                function ($data) {
21
+                $errorFormatter : function($data) {
23 22
                     return [self::NOT_AN_ITERABLE];
24 23
                 }
25 24
         );
Please login to merge, or discard this patch.
src/Basic/IsString.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,7 @@
 block discarded – undo
18 18
         $this->isAsAsserted = IsAsAsserted::withAssertionAndErrorFormatter(
19 19
             'is_string',
20 20
             is_callable($errorFormatter) ?
21
-                $errorFormatter :
22
-                function ($data) {
21
+                $errorFormatter : function($data) {
23 22
                     return [self::NOT_A_STRING];
24 23
                 }
25 24
         );
Please login to merge, or discard this patch.
src/Basic/IsAsAsserted.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,8 +26,7 @@  discard block
 block discarded – undo
26 26
     {
27 27
         $this->assertion = $assertion;
28 28
         $this->errorFormatter = is_callable($errorFormatter) ?
29
-            $errorFormatter :
30
-            function ($data) {
29
+            $errorFormatter : function($data) {
31 30
                 return [self::NOT_AS_ASSERTED];
32 31
             };
33 32
     }
@@ -44,7 +43,7 @@  discard block
 block discarded – undo
44 43
 
45 44
     public function validate($data, array $context = []): ValidationResult
46 45
     {
47
-        if (! ($this->assertion)($data)) {
46
+        if (!($this->assertion)($data)) {
48 47
             return ValidationResult::errors(($this->errorFormatter)($data));
49 48
         }
50 49
 
Please login to merge, or discard this patch.
src/Basic/IsResource.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,7 @@
 block discarded – undo
18 18
         $this->isAsAsserted = IsAsAsserted::withAssertionAndErrorFormatter(
19 19
             'is_resource',
20 20
             is_callable($errorFormatter) ?
21
-                $errorFormatter :
22
-                function ($data) {
21
+                $errorFormatter : function($data) {
23 22
                     return [self::NOT_A_RESOURCE];
24 23
                 }
25 24
         );
Please login to merge, or discard this patch.