wiki.techinc.nl/includes/utils
Aryeh Gregor c435212260 Get rid of warnings on PHP 8.1
This is mostly about adding return types to methods that implement PHP
interfaces, and not passing null to core functions that want a string.
After this patch, and an update to return types in RemexHtml,
tests/phpunit/integration/ has no more errors than in PHP 8.0.

Bug: T289879
Bug: T289926
Change-Id: Ia424f5cc897070f4188ae126b5bf6a1f552db0e1
2022-06-13 04:42:20 -04:00
..
AutoloadGenerator.php Fix many typos in comments 2022-05-10 12:46:11 +00:00
BatchRowIterator.php Get rid of warnings on PHP 8.1 2022-06-13 04:42:20 -04:00
BatchRowUpdate.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
BatchRowWriter.php Improve class property documentation 2020-10-30 10:38:58 +01:00
ClassCollector.php Fix typos in comments (C-D) 2021-12-30 18:00:02 +05:30
ExecutableFinder.php Replace some more usages of Wikimedia\(suppress|restore)Warnings() 2022-02-24 20:27:46 +00:00
FileContentsHasher.php resourceloader: Remove support for $algo param in FileContentsHasher 2021-12-03 12:12:29 +00:00
MWCryptHKDF.php Fix typos in comments (M) 2022-01-09 23:00:20 +05:30
MWCryptRand.php
MWFileProps.php phan: Disable null_casts_as_any_type setting 2022-03-21 18:25:07 +00:00
MWRestrictions.php Use IPset in MWRestrictions::checkIP 2020-08-18 12:08:13 +01:00
README
RowUpdateGenerator.php Replace "@stable for implementation" with "@stable to implement" 2020-07-13 11:05:49 +02:00
UIDGenerator.php Fix even more PSR12.Properties.ConstantVisibility.NotFound 2020-05-16 00:51:46 +01:00
UrlUtils.php UrlUtils: Simplify and increase test coverage 2022-05-16 14:10:31 +10:00
ZipDirectoryReader.php Call ZipDirectoryReader from MimeAnalyzer 2022-05-03 14:43:26 +10:00
ZipDirectoryReaderError.php Replace "@stable for calling" by "@stable to call" 2020-07-13 08:55:28 +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
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.