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

Commit

Permalink
Merge pull request #43 from spaze/spaze/stop-using-this
Browse files Browse the repository at this point in the history
Trigger a notice because some folks are still using the package, Packagist says
  • Loading branch information
spaze authored Nov 28, 2023
2 parents 6eff672 + 917d59b commit 9bd94f3
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 9bd94f3

Please sign in to comment.