Skip to content

Commit

Permalink
Upgrade the EOL notice to a warning and link to the fork of this fork…
Browse files Browse the repository at this point in the history
…, too
  • Loading branch information
spaze committed Jan 3, 2024
1 parent f08fc6b commit 91a4df6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VatCalculator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 91a4df6

Please sign in to comment.