Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | public function execute(\Magento\Framework\Event\Observer $observer) |
||
25 | { |
||
26 | /* @var \Magento\Sales\Model\Order $order */ |
||
27 | $order = $observer->getEvent()->getData('order'); |
||
28 | /* @var \Magento\Quote\Model\Quote $quote */ |
||
29 | $quote = $observer->getEvent()->getData('quote'); |
||
30 | |||
31 | $moipInterest = $quote->getData(MoipInterestInterface::MOIP_INTEREST_AMOUNT); |
||
32 | $baseMoipInterest = $quote->getData(MoipInterestInterface::BASE_MOIP_INTEREST_AMOUNT); |
||
33 | $order->setData(MoipInterestInterface::MOIP_INTEREST_AMOUNT, $moipInterest); |
||
34 | $order->setData(MoipInterestInterface::BASE_MOIP_INTEREST_AMOUNT, $baseMoipInterest); |
||
35 | |||
36 | return $this; |
||
37 | } |
||
39 |
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