From 80c13331b248cf67b18c3c94df77dca22740cf38 Mon Sep 17 00:00:00 2001 From: Dmitry Fedyuk Date: Wed, 27 Sep 2017 18:23:41 +0300 Subject: [PATCH] 1.5.8 --- T/Card.php | 2 +- T/Charge.php | 2 +- T/Customer.php | 2 +- T/TestCase.php | 2 +- composer.json | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/T/Card.php b/T/Card.php index adea286..ab25a4d 100644 --- a/T/Card.php +++ b/T/Card.php @@ -14,7 +14,7 @@ function t01() { $api = $this->api(); /** @var oCard $oCard */ $oCard = $api->create((new iCard)->setToken($this->token())); - echo "Response ID: {$oCard->getId()}\n"; + print_r("Response ID: {$oCard->getId()}\n"); $this->showLastResponse(); } } \ No newline at end of file diff --git a/T/Charge.php b/T/Charge.php index 2e729f1..13b7707 100644 --- a/T/Charge.php +++ b/T/Charge.php @@ -41,7 +41,7 @@ function t01() { } /** 2017-02-11 */ - function t02_ListAll() {echo "Response data:\n" . df_json_encode($this->ids());} + function t02_ListAll() {print_r("Response data:\n" . df_json_encode($this->ids()));} /** * 2017-02-11 diff --git a/T/Customer.php b/T/Customer.php index cfc23ef..85a920a 100644 --- a/T/Customer.php +++ b/T/Customer.php @@ -20,7 +20,7 @@ function t01() { $iCustomer->setDescription('Дмитрий Федюк'); /** @var oCustomer $oCustomer */ $oCustomer = $api->create($iCustomer); - echo "Response ID: {$oCustomer->getId()}\n"; + print_r("Response ID: {$oCustomer->getId()}\n"); $this->showLastResponse(); } diff --git a/T/TestCase.php b/T/TestCase.php index b624e3a..ee53f3a 100644 --- a/T/TestCase.php +++ b/T/TestCase.php @@ -18,7 +18,7 @@ final protected function api() {return dfc($this, function() {return new API($th /** 2017-02-11 */ final protected function showLastResponse() { - echo "Response data:\n" . df_json_encode($this->api()->getLastResponse()) + print_r("Response data:\n" . df_json_encode($this->api()->getLastResponse())) ;} /** diff --git a/composer.json b/composer.json index ce5598f..c8fd732 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "mage2pro/paymill" - ,"version": "1.5.7" + ,"version": "1.5.8" ,"description": "The «Paymill» payment extension for Magento 2." ,"type": "magento2-module" ,"homepage": "https://mage2.pro/c/extensions/paymill" @@ -11,7 +11,7 @@ "homepage": "https://mage2.pro/users/dmitry_fedyuk", "role": "Developer" }] - ,"require": {"mage2pro/core": ">=2.11.36", "mage2pro/paymill-sdk": "^4.4.4"} + ,"require": {"mage2pro/core": ">=2.12.21", "mage2pro/paymill-sdk": "^4.4.4"} ,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\Paymill\\": ""}} ,"keywords": [ "3D Secure"