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