Skip to content

Commit a1e163f

Browse files
author
Raúl
authored
Merge pull request #60 from afterpay/EIT-2354
CBT improves and PHP 8.2 support
2 parents 7a384f8 + 29a26aa commit a1e163f

File tree

5 files changed

+14
-3
lines changed

5 files changed

+14
-3
lines changed

.github/workflows/php.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
strategy:
4646
matrix:
47-
php: [ '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1' ]
47+
php: [ '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ]
4848
include:
4949
- php: '5.6'
5050
mysql: '5.6'
@@ -69,6 +69,9 @@ jobs:
6969

7070
- php: '8.1'
7171
mysql: '8.0'
72+
73+
- php: '8.2'
74+
mysql: '8.0'
7275
fail-fast: false
7376

7477
name: PHP ${{ matrix.php }}

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## Version 1.6.1
4+
5+
_Thu 16 Mar 2023_
6+
7+
- Added CBT getConfiguration Parameter (EIT-2354).
8+
- Added support for PHP 8.2 (EIT-2355).
9+
310
## Version 1.6.0
411

512
_Wed 30 Nov 2022_

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ Each release is verified in the following test environments:
7474
| 7.4 | 8.0 | 9 |
7575
| 8.0 | 8.0 | 9 |
7676
| 8.1 | 8.0 | 9 |
77+
| 8.2 | 8.0 | 9 |
7778

7879
However, it is always recommended to also test all software in your own unique environment prior
7980
to deploying to production.

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "afterpay-global/afterpay-sdk-php",
33
"license": "Apache-2.0",
44
"description": "Official Afterpay SDK for PHP",
5-
"version": "1.6.0",
5+
"version": "1.6.1",
66
"authors": [
77
{
88
"name": "Afterpay",

src/HTTP/Request/GetConfiguration.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function __construct(...$args)
2727
parent::__construct(... $args);
2828

2929
$this
30-
->setUri('/v2/configuration?include=activeCountries&include=cbt')
30+
->setUri('/v2/configuration?include=activeCountries&include=cbt&include=merchantCountry')
3131
->configureBasicAuth()
3232
;
3333
}

0 commit comments

Comments
 (0)