Uniform `VAT` case
manniL opened this issue ยท comments
Alexander Lichter commented
Hey ๐
A small not for the next major version:
Currently, there are two ways of writing VAT
in the code. The all-uppercase and the capitalized version Vat
.
(From the README)
try {
$validVAT = VatCalculator::isValidVATNumber('NL 123456789 B01');
} catch( VATCheckUnavailableException $e ){
// Please handle me
}
In my opinion it'd be great to agree on a uniform way of writing the abbreviation
Dries Vints commented
I think this is a reasonable request but it'd involve breaking changes. I'm not ready to do these right now. But maybe in a future major release we can consolidate the API. Thanks for your suggestion.