#111460Raise typo3/html-sanitizer to ^2.4.0
Description
Since the direct requirement of masterminds/html5 was removed with #111440, the library is only installed as a dependency of typo3/html-sanitizer, which allows ^2.7.6.
An installation with the lowest dependency versions therefore gets masterminds/html5 2.7.6, which calls spl_object_hash(). This function is deprecated since PHP 8.6, so the unitRandom job with composerInstallMin on PHP 8.6 fails:
Function spl_object_hash() is deprecated since 8.6, consider using spl_object_id() instead vendor/masterminds/html5/src/HTML5/Parser/DOMTreeBuilder.php:516
masterminds/html5 2.11.0 is the first version using spl_object_id(). typo3/html-sanitizer 2.4.0 requires masterminds/html5 ^2.11.0 and is tested on PHP 8.6, so raising typo3/html-sanitizer to ^2.4.0 restores the minimum version (see #111344) without bringing back the direct requirement.
Reviews 3
History 36
-
Georg Ringer commented and changed status
NewAccepted <span data-processor="relativetime" data-value="2026-11-15T08:31:27+00:00" > 11/15/26, 08:31 </span> -
Gerrit Code Review pushed patch set 1 for main to change 97670 status
AcceptedUnder Review <span data-processor="relativetime" data-value="2026-11-15T09:43:55+00:00" > 11/15/26, 09:43 </span> -
Benni Mack changed subject
Keep masterminds/html5 at a PHP 8.6 compatible minimum versionRaise typo3/html-sanitizer to ^2.4.0 description <span data-processor="relativetime" data-value="2026-11-15T09:46:58+00:00" > 11/15/26, 09:46 </span> -
Gerrit Code Review pushed patch set 1 for 14.3 to change 97671 <span data-processor="relativetime" data-value="2026-11-15T09:55:59+00:00" > 11/15/26, 09:55 </span>
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 97672 <span data-processor="relativetime" data-value="2026-11-15T09:56:02+00:00" > 11/15/26, 09:56 </span>
-
Benni Mack commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-11-15T10:00:16+00:00" > 11/15/26, 10:00 </span>Applied in changeset commit:d9fa115cb9b23aff3d2d46258fc21157ab0d1970.
https://github.com/TYPO3/html-sanitizer/pull/130