@@ -166,7 +166,7 @@ |
||
| 166 | 166 | $repo = new Repository($fakeRepo->getRoot()); |
| 167 | 167 | |
| 168 | 168 | $config->method('isHookEnabled')->willReturnCallback( |
| 169 | - function (string $hook): bool { |
|
| 169 | + function(string $hook): bool { |
|
| 170 | 170 | return $hook === 'pre-push'; |
| 171 | 171 | } |
| 172 | 172 | ); |
@@ -228,7 +228,7 @@ |
||
| 228 | 228 | // if hook is configured and no force option is set |
| 229 | 229 | // ask the user if overwriting the hook is ok |
| 230 | 230 | if ($this->needConfirmation($hook)) { |
| 231 | - $ans = $this->io->ask( |
|
| 231 | + $ans = $this->io->ask( |
|
| 232 | 232 | 'The <comment>' . $hook . '</comment> hook exists! Overwrite? <comment>[y,N]</comment> ', |
| 233 | 233 | 'n' |
| 234 | 234 | ); |