diff --git a/app/code/Magento/Captcha/Model/Customer/Plugin/AjaxLogin.php b/app/code/Magento/Captcha/Model/Customer/Plugin/AjaxLogin.php index 65df51af99a7f643be8df410f19742c7a3af2ec8..65cb2d8612abd20e6c3cf8a380de5a00f69cdd0c 100644 --- a/app/code/Magento/Captcha/Model/Customer/Plugin/AjaxLogin.php +++ b/app/code/Magento/Captcha/Model/Customer/Plugin/AjaxLogin.php @@ -55,6 +55,7 @@ class AjaxLogin * @return $this * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Zend_Json_Exception + * @SuppressWarnings(PHPMD.NPathComplexity) */ public function aroundExecute( \Magento\Customer\Controller\Ajax\Login $subject, diff --git a/app/code/Magento/Checkout/Model/ShippingInformationManagement.php b/app/code/Magento/Checkout/Model/ShippingInformationManagement.php index 0dab1711744e5f938367da542c4c64bff7becf02..6dce3958af468b15e15aae2a71ce26bcc184e577 100644 --- a/app/code/Magento/Checkout/Model/ShippingInformationManagement.php +++ b/app/code/Magento/Checkout/Model/ShippingInformationManagement.php @@ -11,6 +11,9 @@ use Magento\Framework\Exception\NoSuchEntityException; use Psr\Log\LoggerInterface as Logger; use \Magento\Quote\Model\QuoteAddressValidator; +/** + * @SuppressWarnings(PHPMD.CouplingBetweenObjects) + */ class ShippingInformationManagement implements \Magento\Checkout\Api\ShippingInformationManagementInterface { /** @@ -91,6 +94,8 @@ class ShippingInformationManagement implements \Magento\Checkout\Api\ShippingInf /** * {@inheritDoc} + * @SuppressWarnings(PHPMD.CyclomaticComplexity) + * @SuppressWarnings(PHPMD.NPathComplexity) */ public function saveAddressInformation( $cartId,