Conditions | 1 |
Paths | 1 |
Total Lines | 20 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
27 | public function testExecuteWithRelativeConfigPath(): void |
||
28 | { |
||
29 | $cwd = getcwd(); |
||
30 | chdir(CH_PATH_FILES); |
||
31 | |||
32 | $repo = new DummyRepo(); |
||
33 | $output = new NullOutput(); |
||
34 | $input = new ArrayInput( |
||
35 | [ |
||
36 | '--configuration' => './config/valid.json', |
||
37 | '--git-directory' => $repo->getGitDir() |
||
38 | ] |
||
39 | ); |
||
40 | |||
41 | $cmd = new PostCommit(new Resolver()); |
||
42 | $cmd->run($input, $output); |
||
43 | |||
44 | chdir($cwd); |
||
45 | |||
46 | $this->assertTrue(true); |
||
47 | } |
||
49 |
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