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
Pull Request — master (#48)
by joseph
07:07 queued 04:31
created
src/PHPUnit/CheckAnnotations.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -98,11 +98,11 @@  discard block
 block discarded – undo
98 98
     private function checkFile(\SplFileInfo $fileInfo, string $annotation): void
99 99
     {
100 100
         $contents = (string)file_get_contents($fileInfo->getPathname());
101
-        if($this->isAnnotationInClassDocBlock($contents, $annotation) === true) {
101
+        if ($this->isAnnotationInClassDocBlock($contents, $annotation) === true) {
102 102
             return;
103 103
         }
104 104
 
105
-        $matches  = [];
105
+        $matches = [];
106 106
         preg_match_all(
107 107
             <<<REGEXP
108 108
 %(?<docblock>/\*(?:[^*]|\n|(?:\*(?:[^/]|\n)))*\*/|\n)\s+?public\s+?function\s+?(?<method>.+?)\(%
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
             return false;
157 157
         }
158 158
         $docBlock = array_shift($matches['docblock']);
159
-        return strpos($docBlock, '@'. $annotation) !== false;
159
+        return strpos($docBlock, '@'.$annotation) !== false;
160 160
     }
161 161
 
162 162
 
Please login to merge, or discard this patch.