laravel-vat icon indicating copy to clipboard operation
laravel-vat copied to clipboard

Bump ibericode/vat to ^2.0

Open Restingo opened this issue 3 years ago • 5 comments

Bump ibericode/vat to ^2.0

Closes #22

Restingo avatar Sep 26 '22 12:09 Restingo

@dannyvankooten do you need sth from my side to merge? Thanks for your work! :-)

Restingo avatar Sep 26 '22 14:09 Restingo

@Restingo I'm afraid the PR isn't quite working yet. From a quick glance:

  • The Rates class doesn't resolve right now (namespace is incorrect).
  • The FacadesTest class doesn't run right now because of changed or deleted methods.
  • IIRC correctly, some methods changed names so the README examples would have to be updated as well.

dannyvankooten avatar Sep 26 '22 16:09 dannyvankooten

@Restingo I'm afraid the PR isn't quite working yet. From a quick glance:

  • The Rates class doesn't resolve right now (namespace is incorrect).
  • The FacadesTest class doesn't run right now because of changed or deleted methods.
  • IIRC correctly, some methods changed names so the README examples would have to be updated as well.

Thanks, I will check.

Restingo avatar Sep 26 '22 17:09 Restingo

@dannyvankooten do you have a hint on how to use the Facade as array like the new Countries class?

Restingo avatar Sep 26 '22 18:09 Restingo

@Restingo Since the test is about making sure the Facade resolves correctly I would just pick another method on the class to test.

For example:

self::assertEquals((new Countries())->hasCountryCode('NL'), CountriesFacade::hasCountryCode('NL'));

dannyvankooten avatar Sep 27 '22 07:09 dannyvankooten