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 ( 884ba1...1992ae )
by Tupichenkov
37s queued 10s
created
src/Handler/StubHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
         $response = \GuzzleHttp\Promise\promise_for($this->getSuitableResponse($request));
18 18
 
19 19
         return $response->then(
20
-            function ($value) {
20
+            function($value) {
21 21
                 return $value;
22 22
             }
23 23
         );
@@ -93,6 +93,6 @@  discard block
 block discarded – undo
93 93
 
94 94
     private function isSuitableString(string $expected, string $actual): bool
95 95
     {
96
-        return 0 === strcasecmp($expected, $actual) || @preg_match('/^'.$expected.'$/i', $actual);
96
+        return 0 === strcasecmp($expected, $actual) || @preg_match('/^' . $expected . '$/i', $actual);
97 97
     }
98 98
 }
Please login to merge, or discard this patch.