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 ( 7d72a0...66da8f )
by Marco
01:30
created
src/Basic/InArray.php 1 patch
Spacing   +3 added lines, -4 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
-            function ($values, $data) {
31
+            $errorFormatter : function($values, $data) {
33 32
                 return [self::NOT_IN_ARRAY];
34 33
             };
35 34
     }
@@ -48,7 +47,7 @@  discard block
 block discarded – undo
48 47
     {
49 48
         return new self(
50 49
             $values,
51
-            function (array $values, $data) use ($translator) {
50
+            function(array $values, $data) use ($translator) {
52 51
                 return [$translator->translate(self::NOT_IN_ARRAY)];
53 52
             }
54 53
         );
@@ -56,7 +55,7 @@  discard block
 block discarded – undo
56 55
 
57 56
     public function validate($data, array $context = []): ValidationResult
58 57
     {
59
-        if (! in_array($data, $this->values, true)) {
58
+        if (!in_array($data, $this->values, true)) {
60 59
             return ValidationResult::errors(($this->errorFormatter)($this->values, $data));
61 60
         }
62 61
 
Please login to merge, or discard this patch.