Feature: #85247 - Trait to detect public deprecated methods
See forge#85247
Description
The trait \TYPO3\
has been added
to allow setting public methods to protected in a backwards compatible way.
The core uses this trait to set public methods that should be protected or private but
are accessible code wise for historical reasons, while extensions using the methods do not
break, but a PHP E_
error is triggered.
Classes using this trait have a property $deprecated
that lists all
methods covered by the trait.
Impact
Core classes using this trait trigger PHP E_
errors if an extension uses a method that
has been made protected using the trait functionality.