Skip to content

Introduces the ability to have custom handlers via filter - #18

Merged
dpanta94 merged 3 commits into
mainfrom
feat/introduce-the-ability-overwrite-the-handler-via-a-filter
Nov 17, 2025
Merged

Introduces the ability to have custom handlers via filter#18
dpanta94 merged 3 commits into
mainfrom
feat/introduce-the-ability-overwrite-the-handler-via-a-filter

Conversation

@dpanta94

@dpanta94 dpanta94 commented Nov 17, 2025

Copy link
Copy Markdown
Member

Summary

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📚 Documentation update
  • ⚡ Performance improvement
  • ♻️ Code refactoring
  • 🧪 Test improvements
  • 🔧 Chore (build process, dependencies, etc.)

Related Issues

Closes #

Pre-Submission Checklist

Code Quality

  • PHPStan analysis passes: composer test:analysis
  • PHP compatibility check passes: composer compatibility
  • Coding standards pass: vendor/bin/phpcs
  • All tests pass: slic run wpunit && slic run integration
  • No debug code (var_dump, error_log, etc.) left in production code
  • No commented-out code unless specifically needed for reference
  • Documentation updated for any new features or changed behavior
  • New tests have been added for new functionality
  • All existing tests continue to pass

📖 Read the full contributing guidelines: CONTRIBUTING.md

@dpanta94 dpanta94 self-assigned this Nov 17, 2025
@dpanta94
dpanta94 requested a review from lucatume November 17, 2025 16:32

@lucatume lucatume left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a test to cover the new filter behavior in the null, not a callable, callable and throwing callable case.

@dpanta94
dpanta94 requested a review from lucatume November 17, 2025 18:09
@dpanta94
dpanta94 merged commit 0af4cfc into main Nov 17, 2025
11 checks passed
@dpanta94
dpanta94 deleted the feat/introduce-the-ability-overwrite-the-handler-via-a-filter branch November 17, 2025 19:42
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