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

Commit 917d59b

Browse files
committed
Trigger a notice because some folks are still using the package, Packagist says
1 parent 6eff672 commit 917d59b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/VatCalculator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class VatCalculator
3737

3838
public function __construct(VatRates $vatRates, ?string $businessCountryCode = null, ?string $businessVatNumber = null, ?float $timeout = null)
3939
{
40+
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);
4041
$this->vatRates = $vatRates;
4142
if ($businessCountryCode) {
4243
$this->setBusinessCountryCode($businessCountryCode);

0 commit comments

Comments
 (0)