This release moves the library into using PHP 8.
Migrating from Travis CI to GitHub actions for automatically running unit tests.
This release bumps the PHP version requirement to PHP 7.2 or higher. It also updates to the latest API URL available.
This release moves the library into using PHP 7:
- Upgrade of Guzzle, Guzzle Services dependencies
- Upgrade of phpunit development dependency
- Code and tests updated for changes in dependencies
- Code style updated to adhere to PSR-2
- Other code polish items to modernize the code base, e.g., type hints
Updating Enum\AbstractProperty
to include a key for the ratings data. Integration tests updated accordingly.
Upgrading to Guzzle Services 0.5.0 to address XML issues mentioned in Issue 3. Required upgrading to Guzzle 5.* in turn
requiring a change in how the test framework behaves (uses new MockHandler class) and how the second parameter to
sprak3000\AnimeNewsNetworkDataAPI\Client
works. It now takes an array of Guzzle options; for the testing framework,
this means we pass ['handler' => $mockHandler]
in as the second parameter.
Also, the result returned by the API is now an array; you no longer need to call toArray()
.
Proper PSR4 fix.
PSR4 Fix
Initial release of the Anime News Network game data wrapper.