Completed
Push — master ( 44dc6b...3ab156 )
by Florian
10s
created
Test/Unit/Model/ResourceModel/CheckedAddressesTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,6 @@
 block discarded – undo
32 32
 use Magento\Quote\Api\Data\AddressInterface;
33 33
 use Magento\Framework\Model\ResourceModel\Db\Context;
34 34
 use Magento\Framework\App\ResourceConnection;
35
-use Magento\Framework\DB\Adapter\AdapterInterface;
36 35
 use Payone\Core\Test\Unit\BaseTestCase;
37 36
 use Payone\Core\Test\Unit\PayoneObjectManager;
38 37
 use Magento\Framework\DB\Select;
Please login to merge, or discard this patch.
Test/Unit/Service/V1/AddresscheckTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -27,13 +27,11 @@
 block discarded – undo
27 27
 namespace Payone\Core\Test\Unit\Service\V1\Data;
28 28
 
29 29
 use Payone\Core\Service\V1\Addresscheck as ClassToTest;
30
-use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;
31 30
 use Payone\Core\Model\Risk\Addresscheck;
32 31
 use Magento\Quote\Api\Data\AddressInterface;
33 32
 use Payone\Core\Service\V1\Data\AddresscheckResponse;
34 33
 use Payone\Core\Service\V1\Data\AddresscheckResponseFactory;
35 34
 use Payone\Core\Test\Unit\BaseTestCase;
36
-use Payone\Core\Test\Unit\PayoneObjectManager;
37 35
 
38 36
 class AddresscheckTest extends BaseTestCase
39 37
 {
Please login to merge, or discard this patch.
Test/Unit/Service/V1/InstallmentPlanTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,6 @@  discard block
 block discarded – undo
27 27
 namespace Payone\Core\Test\Unit\Service\V1\Data;
28 28
 
29 29
 use Payone\Core\Service\V1\InstallmentPlan as ClassToTest;
30
-use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;
31 30
 use Payone\Core\Service\V1\Data\InstallmentPlanResponse;
32 31
 use Payone\Core\Api\Data\InstallmentPlanResponseInterfaceFactory;
33 32
 use Magento\Checkout\Model\Session;
@@ -36,7 +35,6 @@  discard block
 block discarded – undo
36 35
 use Payone\Core\Model\Api\Request\Genericpayment\Calculation;
37 36
 use Payone\Core\Block\Payolution\InstallmentPlan;
38 37
 use Payone\Core\Test\Unit\BaseTestCase;
39
-use Payone\Core\Test\Unit\PayoneObjectManager;
40 38
 
41 39
 class InstallmentPlanTest extends BaseTestCase
42 40
 {
Please login to merge, or discard this patch.
Observer/Transactionstatus/Appointed.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
         }
124 124
 
125 125
         // preauthorization-orders and advance payment should not create an invoice
126
-        if ($oOrder->getPayoneAuthmode() != 'authorization' || $oOrder->getPayment()->getMethodInstance()->getCode() == PayoneConfig::METHOD_ADVANCE_PAYMENT){
126
+        if ($oOrder->getPayoneAuthmode() != 'authorization' || $oOrder->getPayment()->getMethodInstance()->getCode() == PayoneConfig::METHOD_ADVANCE_PAYMENT) {
127 127
             return;
128 128
         }
129 129
 
Please login to merge, or discard this patch.
Helper/Base.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
     /**
119 119
      * Checks if the given value is json encoded
120 120
      *
121
-     * @param  $sValue
121
+     * @param  string $sValue
122 122
      * @return bool
123 123
      */
124 124
     protected function isJson($sValue)
Please login to merge, or discard this patch.