While I fully support this, I think that this rule can be problematic:If a class extension is required to extend core methods then it must be extended properly, rather than overridden, by calling the parent method.
In some (really rare) cases it is "necessary" to completely override a parent method.
Example
I want to prevent misc/locationinfo from being usable. To do this, I'd normally just override
\XF\Pub\Controller\Misc::actionLocationInfo()
to return a nice error message like "This functionality has been administratively disabed".As this would not be allowed according to a/m rule, I would have to do this in a more complicated & inefficient way, for example by hooking into preDispatch.
@Chris D
What would be the preferred solution/advise here?