Total Complexity | 4 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class ConfigurationHolder |
||
9 | { |
||
10 | /** |
||
11 | * @var PHPUnit8Configuration|Configuration |
||
12 | */ |
||
13 | private $configuration; |
||
14 | |||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | private $filename; |
||
19 | |||
20 | /** |
||
21 | * @var string|null |
||
22 | */ |
||
23 | private $bootstrap; |
||
24 | |||
25 | /** |
||
26 | * @param PHPUnit8Configuration|Configuration $configuration |
||
27 | * @param string|null $bootstrap |
||
28 | */ |
||
29 | public function __construct($configuration, string $filename, $bootstrap) |
||
30 | { |
||
31 | $this->configuration = $configuration; |
||
32 | $this->filename = $filename; |
||
33 | $this->bootstrap = $bootstrap; |
||
34 | } |
||
35 | |||
36 | public function getFilename(): string |
||
39 | } |
||
40 | |||
41 | public function getConfiguration() |
||
42 | { |
||
43 | return $this->configuration; |
||
44 | } |
||
45 | |||
46 | public function getBootstrap() |
||
49 | } |
||
50 | } |
||
51 |
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