Skip to content

Commit

Permalink
Merge pull request #52 from alma/feat/MPP-299/php-client-compatibilit…
Browse files Browse the repository at this point in the history
…y-with-php-82

fix: compatibility PHP 8.2
  • Loading branch information
Francois-Gomis authored Jun 26, 2023
2 parents 9b3a24f + 64479bf commit b24826a
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
.vscode
.php_cs.cache
.phpunit.result.cache
.idea
dist/
composer.lock

Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
CHANGELOG
=========

v1.11.0
-------
* Fix : Compatibility with PHP 8.2

v1.10.0
-------
* Added pay now payment plan behavior
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "alma/alma-php-client",
"description": "PHP API client for the Alma payments API",
"version": "1.10.0",
"version": "1.11.0",
"type": "library",
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.5.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

class Client implements LoggerAwareInterface
{
const VERSION = '1.10.0';
const VERSION = '1.11.0';

const LIVE_MODE = 'live';
const TEST_MODE = 'test';
Expand Down
2 changes: 1 addition & 1 deletion src/Entities/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

namespace Alma\API\Entities;

class Base
class Base extends \stdClass
{
/** @var string */
public $id;
Expand Down
1 change: 0 additions & 1 deletion src/PaginatedResults.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

namespace Alma\API;

use Alma\API\Entities\Base;
use Iterator;

class PaginatedResults implements Iterator
Expand Down

0 comments on commit b24826a

Please sign in to comment.