Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor StripTags filter to implement FlterInterface #214

Merged
merged 3 commits into from
Jan 6, 2025

Conversation

marcelthole
Copy link

Q A
Documentation yes
Bugfix no
BC Break yes
New Feature no
RFC yes
QA no

Description

Move StripTags filter also to the implementation via FilterInterface and removed the AbstractFilter

@marcelthole marcelthole force-pushed the refactor-striptags-filter branch from 7395ec0 to 2b20abb Compare January 2, 2025 15:27
Signed-off-by: Marcel Thole <[email protected]>
@marcelthole marcelthole force-pushed the refactor-striptags-filter branch from 2b20abb to ee475e1 Compare January 2, 2025 15:30
@froschdesign froschdesign added this to the 3.0.0 milestone Jan 3, 2025
Copy link
Member

@gsteel gsteel left a comment

Choose a reason for hiding this comment

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

Thanks @marcelthole

I added another commit to further simplify the options as readonly properties without a private setter method. Also, the options were tightened up so that tags are always array<string, list<string>> and global attributes are list<string>.

I would have done this via review, but was having trouble communicating my intentions!

@gsteel gsteel self-assigned this Jan 4, 2025
@gsteel gsteel merged commit 71e42cc into laminas:3.0.x Jan 6, 2025
16 of 17 checks passed
@marcelthole marcelthole deleted the refactor-striptags-filter branch January 7, 2025 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants