Passed
Push — main ( 3ffaaf...767566 )
by Sebastian
03:52 queued 18s
created
tests/unit/Console/IO/ComposerIOTest.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,8 +27,8 @@
 block discarded – undo
27 27
     protected function setUp(): void
28 28
     {
29 29
         $mock = $this->getMockBuilder(IOInterface::class)
30
-                     ->disableOriginalConstructor()
31
-                     ->getMock();
30
+                        ->disableOriginalConstructor()
31
+                        ->getMock();
32 32
         $mock->method('isInteractive')->willReturn(false);
33 33
         $mock->method('isDebug')->willReturn(false);
34 34
         $mock->method('isVerbose')->willReturn(false);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
             true,
127 127
             $this->io->askAndValidate(
128 128
                 'foo',
129
-                function () {
129
+                function() {
130 130
                     return true;
131 131
                 },
132 132
                 null,
Please login to merge, or discard this patch.
tests/unit/Console/IO/NullIOTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
             true,
111 111
             $io->askAndValidate(
112 112
                 'foo',
113
-                function () {
113
+                function() {
114 114
                     return true;
115 115
                 },
116 116
                 false,
Please login to merge, or discard this patch.
tests/unit/Console/IO/DefaultIOTest.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,8 @@
 block discarded – undo
46 46
     public function getOutputMock()
47 47
     {
48 48
         return $this->getMockBuilder(OutputInterface::class)
49
-                     ->disableOriginalConstructor()
50
-                     ->getMock();
49
+                        ->disableOriginalConstructor()
50
+                        ->getMock();
51 51
     }
52 52
 
53 53
     /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@
 block discarded – undo
232 232
         $io     = new DefaultIO($input, $output, $helper);
233 233
         $answer = $io->askAndValidate(
234 234
             'foo',
235
-            function () {
235
+            function() {
236 236
                 return true;
237 237
             }
238 238
         );
Please login to merge, or discard this patch.
tests/unit/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
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
             ]
40 40
         );
41 41
 
42
-        $install  = new Disable($resolver);
42
+        $install = new Disable($resolver);
43 43
         $install->setIO(new NullIO());
44 44
         $install->run($input, $output);
45 45
     }
Please login to merge, or discard this patch.
tests/unit/Console/Command/EnableTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
             null,
56 56
             ['captainhook.json' => file_get_contents(CH_PATH_FILES . '/config/valid.json')]
57 57
         );
58
-        $input      = new ArrayInput([
58
+        $input = new ArrayInput([
59 59
             'hook'            => 'pre-push',
60 60
             '--configuration' => $fakeConfig->url() . '/captainhook.json',
61 61
         ]);
Please login to merge, or discard this patch.
tests/unit/Console/Command/AddTest.php 1 patch
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
 
61 61
         $io->method('ask')->will($this->onConsecutiveCalls('\\Foo\\Bar', 'n'));
62 62
         $io->expects($this->once())->method('write');
Please login to merge, or discard this patch.
tests/unit/Console/Command/UninstallTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      */
52 52
     public function testUninstallPreCommitHook(): void
53 53
     {
54
-        $repo   = new DummyRepo([
54
+        $repo = new DummyRepo([
55 55
             'config' => '# fake git config',
56 56
             'hooks'  => [
57 57
                 'pre-commit' => '# fake pre-commit hook file',
Please login to merge, or discard this patch.
tests/unit/Console/Command/Hook/PostCommitTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,8 +62,8 @@
 block discarded – undo
62 62
         );
63 63
 
64 64
         $resolver = $this->getMockBuilder(Resolver::class)
65
-                         ->disableOriginalConstructor()
66
-                         ->getMock();
65
+                            ->disableOriginalConstructor()
66
+                            ->getMock();
67 67
         $resolver->method('isPharRelease')->willReturn(true);
68 68
 
69 69
         $cmd = new PostCommit($resolver);
Please login to merge, or discard this patch.
tests/unit/ConfigTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@
 block discarded – undo
214 214
             false,
215 215
             ['run-path' => '/usr/local/bin/captainhook', 'verbosity' => 'debug']
216 216
         );
217
-        $json   = $config->getJsonData();
217
+        $json = $config->getJsonData();
218 218
 
219 219
         $this->assertIsArray($json);
220 220
         $this->assertIsArray($json['config']);
Please login to merge, or discard this patch.