Conditions | 2 |
Paths | 2 |
Total Lines | 19 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | * Tests PostCommit::run |
||
24 | * |
||
25 | * @throws \Exception |
||
26 | */ |
||
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); |
||
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