| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | final class ImportAppModule extends AbstractModule |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * Import scheme config |
||
| 18 | * |
||
| 19 | * @var array<ImportApp> |
||
| 20 | */ |
||
| 21 | private array $importAppConfig = []; |
||
| 22 | |||
| 23 | /** @param array<ImportApp> $importApps */ |
||
| 24 | public function __construct(array $importApps, string $defaultContextName = '') |
||
| 25 | { |
||
| 26 | foreach ($importApps as $importApp) { |
||
| 27 | // create import config |
||
| 28 | $this->importAppConfig[] = $importApp; |
||
| 29 | } |
||
| 30 | |||
| 31 | unset($defaultContextName); |
||
| 32 | |||
| 33 | parent::__construct(); |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritDoc} |
||
| 38 | * |
||
| 39 | * @throws NotFound |
||
| 40 | */ |
||
| 41 | #[Override] |
||
| 46 | } |
||
| 47 | } |
||
| 48 |
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