@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | * @link https://github.com/captainhook-git/captainhook |
27 | 27 | * @since Class available since Release 3.0.1 |
28 | 28 | */ |
29 | -final class Hooks{ |
|
29 | +final class Hooks { |
|
30 | 30 | public const PRE_COMMIT = 'pre-commit'; |
31 | 31 | public const PRE_PUSH = 'pre-push'; |
32 | 32 | public const COMMIT_MSG = 'commit-msg'; |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | return array_keys( |
121 | 121 | array_filter( |
122 | 122 | self::$virtualHookTriggers, |
123 | - function ($e) use ($virtualHook) { |
|
123 | + function($e) use ($virtualHook) { |
|
124 | 124 | return $e === $virtualHook; |
125 | 125 | } |
126 | 126 | ) |
@@ -98,7 +98,7 @@ |
||
98 | 98 | * @param bool $fileExists |
99 | 99 | * @param array<string, mixed> $settings |
100 | 100 | */ |
101 | - public function __construct(string $path, bool $fileExists = false, array $settings = []){ |
|
101 | + public function __construct(string $path, bool $fileExists = false, array $settings = []) { |
|
102 | 102 | $settings = $this->setupPlugins($settings); |
103 | 103 | $settings = $this->setupCustom($settings); |
104 | 104 | $settings = $this->setupRunConfig($settings); |