From 91a4df688b6453aebc4329f1393ff336f0a60f9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C5=A0pa=C4=8Dek?= Date: Wed, 3 Jan 2024 05:11:32 +0100 Subject: [PATCH] Upgrade the EOL notice to a warning and link to the fork of this fork, too --- src/VatCalculator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VatCalculator.php b/src/VatCalculator.php index 98c2b58..7609f4e 100644 --- a/src/VatCalculator.php +++ b/src/VatCalculator.php @@ -37,7 +37,7 @@ class VatCalculator public function __construct(VatRates $vatRates, ?string $businessCountryCode = null, ?string $businessVatNumber = null, ?float $timeout = null) { - trigger_error('Hi, please stop using spaze/vat-calculator, it is not supported anymore, the VAT rates may be incorrect. Use https://github.com/driesvints/vat-calculator and for more info see https://github.com/spaze/vat-calculator/releases/tag/v3.6.6', E_USER_NOTICE); + trigger_error('Hi, please stop using spaze/vat-calculator, it is not supported anymore, the VAT rates are incorrect. Use https://github.com/driesvints/vat-calculator (the original) or https://github.com/JakubJachym/vat-calculator (fork of this fork, more features than the original) and for more info see https://github.com/spaze/vat-calculator/releases/tag/v3.6.7', E_USER_WARNING); $this->vatRates = $vatRates; if ($businessCountryCode) { $this->setBusinessCountryCode($businessCountryCode);