Changes to the use statements done automatically via script
Addition of missing use statement done manually
Change-Id: I230ada2f4ad95f86593759e8320d47acdf06a749
Changes to the use statements done automatically via script
Addition of missing use statement done manually
Change-Id: If99e2c98969579306c7fdc626658bec5d6e26b5d
Echo hook BeforeCreateEchoEvent is triggered very early in
Setup.php. This causes all dependencies of Thanks/Hooks to be
initialized. One of the places that is affected is the `addWiki.php`
script that tries to redefine the RevisionStore service, but cannot
due to fact it's already initialized.
Both Echo hooks (BeforeCreateEchoEvent and EchoGetBundleRules) do
not require any dependencies, and due to fact that one of those is
initialized early, let's move them to a separate small EchoHooks
class that would handle Echo specific logic.
Bug: T358236
Change-Id: I0e348872ba5dc313325e3f4f296fd84bfb2c785b