[FEATURE] Provide a trait to support public access deprecation 28/52928/34
authorElmar Hinz <t3elmar@gmail.com>
Wed, 24 May 2017 08:00:14 +0000 (10:00 +0200)
committerBenni Mack <benni@typo3.org>
Thu, 30 Nov 2017 14:26:39 +0000 (15:26 +0100)
commit3d1fbfd430fd696dd21ff13ffb80ba9c03b29ab7
tree8229d82345c7eb4cccddac491b5e19109ba01af6
parent01465531745c930797664f14549ab917b51bd8e5
[FEATURE] Provide a trait to support public access deprecation

Provides a trait to leverage a smooth migration of public
property access to protected. For the period of deprecation
the access to the protected property is still possible and is
logged by the deprecation log. A unit test is included.

Resolves: #81330
Releases: master
Change-Id: I6293e460053eb38a633271ec877b3bc9a8527342
Reviewed-on: https://review.typo3.org/52928
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Classes/Compatibility/PublicPropertyDeprecationTrait.php [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Feature-81330-TraitToMigratePublicAccessToProtectedByDeprecation.rst [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Important-81330-DealingWithPropertiesThatAreMigratedToProtected.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit_Deprecated/Compatibility/PublicPropertyDeprecationTraitTest.php [new file with mode: 0644]