| Total Complexity | 3 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | final class FastlyModule extends AbstractModule |
||
| 17 | { |
||
| 18 | public function __construct( |
||
| 19 | private readonly string $fastlyApiKey, |
||
| 20 | private readonly string $fastlyServiceId, |
||
| 21 | AbstractModule|null $module = null, |
||
| 22 | ) { |
||
| 23 | parent::__construct($module); |
||
| 24 | |||
| 25 | if (! class_exists(FastlyPurgeModule::class)) { |
||
| 26 | throw new LogicException('Install bear/fastly-module'); // @codeCoverageIgnore |
||
| 27 | } |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * {@inheritDoc} |
||
| 32 | */ |
||
| 33 | #[Override] |
||
| 39 | } |
||
| 40 | } |
||
| 41 |
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