Completed
Pull Request — master (#114)
by Florian
03:49
created
Test/Unit/Controller/Onepage/RedirectTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -28,10 +28,8 @@
 block discarded – undo
28 28
 
29 29
 use Payone\Core\Controller\Onepage\Redirect as ClassToTest;
30 30
 use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;
31
-use Magento\Sales\Model\Order as OrderCore;
32 31
 use Magento\Checkout\Model\Session;
33 32
 use Magento\Framework\App\Action\Context;
34
-use Magento\Customer\Model\Session as CustomerSession;
35 33
 use Magento\Store\App\Response\Redirect as RedirectResponse;
36 34
 use Magento\Framework\App\Console\Response;
37 35
 use Magento\Framework\UrlInterface;
Please login to merge, or discard this patch.
Test/Unit/Controller/Onepage/ReturnedTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -28,10 +28,8 @@
 block discarded – undo
28 28
 
29 29
 use Payone\Core\Controller\Onepage\Returned as ClassToTest;
30 30
 use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;
31
-use Magento\Sales\Model\Order as OrderCore;
32 31
 use Magento\Checkout\Model\Session;
33 32
 use Magento\Framework\App\Action\Context;
34
-use Magento\Customer\Model\Session as CustomerSession;
35 33
 use Magento\Store\App\Response\Redirect as RedirectResponse;
36 34
 use Magento\Framework\App\Console\Response;
37 35
 use Magento\Framework\App\ResponseInterface;
Please login to merge, or discard this patch.
Test/Unit/Controller/Paypal/ExpressTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,6 @@
 block discarded – undo
28 28
 
29 29
 use Payone\Core\Controller\Paypal\Express as ClassToTest;
30 30
 use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;
31
-use Magento\Sales\Model\Order as OrderCore;
32 31
 use Magento\Framework\Controller\Result\Redirect;
33 32
 use Magento\Checkout\Model\Session;
34 33
 use Magento\Framework\Controller\ResultFactory;
Please login to merge, or discard this patch.
Test/Unit/Controller/Paypal/ReturnedTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,6 @@
 block discarded – undo
28 28
 
29 29
 use Payone\Core\Controller\Paypal\Returned as ClassToTest;
30 30
 use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;
31
-use Magento\Sales\Model\Order as OrderCore;
32 31
 use Magento\Framework\Controller\Result\Redirect;
33 32
 use Magento\Checkout\Model\Session;
34 33
 use Payone\Core\Model\Paypal\ReturnHandler;
Please login to merge, or discard this patch.
Test/Unit/Model/Methods/BaseMethodTest.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,11 +28,10 @@
 block discarded – undo
28 28
 
29 29
 use Magento\Payment\Model\Method\AbstractMethod;
30 30
 use Magento\Sales\Model\Order;
31
-use Payone\Core\Model\Methods\Paydirekt as ClassToTest;
31
+use Payone\Core\Model\Methods\Paydirekt;
32 32
 use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;
33 33
 use Payone\Core\Helper\Shop;
34 34
 use Magento\Framework\App\Config\ScopeConfigInterface;
35
-use Payone\Core\Model\Methods\Paydirekt;
36 35
 use Payone\Core\Model\PayoneConfig;
37 36
 use Magento\Payment\Model\Info;
38 37
 use Payone\Core\Model\Api\Request\Authorization;
Please login to merge, or discard this patch.
Model/Api/Payolution/PrivacyDeclaration.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,6 @@
 block discarded – undo
26 26
 
27 27
 namespace Payone\Core\Model\Api\Payolution;
28 28
 
29
-use Locale;
30
-
31 29
 /**
32 30
  * Class for requesting the privacy declaration from payolution
33 31
  */
Please login to merge, or discard this patch.
Model/Methods/Payolution/PayolutionBase.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,6 @@
 block discarded – undo
28 28
 
29 29
 use Payone\Core\Model\PayoneConfig;
30 30
 use Magento\Sales\Model\Order;
31
-use Magento\Payment\Model\InfoInterface;
32 31
 use Magento\Framework\Exception\LocalizedException;
33 32
 use Payone\Core\Model\Methods\PayoneMethod;
34 33
 use Magento\Framework\DataObject;
Please login to merge, or discard this patch.
Model/Api/Request/Base.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -268,7 +268,6 @@
 block discarded – undo
268 268
 
269 269
     /**
270 270
      * Send the previously prepared request, log request and response into the database and return the response
271
-
272 271
      * @param  PayoneMethod $oPayment
273 272
      * @return array
274 273
      */
Please login to merge, or discard this patch.
Test/Unit/Helper/RequestTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,6 @@
 block discarded – undo
36 36
 use Payone\Core\Helper\Environment;
37 37
 use Payone\Core\Helper\Shop;
38 38
 use Payone\Core\Model\PayoneConfig;
39
-use Locale;
40 39
 use Payone\Core\Test\Unit\BaseTestCase;
41 40
 use Payone\Core\Model\Test\PayoneObjectManager;
42 41
 
Please login to merge, or discard this patch.