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 (#5)
by Bernardo Vieira da
03:54
created
src/GitHooksInstallerPlugin/Composer/Installer.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -86,17 +86,17 @@  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
                 copy($installedHookFilePath, $hookDestinationPath);
94 94
                 chmod($hookDestinationPath, 0755);
95 95
             }
96 96
         }
97 97
 
98 98
         // clean up temporary data
99
-        exec('rm -rf ' . $this->getHooksInstallationPath());
99
+        exec('rm -rf '.$this->getHooksInstallationPath());
100 100
     }
101 101
 
102 102
     /**
@@ -106,15 +106,15 @@  discard block
 block discarded – undo
106 106
     {
107 107
         $gitDir = exec('git rev-parse --git-dir');
108 108
         if ($gitDir != '.git') {
109
-            $gitDir .= DIRECTORY_SEPARATOR . '.git';
109
+            $gitDir .= DIRECTORY_SEPARATOR.'.git';
110 110
         }
111 111
 
112
-        return $gitDir . DIRECTORY_SEPARATOR . 'hooks';
112
+        return $gitDir.DIRECTORY_SEPARATOR.'hooks';
113 113
     }
114 114
 
115 115
     protected function getHooksInstallationPath()
116 116
     {
117
-        return $this->getGitHooksPath() . DIRECTORY_SEPARATOR . '.GitHooksInstallerPlugin';
117
+        return $this->getGitHooksPath().DIRECTORY_SEPARATOR.'.GitHooksInstallerPlugin';
118 118
     }
119 119
 
120 120
     /**
Please login to merge, or discard this patch.