From 47039c3cb55328f48fcb2752c80eecd1a91e2e5c Mon Sep 17 00:00:00 2001 From: JAndreuSoler Date: Fri, 31 Mar 2023 09:42:49 +0200 Subject: [PATCH 1/3] fix: php 8 TypeError --- .../addons/dondominio/lib/Services/WHMCS_Service.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/addons/dondominio/lib/Services/WHMCS_Service.php b/src/modules/addons/dondominio/lib/Services/WHMCS_Service.php index 7ec15ae..a59e3bb 100644 --- a/src/modules/addons/dondominio/lib/Services/WHMCS_Service.php +++ b/src/modules/addons/dondominio/lib/Services/WHMCS_Service.php @@ -955,7 +955,7 @@ public function savePricingsForEur(Pricing_Model $tld) $register[$i - 1] = $register_price * $i; } } else { - $register[$term - 1] = $register_price * $term; + $register[(int) $term - 1] = $register_price * (int) $term; } } @@ -970,7 +970,7 @@ public function savePricingsForEur(Pricing_Model $tld) $transfer[$i - 1] = $transfer_price * $i; } }else{ - $transfer[$term - 1] = $transfer_price * $term; + $transfer[(int) $term - 1] = $transfer_price * (int) $term; } } @@ -985,7 +985,7 @@ public function savePricingsForEur(Pricing_Model $tld) $renew[$i - 1] = $renew_price * $i; } }else{ - $renew[$term - 1] = $renew_price * $term; + $renew[(int) $term - 1] = $renew_price * (int) $term; } } From f14d9a1f7c8b96272446db304558cfd690ce6f4f Mon Sep 17 00:00:00 2001 From: JAndreuSoler Date: Fri, 31 Mar 2023 09:45:30 +0200 Subject: [PATCH 2/3] docs: CHANGELOG --- CHANGELOG-en.md | 4 ++++ CHANGELOG-es.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG-en.md b/CHANGELOG-en.md index 04d48f6..2dcbe14 100644 --- a/CHANGELOG-en.md +++ b/CHANGELOG-en.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.2.13] - 2023-03-31 +### fixed +- PHP8 TypeError. + ## [2.2.12] - 2023-03-14 ### fixed - UpdateClientDomain Error. diff --git a/CHANGELOG-es.md b/CHANGELOG-es.md index da255ff..4956747 100644 --- a/CHANGELOG-es.md +++ b/CHANGELOG-es.md @@ -7,6 +7,10 @@ y este proyecto se adhiere a [Semantic Versioning](https://semver.org/spec/v2.0. ## [Pendiente por lanzar] +## [2.2.13] - 2023-03-31 +### fixed +- PHP8 TypeError. + ## [2.2.12] - 2023-03-14 ### fixed - UpdateClientDomain Error. From 46c2e423177fee388cfd10369769db5171ff6fa7 Mon Sep 17 00:00:00 2001 From: JAndreuSoler Date: Fri, 31 Mar 2023 09:46:40 +0200 Subject: [PATCH 3/3] ci: Update Version --- README-en.md | 2 +- README.md | 2 +- composer.json | 2 +- src/modules/addons/dondominio/version.json | 4 ++-- src/modules/registrars/dondominio/version.json | 4 ++-- src/modules/servers/dondominiossl/version.json | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README-en.md b/README-en.md index 8c43557..a9b2988 100644 --- a/README-en.md +++ b/README-en.md @@ -8,7 +8,7 @@ This project has all the developed integrations between MrDomain and WHMCS. ## Status | Version | |:--------| -| 2.2.12 | +| 2.2.13 | ## Requirements | Name | Version | diff --git a/README.md b/README.md index 32ec291..bcd75f0 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Este proyecto contiene todos los módulos desarrollados entre DonDominio y WHMCS ## Estado | Version | |:--------| -| 2.2.12 | +| 2.2.13 | ## Requerimientos | Name | Version | diff --git a/composer.json b/composer.json index 02eda5c..b8d043d 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "dondominio/whmcs", "description": "DonDominio - WHCMCS Modules Integration", - "version": "2.2.12", + "version": "2.2.13", "license": "LGPL-3.0-only", "type": "project", "minimum-stability": "dev", diff --git a/src/modules/addons/dondominio/version.json b/src/modules/addons/dondominio/version.json index 2455889..12246e0 100644 --- a/src/modules/addons/dondominio/version.json +++ b/src/modules/addons/dondominio/version.json @@ -1,4 +1,4 @@ { - "version": "2.2.12", - "releaseDate": "2023-03-14" + "version": "2.2.13", + "releaseDate": "2023-03-31" } diff --git a/src/modules/registrars/dondominio/version.json b/src/modules/registrars/dondominio/version.json index 4313a55..cf439a4 100644 --- a/src/modules/registrars/dondominio/version.json +++ b/src/modules/registrars/dondominio/version.json @@ -1,4 +1,4 @@ { - "version": "2.2.12", - "releaseDate": "2023-03-14" + "version": "2.2.13", + "releaseDate": "2023-03-31" } \ No newline at end of file diff --git a/src/modules/servers/dondominiossl/version.json b/src/modules/servers/dondominiossl/version.json index 2455889..12246e0 100644 --- a/src/modules/servers/dondominiossl/version.json +++ b/src/modules/servers/dondominiossl/version.json @@ -1,4 +1,4 @@ { - "version": "2.2.12", - "releaseDate": "2023-03-14" + "version": "2.2.13", + "releaseDate": "2023-03-31" }