@@ -29,7 +29,7 @@ |
||
29 | 29 | { |
30 | 30 | $this->expectException(Exception::class); |
31 | 31 | |
32 | - $input = new ArrayInput( |
|
32 | + $input = new ArrayInput( |
|
33 | 33 | [ |
34 | 34 | 'hook' => 'pre-commit', |
35 | 35 | '--configuration' => 'foo' |
@@ -29,7 +29,7 @@ |
||
29 | 29 | { |
30 | 30 | $this->expectException(Exception::class); |
31 | 31 | |
32 | - $input = new ArrayInput( |
|
32 | + $input = new ArrayInput( |
|
33 | 33 | [ |
34 | 34 | 'hook' => 'pre-commit', |
35 | 35 | '--configuration' => 'foo' |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | $config->expects($this->exactly(7))->method('getHookConfig')->willReturn($this->createHookConfigMock()); |
35 | 35 | $io->method('ask')->will($this->onConsecutiveCalls('y', 'y', 'echo \'foo\'', 'n')); |
36 | 36 | |
37 | - $setup = new Advanced($io); |
|
37 | + $setup = new Advanced($io); |
|
38 | 38 | $setup->configureHooks($config); |
39 | 39 | } |
40 | 40 | |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | $io->method('ask')->will($this->onConsecutiveCalls('y', 'y', '\\Foo\\Bar', 'y', 'n')); |
52 | 52 | $io->expects($this->once())->method('askAndValidate')->willReturn('foo:bar'); |
53 | 53 | |
54 | - $setup = new Advanced($io); |
|
54 | + $setup = new Advanced($io); |
|
55 | 55 | $setup->configureHooks($config); |
56 | 56 | } |
57 | 57 | } |
@@ -34,7 +34,7 @@ |
||
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 | } |
@@ -24,7 +24,7 @@ |
||
24 | 24 | $this->expectException(Exception::class); |
25 | 25 | |
26 | 26 | $path = realpath(CH_PATH_FILES . '/storage/invalid-xml.txt'); |
27 | - $file = new Xml($path); |
|
27 | + $file = new Xml($path); |
|
28 | 28 | $file->read(); |
29 | 29 | } |
30 | 30 | } |