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 ( 7646c4...0363c4 )
by Bernardo Vieira da
01:42
created
src/GitHooksInstallerPlugin/Composer/Installer.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -86,10 +86,10 @@  discard block
 block discarded – undo
86 86
     {
87 87
         parent::install($repo, $package);
88 88
         foreach ($this->getSupportedHooks() as $gitHookName) {
89
-            $installedHookFilePath = $this->getInstallPath($package) . DIRECTORY_SEPARATOR . $gitHookName;
89
+            $installedHookFilePath = $this->getInstallPath($package).DIRECTORY_SEPARATOR.$gitHookName;
90 90
 
91 91
             if (file_exists($installedHookFilePath)) {
92
-                $hookDestinationPath = $this->getGitHooksPath() . DIRECTORY_SEPARATOR . $gitHookName;
92
+                $hookDestinationPath = $this->getGitHooksPath().DIRECTORY_SEPARATOR.$gitHookName;
93 93
                 if (!copy($installedHookFilePath, $hookDestinationPath)) {
94 94
                     echo sprintf(
95 95
                         'GitHookInstallerPlugin failed to copy %s to %s!',
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
         }
103 103
 
104 104
         // clean up temporary data
105
-        exec('rm -rf ' . $this->getHooksInstallationPath());
105
+        exec('rm -rf '.$this->getHooksInstallationPath());
106 106
     }
107 107
 
108 108
     /**
@@ -112,15 +112,15 @@  discard block
 block discarded – undo
112 112
     {
113 113
         $gitDir = exec('git rev-parse --git-dir');
114 114
         if (!preg_match('/\.git$/i', $gitDir)) {
115
-            $gitDir .= DIRECTORY_SEPARATOR . '.git';
115
+            $gitDir .= DIRECTORY_SEPARATOR.'.git';
116 116
         }
117 117
 
118
-        return $gitDir . DIRECTORY_SEPARATOR . 'hooks';
118
+        return $gitDir.DIRECTORY_SEPARATOR.'hooks';
119 119
     }
120 120
 
121 121
     protected function getHooksInstallationPath()
122 122
     {
123
-        return $this->getGitHooksPath() . DIRECTORY_SEPARATOR . '.GitHooksInstallerPlugin';
123
+        return $this->getGitHooksPath().DIRECTORY_SEPARATOR.'.GitHooksInstallerPlugin';
124 124
     }
125 125
 
126 126
     /**
Please login to merge, or discard this patch.