#85358Privately declare deprecated public methods/properties
Description
There are two traits PublicMethodDeprecationTrait and PublicPropertyDeprecationTrait. These require defining a property map which methods/properties should be handled.
To ensure deprecations continue to work even in classes extending these and overwriting the property map the property map must be declared private: