| Total Complexity | 6 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | final class AopCollector implements CompilerInterface |
||
| 20 | { |
||
| 21 | /** @var AopBindings */ |
||
|
|
|||
| 22 | private array $bindings = []; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param PointcutList $pointcuts |
||
| 26 | * |
||
| 27 | * @return AopBindings |
||
| 28 | */ |
||
| 29 | public function collect(Dependency $dependency, array $pointcuts): array |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritDoc} |
||
| 39 | * |
||
| 40 | * @return never |
||
| 41 | */ |
||
| 42 | public function newInstance(string $class, array $args, BindInterface $bind) |
||
| 43 | { |
||
| 44 | throw new LogicException('AopCollector::newInstance() should never be called'); |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * {@inheritDoc} |
||
| 49 | */ |
||
| 50 | public function compile(string $class, BindInterface $bind): string |
||
| 67 | } |
||
| 68 | } |
||
| 69 |
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