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 (#80)
by Ben
01:14
created
src/Plugin.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
         
280 280
         $phpPath = $finder->find(false);
281 281
         
282
-        if ( ! $phpPath) {
282
+        if (!$phpPath) {
283 283
             throw new \RuntimeException('Failed to locate PHP binary to execute ' . $phpPath);
284 284
         }
285 285
 
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
             : ''
290 290
         ;
291 291
 
292
-        $command  = ProcessExecutor::escape($phpPath) .
292
+        $command = ProcessExecutor::escape($phpPath) .
293 293
             $phpArgs .
294 294
             ' -d allow_url_fopen=' . ProcessExecutor::escape(ini_get('allow_url_fopen')) .
295 295
             ' -d disable_functions=' . ProcessExecutor::escape(ini_get('disable_functions')) .
@@ -399,7 +399,7 @@  discard block
 block discarded – undo
399 399
     {
400 400
         $codingStandardPackages = array_filter(
401 401
             $this->composer->getRepositoryManager()->getLocalRepository()->getPackages(),
402
-            function (PackageInterface $package) {
402
+            function(PackageInterface $package) {
403 403
                 if ($package instanceof AliasPackage) {
404 404
                     return false;
405 405
                 }
@@ -407,7 +407,7 @@  discard block
 block discarded – undo
407 407
             }
408 408
         );
409 409
 
410
-        if (! $this->composer->getPackage() instanceof RootpackageInterface
410
+        if (!$this->composer->getPackage() instanceof RootpackageInterface
411 411
             && $this->composer->getPackage()->getType() === self::PACKAGE_TYPE
412 412
         ) {
413 413
             $codingStandardPackages[] = $this->composer->getPackage();
Please login to merge, or discard this patch.