Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
15 | public function testStoppingOnTwoInvalidBatches() |
||
16 | { |
||
17 | $command = Mockery::mock(EmailsSend::class) |
||
18 | ->shouldAllowMockingProtectedMethods() |
||
19 | ->makePartial(); |
||
20 | |||
21 | $command->shouldReceive('sendEmails') |
||
22 | ->andReturn(0, 4, false); |
||
23 | |||
24 | $command->shouldReceive('getEmailsBatch')->with(10, 0)->andReturn([]); |
||
25 | $command->shouldReceive('getEmailsBatch')->with(10, 10)->andReturn([]); |
||
26 | $command->shouldReceive('getEmailsBatch')->with(10, 20)->andReturn([]); |
||
27 | |||
28 | // $this->expectOutputString('as'); |
||
29 | self::assertSame(4, $command->handle()); |
||
30 | } |
||
32 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths