Skip to content
Snippets Groups Projects
Commit 9b1849ba authored by Stefan Bürk's avatar Stefan Bürk Committed by Christian Kuhn
Browse files

[BUGFIX] Deprecation free ArrayObject in extbase Controller/Arguments

ext:extbase Controller/Arguments extends ArrayObject
which implements several interfaces. Since PHP 8.1
added concrete return types this triggers deprecation
messages, and in cases of inheritance fatal.

This patch adds #[\ReturnTypeWillChange] to methods
as we cannot add concrete return types without beeing
breaking. Also add corresponding @todos to add them
as breaking patch in v12.

Resolves: #95748
Releases: master
Change-Id: I4f9e2d9bc57df06146e17b2d20773db327237851
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71951


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarSimon Gilli <typo3@gilbertsoft.org>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarSimon Gilli <typo3@gilbertsoft.org>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 2baa62ab
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment