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