Skip to content

Commit 5347f3c

Browse files
committed
v1.1 auto commit
1 parent 0f8a82d commit 5347f3c

6 files changed

+12
-5
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [1.1.0] - 2021-03-15
10+
11+
### Changed
12+
- dx-php updated to 2.2.3, with latest change from MercadoPago team.
13+
914
## [1.0.3] - 2021-03-15
1015

1116
### Changed

composer.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "reyesoft/mercadopago",
33
"description": "This library helps to make payments through MercadoPago, even with QR",
44
"type": "library",
5+
"version": "1.1.0",
56
"keywords": ["qrcode", "payments", "mercadopago api", "reyesoft"],
67
"homepage": "https://github.com/reyesoft/mercadopago",
78
"license": "MIT",
@@ -18,7 +19,7 @@
1819
"php": ">=7.2",
1920
"endroid/qr-code": "^3.2",
2021
"ext-gd": "*",
21-
"pablorsk/dx-php": "1.7.3"
22+
"pablorsk/dx-php": "2.2.3"
2223
},
2324
"require-dev": {
2425
"reyesoft/ci": "1.2.0",
@@ -35,7 +36,7 @@
3536
},
3637
"autoload-dev": {
3738
"psr-4": {
38-
"MercadoPagoQr\\Tests\\": "tests/"
39+
"Tests\\": "tests/"
3940
}
4041
},
4142
"scripts": {

src/MercadoPagoOrder.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010

1111
namespace MercadoPagoQr;
1212

13-
use MercadoPago\InstoreOrder;
13+
14+
use MercadoPago\Entities\InstoreOrder;
1415

1516
/**
1617
* @see https://www.mercadopago.com.ar/developers/en/guides/instore-payments/qr-payments/qr-pos/ "Order object"

src/MercadoPagoPos.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
namespace MercadoPagoQr;
1212

1313
use Endroid\QrCode\QrCode;
14-
use MercadoPago\Pos as Pos;
14+
use MercadoPago\Entities\Pos as Pos;
1515

1616
/**
1717
* @see https://www.mercadopago.com.ar/developers/en/guides/instore-payments/qr-payments/qr-pos/ "Create QR"

tests/MercadoPagoQrTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
declare(strict_types=1);
1010

11-
namespace MercadoPagoQr\Tests;
11+
namespace Tests;
1212

1313
use MercadoPago\SDK;
1414
use MercadoPagoQr\MercadoPagoPos;

tests/image/mercadopago-qr-code.png

-178 Bytes
Loading

0 commit comments

Comments
 (0)