| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | final class ProcessTaskTest extends TestCase |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @test |
||
| 15 | */ |
||
| 16 | public function can_create_successful_result() |
||
| 17 | { |
||
| 18 | $result = (new ProcessTask('$(which php) -v'))->timeout(1)->cwd(__DIR__)(); |
||
| 19 | |||
| 20 | $this->assertTrue($result->isSuccessful()); |
||
| 21 | $this->assertStringContainsString('PHP', $result->getOutput()); |
||
| 22 | $this->assertStringContainsString(PHP_VERSION, $result->getOutput()); |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @test |
||
| 27 | */ |
||
| 28 | public function can_create_failed_result() |
||
| 35 | } |
||
| 36 | } |
||
| 37 |
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