Passed
Push — main ( bb3ddf...528fba )
by Sebastian
03:43
created
tests/unit/Console/IO/DefaultIOTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
         $io     = new DefaultIO($input, $output);
247 247
         $io->askAndValidate(
248 248
             'foo',
249
-            function () {
249
+            function() {
250 250
                 return true;
251 251
             }
252 252
         );
@@ -288,7 +288,7 @@  discard block
 block discarded – undo
288 288
         $io     = new DefaultIO($input, $output, $helper);
289 289
         $answer = $io->askAndValidate(
290 290
             'foo',
291
-            function () {
291
+            function() {
292 292
                 return true;
293 293
             }
294 294
         );
Please login to merge, or discard this patch.
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.