Review main Merged

92075[TASK] Avoid "Using null as an array offset is deprecated"

Josef Glatz CR +2 V +2 Easy +2 −2 updated 12/12/25, 14:24

Commit message

This change modifies TYPO3\CMS\Backend\Controller\getNewRecordControls
method using explicit empty string to avoid following deprecation:

  Using null as an array offset is deprecated
  use an empty string instead

For example: opening the backend module Records → select rootpage (uid
0) → click on "+ Create new record" does not throw the deprecation
anymore.

[1] https://wiki.php.net/rfc/deprecations_php_8_5

Review

  • Code review CR +2 Done
    • Christian Kuhn +2
    • Simon Schaufelberger +1
  • Verified V +2 Done
    • Christian Kuhn +2
    • Simon Schaufelberger +1
    • core-ci +1 CI

Issues 1

Files 1

Review log 1012

  1. Josef Glatz uploaded patch set 1 12/09/25, 21:09

  2. Josef Glatz commented on patch set 1 12/09/25, 21:09

    This change is ready for review.
  3. Josef Glatz wrote 12/09/25, 21:13

    Topic set to php-8.5
  4. core-ci voted on patch set 1 V -1 12/09/25, 21:18 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91931

  5. Josef Glatz voted on patch set 1 CR -1 12/09/25, 21:20

  6. Georg Ringer uploaded patch set 2 CR -1 V -1 12/10/25, 21:05

  7. core-ci voted on patch set 2 V +1 12/10/25, 21:13 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/92022

  8. Christian Kuhn voted on patch set 2 CR +1 12/11/25, 21:34

  9. Christian Kuhn voted on patch set 2 V +1 12/12/25, 13:15

  10. Simon Schaufelberger voted on patch set 2 CR +1 V +1 12/12/25, 13:17

  11. Christian Kuhn voted on patch set 2 CR +2 V +2 12/12/25, 13:27

  12. Christian Kuhn merged patch set 3 12/12/25, 14:24