Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
16 | final class GeneralConfigBuilder implements IGeneralConfigBuilder |
||
17 | { |
||
18 | private ?RunMethodMode $runMethodMode = null; |
||
19 | |||
20 | public function build(): IGeneralConfig |
||
21 | { |
||
22 | $this->validate(); |
||
23 | |||
24 | return new GeneralConfig( |
||
25 | runMethodMode: $this->runMethodMode, |
||
26 | ); |
||
27 | } |
||
28 | |||
29 | private function validate(): void |
||
34 | }; |
||
35 | } |
||
36 | |||
37 | public function withRunMethodMode(RunMethodMode $runMethodMode): IGeneralConfigBuilder |
||
42 | } |
||
43 | } |
||
44 |
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