Passed
Push — main ( bb3ddf...528fba )
by Sebastian
03:43
created
src/Hooks.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
             )
Please login to merge, or discard this patch.
src/Config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.