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
Branch master (e2c4bd)
by Enjoys
11:09
created
Category
src/Rule/MediaType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 
32 32
         list($type, $subType) = $this->explode($mediaType);
33 33
 
34
-        if (!array_key_exists($type, $this->allowedMediaType)){
34
+        if (!array_key_exists($type, $this->allowedMediaType)) {
35 35
             throw new RuleException(sprintf($this->errorMessage, sprintf('%s/*', $type)));
36 36
         }
37 37
 
Please login to merge, or discard this patch.
src/Rule/Extension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      */
34 34
     public function allow(array|string $extension): Extension
35 35
     {
36
-        if (is_string($extension)){
36
+        if (is_string($extension)) {
37 37
             $extension = explode(",", $extension);
38 38
         }
39 39
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
             PATHINFO_EXTENSION
50 50
         ));
51 51
 
52
-        if (!in_array($extension, $this->allowed, true)){
52
+        if (!in_array($extension, $this->allowed, true)) {
53 53
             throw new RuleException(sprintf($this->errorMessage, $extension));
54 54
         }
55 55
     }
Please login to merge, or discard this patch.