@@ -45,13 +45,13 @@ |
||
| 45 | 45 | $io = $this->createIOMock(); |
| 46 | 46 | $io->method('getArgument')->willReturn('hook:pre-push'); |
| 47 | 47 | $io->expects($this->atLeastOnce()) |
| 48 | - ->method('getStandardInput') |
|
| 49 | - ->willReturn( |
|
| 50 | - [ |
|
| 51 | - 'refs/heads/main 9dfa0fa6221d75f48b2dfac359127324bedf8409' . |
|
| 52 | - ' refs/heads/main 8309f6e16097754469c485e604900c573bf2c5d8' |
|
| 53 | - ] |
|
| 54 | - ); |
|
| 48 | + ->method('getStandardInput') |
|
| 49 | + ->willReturn( |
|
| 50 | + [ |
|
| 51 | + 'refs/heads/main 9dfa0fa6221d75f48b2dfac359127324bedf8409' . |
|
| 52 | + ' refs/heads/main 8309f6e16097754469c485e604900c573bf2c5d8' |
|
| 53 | + ] |
|
| 54 | + ); |
|
| 55 | 55 | $operator = $this->createGitDiffOperator(['fiz.php', 'foo.txt']); |
| 56 | 56 | $repository = $this->createRepositoryMock(''); |
| 57 | 57 | $repository->expects($this->once())->method('getDiffOperator')->willReturn($operator); |