Skip to content
This repository has been archived by the owner on Oct 27, 2024. It is now read-only.

Commit

Permalink
Trigger a notice because some folks are still using the package, Pack…
Browse files Browse the repository at this point in the history
…agist says
  • Loading branch information
spaze committed Nov 28, 2023
1 parent 6eff672 commit 917d59b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/VatCalculator.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +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);
$this->vatRates = $vatRates;
if ($businessCountryCode) {
$this->setBusinessCountryCode($businessCountryCode);
Expand Down

0 comments on commit 917d59b

Please sign in to comment.