Skip to content

4.4.0

Choose a tag to compare

@alcohol alcohol released this 02 Nov 12:32
6ae6cab
  • Added: getByCountry() returns every currency used in a country (ISO 3166-1 alpha2)
  • Added: ISO4217 implements Countable and IteratorAggregate
  • Added: Alcohol\ISO4217\Exception\DomainException and OutOfBoundsException, which extend
    the SPL exceptions thrown so far and implement the Alcohol\ISO4217\Exception
    marker interface; existing catch blocks and exception messages are unaffected
  • Changed: tests moved to tests/ and excluded, together with tooling and CI config, from release archives
  • Changed: php-cs-fixer uses @PER-CS instead of @PSR2, PHPStan 2 now also analyses the tests
  • Changed: CI runs once per pull request, with read-only permissions, and uploads coverage from a single job
  • Changed: CI no longer runs a prefer-lowest PHPUnit matrix (there are no runtime dependencies to test at their lowest versions)

Full Changelog: 4.3.1...4.4.0