Skip to content

Release v1.2.2

Choose a tag to compare

@github-actions github-actions released this 09 Jan 13:13
· 230 commits to main since this release

Release version 1.2.2: Fix ValidationCache tests and ParseDirectDebitCommand compatibility

  • Fixed ValidationCache tests with proper ArrayCache implementation
  • Fixed ParseDirectDebitCommand tests for Symfony 6+ compatibility
  • Fixed amount formatting in ParseDirectDebitCommand output
  • All tests now pass correctly
  • No breaking changes

Changelog

Fixed

  • ValidationCache Tests: Fixed cache implementation for tests
    • Created ArrayCache class for testing that properly implements PSR-16 SimpleCache interface methods
    • Fixed ValidationCache::get() logic to check has() before calling get() for better compatibility
    • All ValidationCache tests now pass correctly
  • ParseDirectDebitCommand Tests: Fixed Symfony 6+ compatibility
    • Removed deprecated Application::add() calls from tests (not needed in Symfony 6+)
    • Commands with #[AsCommand] attribute are automatically registered
    • All ParseDirectDebitCommand tests now pass correctly
  • ParseDirectDebitCommand Output: Fixed amount formatting
    • Amount values are now formatted with 2 decimal places using number_format()
    • Ensures consistent display format (e.g., "100.50" instead of "100.5")