From 3db1f230d3cc712b08dbf91afc0f13d9622ec9ef Mon Sep 17 00:00:00 2001 From: Ievgen Shakhsuvarov <ishakhsuvarov@ebay.com> Date: Tue, 30 Jun 2015 11:05:41 +0300 Subject: [PATCH] MAGETWO-39372: Build stabilization - Static --- app/code/Magento/Captcha/Model/Customer/Plugin/AjaxLogin.php | 1 + .../Magento/Checkout/Model/ShippingInformationManagement.php | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/app/code/Magento/Captcha/Model/Customer/Plugin/AjaxLogin.php b/app/code/Magento/Captcha/Model/Customer/Plugin/AjaxLogin.php index 65df51af99a..65cb2d8612a 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 0dab1711744..6dce3958af4 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, -- GitLab