Problem/Motivation
As discovered by @quietone in #3179048-19: [meta] Remove dead code/unneeded compatibility layers now that PHP 8.1 is required:
I came across #1210798: In PHP 5.4+, html_entity_decode() doesn't decode invalid numeric entities which lead me to discover there are checks for PHP v 5.4 in core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php and core/tests/Drupal/Tests/Component/Utility/XssTest.php.
I haven't made an issue to remove those checks (I am focusing on something else right now) but noting it here in the hopes I come back or someone else picks this up.
This issue is created to remove these two, now _very_ obsolete checks.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3321945-2.patch | 2.08 KB | spokje |
Comments
Comment #2
spokjeComment #3
spokjeComment #4
spokjeComment #5
andypostNice clean up
Comment #7
catchAgreed these are extremely out of date, had a look that the issue this was spun out of and agree with marking that one won't fix as has already been done.
Since this is test-only dead code, committed/pushed to 10.1.x and 10.0.x, thanks!