Task #90377

Deprecate $ref param types of method callUserFunction

Added by Alexander Schnitzler 8 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
-
Start date:
2020-02-15
Due date:
% Done:

100%

TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Passing a non object variable or non null value as third argument
"$ref" into method GeneralUtility::callUserFunction has been
deprecated.

As of TYPO3 version 11.0 said method argument must be either null
or of type object.


Related issues

Related to TYPO3 Core - Bug #91184: Hook minifyJavaScript triggers deprecated warning Closed 2020-04-24

Associated revisions

Revision 23d6af44 (diff)
Added by Alexander Schnitzler 8 months ago

[TASK] Deprecate $ref param types of method callUserFunction

Passing a non object variable or non null value as third argument
"$ref" into method GeneralUtility::callUserFunction has been
deprecated.

As of TYPO3 version 11.0 said method argument must be either null
or of type object.

Releases: master
Resolves: #90377
Change-Id: I83d75c1c78d1d41d94b6e497b04644e704b902db
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63075
Tested-by: TYPO3com <>
Tested-by: Benni Mack <>
Tested-by: Susanne Moog <>
Reviewed-by: Benni Mack <>
Reviewed-by: Susanne Moog <>

History

#1 Updated by Gerrit Code Review 8 months ago

  • Status changed from Accepted to Under Review

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63075

#2 Updated by Gerrit Code Review 8 months ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63075

#3 Updated by Anonymous 8 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#4 Updated by Benni Mack 6 months ago

  • Status changed from Resolved to Closed

#5 Updated by Georg Ringer 6 months ago

  • Related to Bug #91184: Hook minifyJavaScript triggers deprecated warning added

Also available in: Atom PDF