Skip to content

Commit ded114c

Browse files
1.2.1: «Use of echo language construct is discouraged»: mage2pro/core#28
1 parent 2627d3d commit ded114c

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

T/CreateOrder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ final function t01_success() {
128128
*/
129129
,'webhook_url' => 'https://mage2.pro'
130130
]);
131-
echo $this->api()->lastResponse();
131+
print_r($this->api()->lastResponse());
132132
}
133133

134134
/**

T/GetIdealBanks.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ abstract class GetIdealBanks extends TestCase {
1212
*/
1313
final function t01() {
1414
print_r($this->api()->idealBanks());
15-
echo $this->api()->lastResponse();
15+
print_r($this->api()->lastResponse());
1616
}
1717
}

T/GetMerchant.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ abstract class GetMerchant extends TestCase {
2323
*/
2424
final function t01() {
2525
print_r($this->api()->products($this->merchantId(), $this->projectId()));
26-
echo $this->api()->lastResponse();
26+
print_r($this->api()->lastResponse());
2727
}
2828

2929
/**

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mage2pro/ginger-payments-base"
3-
,"version": "1.2.0"
3+
,"version": "1.2.1"
44
,"description": "The common implementation part of my «Kassa Compleet» and «Ginger Payments» payment extensions for Magento 2."
55
,"type": "magento2-module"
66
,"homepage": "https://mage2.pro/c/extensions"
@@ -11,7 +11,7 @@
1111
"homepage": "https://mage2.pro/users/dmitry_fedyuk",
1212
"role": "Developer"
1313
}]
14-
,"require": {"guzzlehttp/guzzle": ">=2.5.10", "mage2pro/core": ">=2.12.6"}
14+
,"require": {"guzzlehttp/guzzle": ">=2.12.21", "mage2pro/core": ">=2.12.6"}
1515
,"autoload": {"files": ["registration.php"], "psr-4": {"Df\\GingerPaymentsBase\\": ""}}
1616
,"keywords": [
1717
"3D Secure"

0 commit comments

Comments
 (0)