wiki.techinc.nl/includes/utils
Umherirrender 44fd53fee3 Using @return never documentation on always-throw-function
This helps phan to detect unreachable code and also impossible types
after the functions.
It helps phan to avoid false positives for array keys
when the keys are checked before

Bug: T240141
Change-Id: I895f70e82b3053a46cd44135b15437e6f82a07b2
2021-09-07 17:29:03 +02:00
..
AutoloadGenerator.php
BatchRowIterator.php
BatchRowUpdate.php
BatchRowWriter.php
ClassCollector.php
ExecutableFinder.php
FileContentsHasher.php
MWCryptHKDF.php
MWCryptRand.php
MWFileProps.php Use the unserialized form of image metadata internally 2021-06-08 17:04:01 +10:00
MWRestrictions.php
README
RowUpdateGenerator.php
UIDGenerator.php
ZipDirectoryReader.php Using @return never documentation on always-throw-function 2021-09-07 17:29:03 +02:00
ZipDirectoryReaderError.php

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
MWException, 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.