| Conditions | 3 |
| Paths | 4 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 37 | protected function updateCustomer(QuoteTransfer $quoteTransfer, CustomerTransfer $customer) |
||
| 38 | { |
||
| 39 | if (!$quoteTransfer->getCustomer()) { |
||
| 40 | $quoteTransfer->setCustomer(new CustomerTransfer()); |
||
| 41 | } |
||
| 42 | |||
| 43 | $quoteTransfer->getCustomer()->fromArray($customer->modifiedToArray()); |
||
| 44 | |||
| 45 | if ($quoteTransfer->getCustomer()->getIdCustomer()) { |
||
| 46 | $quoteTransfer->getCustomer()->setIsGuest(false); |
||
| 47 | } |
||
| 50 |
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