| Total Complexity | 4 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class CheckoutManager |
||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * The application instance. |
||
| 14 | */ |
||
| 15 | protected Application $app; |
||
| 16 | |||
| 17 | protected ?Cart $cart = null; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Create a new instance. |
||
| 21 | * |
||
| 22 | * @param Application $app |
||
| 23 | */ |
||
| 24 | 5 | public function __construct(Application $app) |
|
| 27 | 5 | } |
|
| 28 | |||
| 29 | 5 | public function cart(): Cart |
|
| 39 | ]); |
||
| 40 | } |
||
| 41 | |||
| 42 | 4 | public function makeLineItem(array|ProductInterface $product, int $quantity = 1, ?string $id = null): LineItem |
|
| 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