Skip to content

Commit

Permalink
Make the version number too obvious
Browse files Browse the repository at this point in the history
  • Loading branch information
spaze committed Jan 3, 2024
1 parent f83c7e5 commit 6b6aada
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 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);
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.666', E_USER_WARNING);
$this->vatRates = $vatRates;
if ($businessCountryCode) {
$this->setBusinessCountryCode($businessCountryCode);
Expand Down

0 comments on commit 6b6aada

Please sign in to comment.