| Total Complexity | 2 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | final class CallbackTaskTest extends TestCase |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @test |
||
| 15 | */ |
||
| 16 | public function can_create_successful_result() |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @test |
||
| 26 | * @dataProvider outputProvider |
||
| 27 | */ |
||
| 28 | public function stringifies_output($output, $expectedOutput) |
||
| 29 | { |
||
| 30 | $result = (new CallbackTask(function () use ($output) { return $output; }))(); |
||
| 31 | |||
| 32 | $this->assertTrue($result->isSuccessful()); |
||
| 33 | $this->assertSame($expectedOutput, $result->getOutput()); |
||
| 34 | } |
||
| 35 | |||
| 36 | public static function outputProvider() |
||
| 53 | ]; |
||
| 54 | } |
||
| 55 | } |
||
| 56 |
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