Task #86907

Deprecate usage of @inject with non public properties

Added by Alexander Schnitzler 9 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Must have
Category:
Extbase
Target version:
Start date:
2018-11-10
Due date:
% Done:

100%

TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Sprint Focus:

Related issues

Related to TYPO3 Core - Feature #82869: Replace @inject with @Extbase\Inject Closed 2017-10-27

Associated revisions

Revision ba4ac560 (diff)
Added by Alexander Schnitzler 9 months ago

[BUGFIX] Deprecate dependency injection with non public properties

Using non public properties for dependency injection has been
deprecated. While dependency injection with public properties
still works, it is recommended to switch to constructor or
setter injection.

Releases: master
Resolves: #86907
Change-Id: I48b076cd4594cd94aeec7be4973b7102e1eab2f5
Reviewed-on: https://review.typo3.org/58881
Tested-by: TYPO3com <>
Reviewed-by: Georg Ringer <>
Tested-by: Georg Ringer <>
Reviewed-by: Benni Mack <>
Tested-by: Benni Mack <>

History

#1 Updated by Alexander Schnitzler 9 months ago

  • Related to Feature #82869: Replace @inject with @Extbase\Inject added

#2 Updated by Gerrit Code Review 9 months ago

  • Status changed from Accepted to Under Review

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

#3 Updated by Gerrit Code Review 9 months ago

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

#4 Updated by Anonymous 9 months ago

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

#5 Updated by Benni Mack 3 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF