Fixed
Project:
Obfuscate Email
Version:
2.1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
4 Nov 2025 at 13:18 UTC
Updated:
24 Jul 2026 at 17:08 UTC
Jump to comment: Most recent
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
pcambraI think branch 2.1 should drop D9 support or maybe a 2.2 for this?
Comment #4
anybody@pcambra thanks! strpos exists since PHP5 so I don't think it needs conditions?
But instead we could now use str_contains, see #3324560: Replace strpos/substr with str_starts_with() / str_contains() / str_ends_with()
What do you think?
Also doesn't need the if, because Drupal 10 requires at least PHP 8.1. PHP 8.1. 6 is recommended!
Comment #5
anybody@pcambra I updated the MR accordingly.
Maybe you'd like to apply as co-maintainer in this module?
Comment #6
pcambraNot sure how to do that tbh :) but I could adopt it if there's no activity
Comment #7
vishal choudharyI reviewed the code in src/Plugin/Filter/ObfuscateEmail.php.
The change in commit 63fcb9e8 that replaces stripos() / stristr() with str_contains() is working as expected, and I did not find any issues during testing.
Based on my review, this issue can be moved to RTBC.
Comment #8
anybody@pcambra see https://www.google.com/search?client=firefox-b-d&q=drupal+maintainerhip+...
Thanks @vishal choudhary
Comment #10
b_sharpe commentedThanks