[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>
Showing
- typo3/sysext/core/Classes/Compatibility/PublicPropertyDeprecationTrait.php 136 additions, 0 deletions.../Classes/Compatibility/PublicPropertyDeprecationTrait.php
- typo3/sysext/core/Documentation/Changelog/master/Feature-81330-TraitToMigratePublicAccessToProtectedByDeprecation.rst 25 additions, 0 deletions...30-TraitToMigratePublicAccessToProtectedByDeprecation.rst
- typo3/sysext/core/Documentation/Changelog/master/Important-81330-DealingWithPropertiesThatAreMigratedToProtected.rst 71 additions, 0 deletions...81330-DealingWithPropertiesThatAreMigratedToProtected.rst
- typo3/sysext/core/Tests/Unit_Deprecated/Compatibility/PublicPropertyDeprecationTraitTest.php 143 additions, 0 deletions...ated/Compatibility/PublicPropertyDeprecationTraitTest.php
Please register or sign in to comment