From 9891e4a29bb59ff3204a1091e6ba1da28ad025f2 Mon Sep 17 00:00:00 2001 From: Daniel Civit Date: Fri, 1 Dec 2023 10:55:42 +0100 Subject: [PATCH] Release of 5.12.0 (#341) --- CHANGELOG.md | 5 +++++ composer.json | 2 +- src/Api/Transactions/OrderRequest.php | 3 --- src/Util/Version.php | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c085ae..e5a9509 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [5.12.0] - 2023-12-01 +### Added ++ PHPSDK-139: Add support to set var1, var2 and var3, within the OrderRequest object ++ PHPSDK-140: Add support to set custom_info, within the OrderRequest object, thanks to @DaanDeSmedt + ## [5.11.2] - 2023-10-13 ### Fixed + PHPSDK-134: Fix errors when only reference is set, within the CustomerDetails object diff --git a/composer.json b/composer.json index 55004e7..cb5f067 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "MultiSafepay PHP SDK", "type": "library", "license": "MIT", - "version": "5.11.2", + "version": "5.12.0", "require": { "php": "^7.2|^8.0", "ext-json": "*", diff --git a/src/Api/Transactions/OrderRequest.php b/src/Api/Transactions/OrderRequest.php index b5e49aa..6ae72c9 100644 --- a/src/Api/Transactions/OrderRequest.php +++ b/src/Api/Transactions/OrderRequest.php @@ -464,7 +464,6 @@ public function addCustomInfo(CustomInfo $customInfo): OrderRequest return $this; } - /** * @param string $var1 * @return OrderRequest @@ -519,8 +518,6 @@ public function getVar3(): ?string return $this->var3; } - - /** * @return array * phpcs:disable ObjectCalisthenics.Files.FunctionLength diff --git a/src/Util/Version.php b/src/Util/Version.php index 682b7bf..e25268e 100644 --- a/src/Util/Version.php +++ b/src/Util/Version.php @@ -17,7 +17,7 @@ */ class Version { - public const SDK_VERSION = '5.11.2'; + public const SDK_VERSION = '5.12.0'; /** * @var Version