wiki.techinc.nl/includes/HookContainer
thiemowmde ef84619cd3 Consistently use LogicException for test-only methods
"BadMethodCallException" sounds like it would fit, but it does
have a very different meaning, described as "exception thrown if
a callback refers to an undefined method or if some arguments are
missing". This is not what's going on here. These are methods that
should only be called from unit tests.

This appears to be a common mistake, often copy-pasted.

Change-Id: Ib39e28f596a883481d5f526460a5c871c75f5313
2023-07-22 16:21:42 +00:00
..
DeprecatedHooks.php interwiki: Hard deprecate InterwikiLoadPrefix hook 2023-07-10 15:45:38 +03:00
FauxGlobalHookArray.php Make $wgHooks trigger deprecation warnings. 2023-03-29 07:29:37 +00:00
FauxHookHandlerArray.php Simplify HookContainer (v2) 2023-06-06 12:06:23 +02:00
HookContainer.php Consistently use LogicException for test-only methods 2023-07-22 16:21:42 +00:00
HookRegistry.php
HookRunner.php Remove deprecated SkinTemplateNavigation hooks 2023-06-21 23:20:01 +01:00
ProtectedHookAccessorTrait.php
StaticHookRegistry.php