Skip to content

Release v1.2.15

Choose a tag to compare

@github-actions github-actions released this 04 Mar 16:19
· 186 commits to main since this release

Release 1.2.15

Changelog

Added

  • MandateStatusTest: Unit tests for MandateStatus::getValues() and MandateStatus::isValid()
  • BicLookupService: Tests for country not in switch (default branch), addMapping then lookup for existing country
  • CreditCardValidator: Tests for getCardType (Diners Club, JCB), mask with short number, getCardType with zero
  • CreditTransferGenerator: Test for BIC lookup filling transaction creditor BIC when IBAN is Spanish

Improved

  • Bundle / CI: Added brick/math constraint ^0.11 || ^0.12 || ^0.13 in root composer.json so installs on PHP 8.1 (including GitHub CI) resolve to a PHP 8.1‑compatible version (avoids brick/math 0.14.x which requires PHP 8.2+)
  • Demo Symfony 6.4: Constrained brick/math to ^0.11 || ^0.12 || ^0.13 in demo composer.json for PHP 8.1 compatibility (same reason as above)
  • Test coverage: Line coverage improved; @codeCoverageIgnore added for library-compatibility branches and defensive paths in CreditTransferGenerator and DirectDebitGenerator (alternative Digitick\Sepa API and DOM fallbacks that are not exercised with current library version)

Backward Compatibility

  • No breaking changes: Patch release; no migration required.