@@ -86,17 +86,17 @@ discard block  | 
                                                    ||
| 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  | 
                                                    ||
| 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 | /**  |