TYPO3 Forger
  • Dashboard
  • Get involved
  • Reviews
    Overview Ready for review Work in progress Needs action Needs review Needs verification Needs rebase Negative votes Reviewed and verified Ready to merge
  • Issues
    Stale issues Possible duplicates By category By month
  • Sprints
    Overview Initiatives TYPO3 Core Review board
  • Tools
    Backports ReST helper
  • Help
  • Search
  • Login
Esc

Words find the open ones, a number the issue and the change with it.

  1. Issues
  2. #107300
Issue Task Closed

#107300Replace deprecated `SplObjectStorage` method calls

Stefan Bürk 08/16/25, 12:50 updated 12/02/25, 13:58

Open in Forge Comment in Forge

Description

PHP8.5.0beta1 deprecated following `SplObjectStorage` methods:

  • `SplObjectStorage::contains()` => `SplObjectStorage::offsetExists()`
  • `SplObjectStorage::attach()` => `SplObjectStorage::offsetSet()`
  • `SplObjectStorage::detach() => `SplObjectStorage::offsetUnset()`

[1] https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_splobjectstoragecontains_splobjectstorageattach_and_splobjectstoragedetach
2 https://github.com/php/php-src/blob/5f477d9457de1d78536961fa5679b638102b6631/UPGRADING#L410-L414

Reviews 3

  • 12.4 90419[TASK] Replace deprecated `SplObjectStorage` method calls Resolves this issue Merged Stefan Bürk CR +2 V +2 → main, 13.4 Normal +39 −39 09/02/25, 15:37
  • 13.4 90418[TASK] Replace deprecated `SplObjectStorage` method calls Resolves this issue Merged Stefan Bürk CR +2 V +2 → main, 12.4 Normal +39 −39 09/02/25, 15:36
  • main 90417[TASK] Replace deprecated `SplObjectStorage` method calls Resolves this issue Merged Stefan Bürk CR +2 V +2 → 13.4, 12.4 Normal +39 −39 09/02/25, 15:36
Assigned to
Stefan Bürk
Author
Stefan Bürk
Priority
Should have
TYPO3 version
12
© 2026 TYPO3 GmbH.
  • API
  • Privacy Policy
  • Legal Notice
  • Feedback