| Conditions | 5 |
| Paths | 6 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | public function __construct(GeneralizerInterface $generalizer = null, $sale = null, $plan = null) |
||
| 29 | { |
||
| 30 | $this->generalizer = $generalizer ?: new Generalizer(); |
||
| 31 | if ($sale instanceof SaleInterface) { |
||
| 32 | if (empty($plan)) { |
||
| 33 | $plan = $sale->getPlan(); |
||
| 34 | } |
||
| 35 | $sale = new SimpleSaleRepository($sale); |
||
| 36 | } |
||
| 37 | if ($plan instanceof PlanInterface) { |
||
| 38 | $plan = new SimplePlanRepository($plan); |
||
| 39 | } |
||
| 40 | |||
| 41 | return parent::__construct($this->generalizer, $sale, $plan); |
||
| 42 | } |
||
| 49 |
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