wiki.techinc.nl/tests/phpunit/unit/includes/Permissions
Máté Szabó a5049b481f status: Log getMessage()/getWikiText() calls on good Statuses
Why:

- Calling getMessage()/getWikiText() with a good Status is a logic error
  that converts the Status being operated on into a fatal one.
- However, this error is never logged anywhere, which can make it
  difficult to diagnose such cases, as seen in
  I17166e988bf389a5b03d4a74f539f7bec7f5997f.

What:

- Add a warning-level log for the case when getMessage() or
  getWikiText() is invoked with a good Status.

Bug: T374436
Change-Id: I3efae5c4c336156924f1c9b4186fa9142aaed9ca
2024-10-04 18:32:24 +02:00
..
GrantsInfoTest.php Use real type hints for services etc. in includes/Permissions/ 2024-07-31 08:56:17 +00:00
GroupPermissionsLookupTest.php
PermissionManagerTest.php permissions: Use UserIdentityLookup in PermissionManager 2024-07-09 19:57:40 +00:00
PermissionStatusTest.php
RateLimitSubjectTest.php test: Add PHPUnit tests for RateLimitSubject 2024-02-15 11:17:43 +00:00
RestrictionStoreTest.php Add namespace to remaining parts of Wikimedia\ObjectCache 2024-09-27 16:19:10 -04:00
SimpleAuthorityTest.php
UltimateAuthorityTest.php
UserAuthorityTest.php status: Log getMessage()/getWikiText() calls on good Statuses 2024-10-04 18:32:24 +02:00