wiki.techinc.nl/includes/HookContainer
daniel dc436c3cff Introduce and apply NonSerializableTrait
The NonSerializableTrait prevents object serialization via php's native
serialization mechanism. Most objects are not safe to serialize, and
NonSerializableTrait provides a covenient and uniform way to protect
against serialization attempts.

This patch applies the NonSerializableTrait to some key classes in
MediaWiki.

Bug: T187731
Bug: T259181
Change-Id: I0c3b558d97e3415413bbaa3d98f6ebd5312c4a67
2020-09-28 21:55:49 +02:00
..
DeprecatedHooks.php Remove ParserBeforeStrip/ParserAfterStrip hooks, deprecated in 1.35 2020-09-20 14:12:18 +01:00
GlobalHookRegistry.php Add HookRegistry 2020-05-13 11:51:02 +10:00
HookContainer.php Introduce and apply NonSerializableTrait 2020-09-28 21:55:49 +02:00
HookRegistry.php Add HookRegistry 2020-05-13 11:51:02 +10:00
HookRunner.php Merge "Remove ParserBeforeStrip/ParserAfterStrip hooks, deprecated in 1.35" 2020-09-23 09:26:01 +00:00
ProtectedHookAccessorTrait.php Introduce ProtectedHookAccessorTrait and pilot the Hooks::run() migration 2020-05-13 13:50:32 +10:00
StaticHookRegistry.php Add HookRegistry 2020-05-13 11:51:02 +10:00