| Total Complexity | 4 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class ShippingInformationManagement |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Checkout session model |
||
| 15 | * |
||
| 16 | * @var \Magento\Checkout\Model\Session |
||
| 17 | */ |
||
| 18 | protected $checkoutSession; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Constructor |
||
| 22 | * |
||
| 23 | * @param \Magento\Checkout\Model\Session $checkoutSession |
||
| 24 | */ |
||
| 25 | public function __construct(\Magento\Checkout\Model\Session $checkoutSession) { |
||
| 26 | $this->checkoutSession = $checkoutSession; |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Writes extensionAttributes to session for later use in Consumerscore |
||
| 31 | * |
||
| 32 | * @param ShippingInformationManagementOrig $oSource |
||
| 33 | * @param int $cartId |
||
| 34 | * @param ShippingInformationInterface $addressInformation |
||
| 35 | * @return null |
||
| 36 | */ |
||
| 37 | public function beforeSaveAddressInformation(ShippingInformationManagementOrig $oSource, $cartId, ShippingInformationInterface $addressInformation) |
||
| 48 | } |
||
| 49 | } |
||
| 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