Moving hooks to their own class
This change is the first step to arrive at three main extension classes
(Hooks, VarStore, parser functions). As hooks aren't used by other extensions
directly, this shouldn't cause much disruption.
As there are multiple code files now, we can move them into a dedicated
includes/ directory, changing the filenames to match the classnames on the
way. While it's possible that people are loading the classes directly, I
don't think we should take such odd code into consideration. This allows
removing/softening multuiple adjustments and exceptions to Phan and Phpcs
as well.
Bug: T202421
Change-Id: I4909de5f398c4d67a73180a02476bbe3769fb3fd
6 files changed