Total Complexity | 3 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class FilesTreatmentTest extends TestCase |
||
12 | { |
||
13 | /** |
||
14 | * @test |
||
15 | */ |
||
16 | public function FilesTreatmentCannotBeInstantiatedFromInvalidFile(): void { |
||
17 | $this->expectException(\Exception::class); |
||
18 | new FilesTreatment('invalid-file.php'); |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * @test |
||
23 | */ |
||
24 | public function FilesTreatmentCannotBeInstantiatedFromInvalidPath(): void { |
||
25 | $this->expectException(\Exception::class); |
||
26 | new FilesTreatment('invalid-path'); |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @test |
||
31 | * @throws \Exception |
||
32 | */ |
||
33 | public function filesFromDirectoryAreCorrect(): void { |
||
46 | } |
||
47 | } |
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