Conditions | 3 |
Paths | 4 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
37 | public function beforeSaveAddressInformation(ShippingInformationManagementOrig $oSource, $cartId, ShippingInformationInterface $addressInformation) |
||
38 | { |
||
39 | $address = $addressInformation->getShippingAddress(); |
||
40 | $extensionAttributes = $address->getExtensionAttributes(); |
||
41 | if (!empty($extensionAttributes->getGender())) { |
||
42 | $this->checkoutSession->setPayoneGuestGender($extensionAttributes->getGender()); |
||
43 | } |
||
44 | if (!empty($extensionAttributes->getDateofbirth())) { |
||
45 | $this->checkoutSession->setPayoneGuestDateofbirth($extensionAttributes->getDateofbirth()); |
||
46 | } |
||
47 | return null; |
||
48 | } |
||
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