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 ( dc9597...e55f0d )
by Marco
03:36
created
src/Basic/Errors.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
              * @psalm-param T $data
27 27
              * @return false
28 28
              */
29
-            function ($data): bool {
29
+            function($data): bool {
30 30
                 return false;
31 31
             };
32 32
 
Please login to merge, or discard this patch.
src/Basic/InArray.php 1 patch
Spacing   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -28,8 +28,7 @@  discard block
 block discarded – undo
28 28
     {
29 29
         $this->values = $values;
30 30
         $this->errorFormatter = is_callable($errorFormatter) ?
31
-            $errorFormatter :
32
-            /**
31
+            $errorFormatter : /**
33 32
              * @template T
34 33
              * @param array $values
35 34
              * @param mixed $data
@@ -37,7 +36,7 @@  discard block
 block discarded – undo
37 36
              * @return string[]
38 37
              * @psalm-return array{0:string}
39 38
              */
40
-            function (array $values, $data): array {
39
+            function(array $values, $data): array {
41 40
                 return [self::NOT_IN_ARRAY];
42 41
             };
43 42
     }
@@ -64,7 +63,7 @@  discard block
 block discarded – undo
64 63
              * @return string[]
65 64
              * @psalm-return array{0:string}
66 65
              */
67
-            function (array $values, $data) use ($translator): array {
66
+            function(array $values, $data) use ($translator): array {
68 67
                 return [$translator->translate(self::NOT_IN_ARRAY)];
69 68
             }
70 69
         );
@@ -72,7 +71,7 @@  discard block
 block discarded – undo
72 71
 
73 72
     public function validate($data, array $context = []): ValidationResult
74 73
     {
75
-        if (! in_array($data, $this->values, true)) {
74
+        if (!in_array($data, $this->values, true)) {
76 75
             return ValidationResult::errors(($this->errorFormatter)($this->values, $data));
77 76
         }
78 77
 
Please login to merge, or discard this patch.
src/Basic/Compare.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
              * @return string[]
51 51
              * @psalm-return array{0:mixed}
52 52
              */
53
-            function ($comparisonBasis, $data): array {
53
+            function($comparisonBasis, $data): array {
54 54
 
55 55
                 return [static::MESSAGE];
56 56
             }
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
              * @return string[]
87 87
              * @psalm-return array{0:mixed}
88 88
              */
89
-            function ($comparisonBasis, $data) use ($translator): array {
89
+            function($comparisonBasis, $data) use ($translator): array {
90 90
                 return [$translator->translate(static::MESSAGE)];
91 91
             }
92 92
         );
@@ -117,14 +117,14 @@  discard block
 block discarded – undo
117 117
              * @param mixed $data
118 118
              * @psalm-param B $data
119 119
              */
120
-            function ($data) use ($comparisonBasis, $assertion): bool {
120
+            function($data) use ($comparisonBasis, $assertion): bool {
121 121
                 return $assertion($comparisonBasis, $data);
122 122
             },
123 123
             /**
124 124
              * @param mixed $data
125 125
              * @psalm-param B $data
126 126
              */
127
-            function ($data) use ($comparisonBasis, $errorFormatter): array {
127
+            function($data) use ($comparisonBasis, $errorFormatter): array {
128 128
                 return $errorFormatter($comparisonBasis, $data);
129 129
             }
130 130
         )->validate($data, $context);
Please login to merge, or discard this patch.
src/Basic/IsGreaterThan.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
              * @psalm-param T $bound
28 28
              * @psalm-param T $data
29 29
              */
30
-            function ($bound, $data): bool {
30
+            function($bound, $data): bool {
31 31
                 return $data > $bound;
32 32
             },
33 33
             $data,
Please login to merge, or discard this patch.