[FEATURE] Add trait to detect public deprecated methods
The patch adds a new trait similar to the existing one for propreties to allow setting public methods to protected in a backwards compatible way. Resolves: #85247 Related: #81330 Releases: master Change-Id: Iaf6d7f328f7b5685e179f4a4b8f78fbeb419fb14 Reviewed-on: https://review.typo3.org/57156 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Mathias Brodala <mbrodala@pagemachine.de> Tested-by:
Mathias Brodala <mbrodala@pagemachine.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- typo3/sysext/core/Classes/Compatibility/PublicMethodDeprecationTrait.php 97 additions, 0 deletions...re/Classes/Compatibility/PublicMethodDeprecationTrait.php
- typo3/sysext/core/Documentation/Changelog/master/Feature-85247-TraitToDetectPublicDeprecatedMethods.rst 29 additions, 0 deletions...er/Feature-85247-TraitToDetectPublicDeprecatedMethods.rst
- typo3/sysext/core/Tests/UnitDeprecated/Compatibility/Fixtures/PublicMethodDeprecationTraitTextFixture.php 70 additions, 0 deletions...lity/Fixtures/PublicMethodDeprecationTraitTextFixture.php
- typo3/sysext/core/Tests/UnitDeprecated/Compatibility/PublicMethodDeprecationTraitTest.php 81 additions, 0 deletions...ecated/Compatibility/PublicMethodDeprecationTraitTest.php
- typo3/sysext/core/Tests/UnitDeprecated/Compatibility/PublicPropertyDeprecationTraitTest.php 3 additions, 0 deletions...ated/Compatibility/PublicPropertyDeprecationTraitTest.php
Please register or sign in to comment