| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | 5 | public function cart(): Cart |
|
| 30 | { |
||
| 31 | 5 | if ($this->cart) { |
|
| 32 | 1 | return $this->cart; |
|
| 33 | } |
||
| 34 | |||
| 35 | 5 | return $this->cart = $this->app->make($this->app['config']->get('quick-checkout.cart'), [ |
|
| 36 | 5 | 'session' => $this->app->make(Store::class), |
|
| 37 | 5 | 'sessionKey' => $this->app['config']->get('quick-checkout.session_key'), |
|
| 38 | 5 | 'validator' => $this->app->make($this->app['config']->get('quick-checkout.validator')), |
|
| 39 | ]); |
||
| 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