Skip to content

v2.0.0

Latest

Choose a tag to compare

@arslanim arslanim released this 31 Dec 08:59
  • updated version of usage rocketfellows/vies-vat-validation-php-sdk-interface to v1.2.0 - now vies vat validation php sdk rest service can use interface version 1.2.0;
  • the rocketfellows\ViesVatValidationInterface\VatNumberValidationResultFactory factory has been added to the rocketfellows\ViesVatValidationSoap\AbstractVatNumberValidationSoapService class as a dependency to create the VAT validation result from the SOAP service response;
  • the private functions handleResponse and handleSoapFault have been removed from the rocketfellows\ViesVatValidationSoap\AbstractVatNumberValidationSoapService class, because they were in fact wrappers over factory calls - now factories are called directly in rocketfellows\ViesVatValidationSoap\AbstractVatNumberValidationSoapService::validateVat;
  • unit tests have been improved - current ones have been changed, new ones have been added and unused test cases have been removed;
  • now, when processing a response from a service, if the response does not contain required parameters, the services will throw interface exceptions https://github.com/rocketfellows/vies-vat-validation-php-sdk-interface, which were added in version v1.2.0.