Skip to content

Conversation

@tomaj
Copy link
Owner

@tomaj tomaj commented Aug 6, 2025

Summary

  • Added CsobMailParser for Czech ČSOB bank emails with multiple transaction support
  • Added SkCsobMailParser for Slovak ČSOB bank emails
  • Added TatraBankaStatementMailParser for encrypted PGP email statements
  • Added TatraBankaMailDecryptor helper class for PGP decryption
  • Included comprehensive test coverage for all new parsers
  • Updated README with usage examples for all parsers
  • Removed outdated codeclimate dependency from composer.json

Test plan

  • All new parsers have comprehensive unit tests
  • Tests include real email examples and edge cases
  • Documentation updated with usage examples
  • All parsers follow existing code conventions

Changes

New parsers:

  • src/Parsers/Csob/CsobMailParser.php - Czech ČSOB email parser
  • src/Parsers/Csob/SkCsobMailParser.php - Slovak ČSOB email parser
  • src/Parsers/TatraBanka/TatraBankaStatementMailParser.php - TatraBanka statement parser
  • src/Parsers/TatraBanka/TatraBankaMailDecryptor.php - PGP decryption helper

Tests:

  • tests/Parsers/Csob/CsobMailParserTest.php - 14 test cases covering various scenarios
  • tests/Parsers/Csob/SkCsobMailParserTest.php - Slovak ČSOB test cases
  • tests/Parsers/TatraBanka/TatraBankaStatementMailParserTest.php - Statement parser tests
  • tests/Parsers/TatraBanka/data/ - Test data files for encryption testing

Documentation:

  • Updated README.md with usage examples for all parsers
  • Added library description with supported banks

@tomaj tomaj force-pushed the add-csob-parsers branch from 0c80f66 to f16f0f7 Compare August 8, 2025 21:04
- Add CsobMailParser for Czech ČSOB bank emails with multi-transaction support
- Add SkCsobMailParser for Slovak ČSOB bank emails
- Add TatraBankaStatementMailParser for encrypted PGP email statements
- Add TatraBankaMailDecryptor helper class for PGP decryption
- Add comprehensive test coverage for all new parsers
- Add singpolyma/openpgp-php dependency for PGP functionality
- Add GitHub Actions CI/CD workflow with linter, static analysis, and tests
- Add PHPStan static analysis tool with configuration
- Replace Travis CI with GitHub Actions
- Update minimum PHP version requirement from 7.2 to 7.4
- Fix PHP CodeSniffer violations and PHP 7.4 compatibility issues
- Update README and CHANGELOG with usage examples and changes
@tomaj tomaj force-pushed the add-csob-parsers branch from f16f0f7 to 3726483 Compare August 8, 2025 21:05
@tomaj tomaj merged commit 20d09cc into master Aug 8, 2025
5 checks passed
@tomaj tomaj deleted the add-csob-parsers branch August 9, 2025 19:17
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.

2 participants