Passed
Push — master ( a5b7b1...ebf6a9 )
by Sebastian
02:18
created
src/Hook/Message/Rule/UseImperativeMood.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 
44 44
         if ($checkOnlyBeginning) {
45 45
             // overwrite the detection logic to only check the beginning og the string
46
-            $this->stringDetection = function (string $content, string $term) : bool {
46
+            $this->stringDetection = function(string $content, string $term) : bool {
47 47
                 return strpos($content, $term) === 0;
48 48
             };
49 49
         }
Please login to merge, or discard this patch.
src/Hook/Composer/Action/CheckLockFile.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
         }
110 110
         ksort($relevantContent);
111 111
 
112
-        return md5((string)json_encode($relevantContent));
112
+        return md5((string) json_encode($relevantContent));
113 113
     }
114 114
 
115 115
     /**
@@ -124,6 +124,6 @@  discard block
 block discarded – undo
124 124
         if (!file_exists($file)) {
125 125
             throw new \Exception($file . ' not found');
126 126
         }
127
-        return (string)file_get_contents($file);
127
+        return (string) file_get_contents($file);
128 128
     }
129 129
 }
Please login to merge, or discard this patch.
tests/CaptainHook/Console/Command/DisableTest.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,8 @@
 block discarded – undo
55 55
         );
56 56
 
57 57
         $io = $this->getMockBuilder(DefaultIO::class)
58
-                   ->disableOriginalConstructor()
59
-                   ->getMock();
58
+                    ->disableOriginalConstructor()
59
+                    ->getMock();
60 60
         $io->expects($this->once())->method('write');
61 61
 
62 62
         $add->setIO($io);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     {
25 25
         $this->expectException(\Exception::class);
26 26
 
27
-        $input   = new ArrayInput(
27
+        $input = new ArrayInput(
28 28
             [
29 29
                 'hook' => 'pre-commit',
30 30
                 '--configuration' => 'foo'
Please login to merge, or discard this patch.