Review 13.4 Merged

97278[TASK] Replace deprecated spl_object_hash() calls

Benni Mack CR +2 V +2 Hard +265 −10 updated 11/01/26, 14:07

Commit message

PHP 8.6 deprecates spl_object_hash(). Use spl_object_id() for
request-local route names, debugger anchors and form validator cache
keys. The objects remain alive while their identifiers are in use.

Separate plugin namespaces from decimal object IDs in route names to
avoid ambiguous concatenation when a namespace ends in digits. Prefix
debugger anchors with object- and keep recurring-object links aligned.

Tests cover route-name uniqueness and namespace boundaries, recurring
debugger links and independent validators for distinct renderables.

The current PHP 8.6.0alpha3 testing image predates this deprecation.
Retain WIP status until the Forge issue and newer runtime checks are
available.

Review

  • Code review CR +2 Done
    • Benni Mack +2
  • Verified V +2 Done
    • Benni Mack +2
    • core-ci +1 CI

Issues 2

Files 8

Review log 34

  1. Benni Mack commented on patch set 1 11/01/26, 12:45

    Cherry Picked from branch 14.3.
  2. core-ci voted on patch set 1 V +1 11/01/26, 12:53 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113014

  3. Benni Mack voted on patch set 1 CR +2 V +2 11/01/26, 14:07

  4. Benni Mack merged patch set 2 11/01/26, 14:07