wiki.techinc.nl/includes/session
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
..
Hook Drop more unused hard deprecated hooks 2022-12-01 03:36:48 +01:00
BotPasswordSessionProvider.php Revert "Reorg: Move some of request related classes to MediaWiki/Request" 2022-10-27 13:14:16 +00:00
CookieSessionProvider.php Drop more unused hard deprecated hooks 2022-12-01 03:36:48 +01:00
CsrfTokenSet.php Revert "Reorg: Move some of request related classes to MediaWiki/Request" 2022-10-27 13:14:16 +00:00
CsrfTokenSetProvider.php Move CRSF token generation to CsrfTokenSet 2021-06-18 12:24:19 -07:00
ImmutableSessionProviderWithCookie.php Revert "Reorg: Move some of request related classes to MediaWiki/Request" 2022-10-27 13:14:16 +00:00
MetadataMergeException.php Mark exceptions as @newable 2020-07-08 17:51:38 +00:00
PHPSessionHandler.php session: Use wfTimestampNow() in PHPSessionHandler::gc for now 2022-10-05 19:44:44 +00:00
Session.php Make it possible to override the session in REST API tests 2023-02-06 18:56:51 +01:00
SessionBackend.php Fix even more PHPStorm inspections (#3) 2023-03-25 00:30:15 +00:00
SessionId.php Revert "Reorg: Move some of request related classes to MediaWiki/Request" 2022-10-27 13:14:16 +00:00
SessionInfo.php Replace "@stable for calling" by "@stable to call" 2020-07-13 08:55:28 +00:00
SessionManager.php Consistently use LogicException for test-only methods 2023-07-22 16:21:42 +00:00
SessionManagerInterface.php Revert "Reorg: Move some of request related classes to MediaWiki/Request" 2022-10-27 13:14:16 +00:00
SessionOverflowException.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
SessionProvider.php tests: Replace deprecated User::idFromName 2022-12-23 14:18:20 +00:00
SessionProviderInterface.php Allow SessionProviderInterface to say if it is safe against CSRF 2020-03-11 10:39:54 -05:00
Token.php Explicit cast TS_UNIX to int for arithmetic operations and int args 2022-01-11 20:13:13 +01:00
UserInfo.php Use UserRigorOptions directly 2022-03-25 10:06:34 +11:00