Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
42 | 4 | public function makeLineItem(array|ProductInterface $product, int $quantity = 1, ?string $id = null): LineItem |
|
|
|||
43 | { |
||
44 | 4 | return $this->app->make($this->app['config']->get('quick-checkout.line_item'), [ |
|
45 | 4 | 'product' => $product, |
|
46 | 4 | 'quantity' => $quantity, |
|
47 | 4 | 'id' => $id, |
|
48 | ]); |
||
51 |
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