wiki.techinc.nl/includes/utils
Adam Wight 188d2cbbb0 Remove unchecked exception annotations
Callers should not catch an unchecked exception, so it doesn't belong
in a function signature.  Unchecked exceptions indicate a coding error,
which by definition the code will not be able to handle correctly.

If any of these exceptions were supposed to be in response to an edge
case, user input, or initial conditions, then they should be changed
to a runtime error.  If the exception class cannot be changed, then
the annotation should include a comment explaining its purpose and
prognosis.

Bug: T240672
Change-Id: I2e640b9737cb68090a8e1cb70067d1b74037d647
2024-09-17 22:20:58 +02:00
..
AutoloadGenerator.php Add namespace and deprecation alias to FormatJson 2024-05-16 16:28:01 +03:30
BatchRowIterator.php Remove unchecked exception annotations 2024-09-17 22:20:58 +02:00
BatchRowUpdate.php
BatchRowWriter.php Change more uses of getDBLoadBalancerFactory() to getConnectionProvider() 2024-01-23 16:34:45 +01:00
ClassCollector.php
ExecutableFinder.php
ExtensionInfo.php Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
FileContentsHasher.php Add namespace to the root classes of ObjectCache 2024-07-10 00:14:54 +03:30
GitInfo.php utils: Add missing documentation to class properties 2024-09-01 14:40:01 +00:00
MWCryptHKDF.php
MWCryptRand.php
MWFileProps.php Add namespace and deprecation alias to FileBackend 2024-05-19 22:35:58 +03:30
MWRestrictions.php utils: Add missing documentation to class properties 2024-09-01 14:40:01 +00:00
MWTimestamp.php Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
README Replace deprecated MWException 2024-01-16 21:04:33 +01:00
RowUpdateGenerator.php
UrlUtils.php namespace MWDebug 2024-05-03 22:59:47 +02:00
ZipDirectoryReader.php Merge "utils: Add missing documentation to class properties" 2024-09-01 15:19:10 +00:00
ZipDirectoryReaderError.php utils: Add missing documentation to class properties 2024-09-01 14:40:01 +00:00

The classes in this directory are general utilities for use by any part of
MediaWiki. They do not favour any particular user interface and are not
constrained to serve any particular feature. This is similar to includes/libs,
except that some dependency on the MediaWiki framework (such as the use of
Status or wfDebug()) disqualifies them from use outside of
MediaWiki without modification.

Utilities should not use global configuration variables, rather they should rely
on the caller to configure their behaviour.