Passed
Push — main ( bb3ddf...7b0feb )
by Sebastian
04:09 queued 37s
created
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   +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.
tests/unit/Console/Command/DisableTest.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
         $io->expects($this->once())->method('write');
61 61
 
62 62
         $add->setIO($io);
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.
tests/unit/Runner/Config/Setup/ExpressTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         $config->expects($this->exactly(2))->method('getHookConfig')->willReturn($this->createHookConfigMock());
35 35
         $io->method('ask')->will($this->onConsecutiveCalls('y', 'y', 'y', 'phpunit', 'y', 'phpcs'));
36 36
 
37
-        $setup  = new Express($io);
37
+        $setup = new Express($io);
38 38
         $setup->configureHooks($config);
39 39
     }
40 40
 }
Please login to merge, or discard this patch.