From 57ade0ae8884cb91073dd5bf3fa455776d3a40ad Mon Sep 17 00:00:00 2001 From: jisse Reitsma Date: Fri, 27 Aug 2021 15:24:49 +0200 Subject: [PATCH] PHPCS fixes --- Block/Field/Link.php | 6 ---- Block/Success.php | 7 +--- Controller/Index/Success.php | 8 ----- Exception/ForbiddenAccess.php | 6 ---- Exception/InvalidOrderId.php | 6 ---- Factory/OrderFactory.php | 3 -- Helper/Data.php | 3 -- Helper/Order.php | 3 -- Test/Integration/BrowseTest.php | 5 --- Test/Integration/ModuleConfigTest.php | 5 --- Test/Unit/Block/Field/LinkTest.php | 6 ---- Test/Unit/Block/SuccessTest.php | 6 ---- Test/Unit/Helper/DataTest.php | 5 --- Test/Unit/Mock/BlockContext/AppStateMock.php | 5 --- Test/Unit/Mock/BlockContext/CacheMock.php | 5 --- .../Unit/Mock/BlockContext/CacheStateMock.php | 5 --- .../Mock/BlockContext/FileResolverMock.php | 5 --- .../Mock/BlockContext/SidResolverMock.php | 5 --- Test/Unit/Mock/BlockContextMock.php | 35 +++++++++++-------- Test/Unit/Mock/Generic/EventManagerMock.php | 5 --- Test/Unit/Mock/Generic/ScopeConfigMock.php | 5 --- Test/Unit/Mock/Generic/SessionMock.php | 5 --- Test/Unit/Mock/Generic/StoreManagerMock.php | 5 --- Test/Unit/Mock/Generic/UrlBuilderMock.php | 5 --- Test/Unit/Mock/HelperContextMock.php | 5 --- 25 files changed, 21 insertions(+), 138 deletions(-) diff --git a/Block/Field/Link.php b/Block/Field/Link.php index bbeebd0..d6ab23a 100644 --- a/Block/Field/Link.php +++ b/Block/Field/Link.php @@ -2,7 +2,6 @@ /** * Yireo CheckoutTester2 for Magento * - * @package Yireo_CheckoutTester2 * @author Yireo (https://www.yireo.com/) * @copyright Copyright 2017 Yireo (https://www.yireo.com/) * @license Open Source License (OSL v3) @@ -16,11 +15,6 @@ use Magento\Framework\Exception\NoSuchEntityException; use Magento\Framework\Url; -/** - * Class Link - * - * @package Yireo\CheckoutTester2\Block\Field - */ class Link extends Field { /** diff --git a/Block/Success.php b/Block/Success.php index 93c9ec6..6fdfe78 100644 --- a/Block/Success.php +++ b/Block/Success.php @@ -10,13 +10,8 @@ namespace Yireo\CheckoutTester2\Block; -use \Magento\Framework\View\Element\Template; +use Magento\Framework\View\Element\Template; -/** - * Class Success - * - * @package Yireo\CheckoutTester2\Block - */ class Success extends Template { } diff --git a/Controller/Index/Success.php b/Controller/Index/Success.php index 6f58c07..6d4037a 100644 --- a/Controller/Index/Success.php +++ b/Controller/Index/Success.php @@ -1,5 +1,4 @@