[wp-trac] [WordPress Trac] #31313: refactor is_email() tests to use separate data files and PHPUnit dataProvider
WordPress Trac
noreply at wordpress.org
Tue Mar 4 12:23:22 UTC 2025
#31313: refactor is_email() tests to use separate data files and PHPUnit
dataProvider
-----------------------------------------------+---------------------------
Reporter: salcode | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future
| Release
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: is-email has-patch has-unit-tests | Focuses:
-----------------------------------------------+---------------------------
Comment (by geekofshire):
Hey everyone,
I noticed that this ticket has been open for quite a while, and I wanted
to help move it forward. I've refactored the is_email() tests to use
dataProvider while keeping all test data in the same file for better
maintainability. Let me know if there’s any feedback or if anything else
needs to be updated!
Thanks!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31313#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list