Skip to content

Conversation

@mstralka
Copy link

I refactored the package names and fixed the unit tests so it will comply with PSR-4 naming. This fixes #13

}
if ($apiVersion == null) {
$this->apiVersion = '5.0';
$this->apiVersion = '5.3';
Copy link

@yakushevi yakushevi May 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mstralka Tested this and unfortunately nameapi do not have a /5.3/ endpoint and the requests return 404.
You should revert it back to "5.0".

You can find a similar commit from 2017: f2ff68f

Edit: Solved it by changing the host from rc50-api.nameapi.org to rc53-api.nameapi.org so you should probably disregard this comment.

…ied the PersonNameParserService to use these functions because the API throws a 500 exception if the payload has attributes with NULL values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Package does not comply with PSR-4

2 participants