[BUGFIX] Deprecate dependency injection with non public properties 81/58881/3
authorAlexander Schnitzler <git@alexanderschnitzler.de>
Mon, 3 Dec 2018 12:48:24 +0000 (13:48 +0100)
committerBenni Mack <benni@typo3.org>
Mon, 3 Dec 2018 20:02:33 +0000 (21:02 +0100)
commitba4ac56034dc688c473da54414fab6136ce069ee
tree9e544c09255863e64e5497e6e1ed19d3f0e785bd
parent9b6c77d8057ede4c4bffc22975b2ef4a0359f41e
[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 <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Documentation/Changelog/9.5.x/Deprecation-86907-DeprecateUsageOfDependencyInjectionWithNonPublicProperties.rst [new file with mode: 0644]
typo3/sysext/install/Configuration/ExtensionScanner/Php/PropertyAnnotationMatcher.php