wiki.techinc.nl/tests/phpunit/includes/GlobalFunctions
Bartosz Dziewoński 485f66f174 Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient
Find: /isset\(\s*([^()]+?)\s*\)\s*\?\s*\1\s*:\s*/
Replace with: '\1 ?? '

(Everywhere except includes/PHPVersionCheck.php)
(Then, manually fix some line length and indentation issues)

Then manually reviewed the replacements for cases where confusing
operator precedence would result in incorrect results
(fixing those in I478db046a1cc162c6767003ce45c9b56270f3372).

Change-Id: I33b421c8cb11cdd4ce896488c9ff5313f03a38cf
2018-05-30 18:06:13 -07:00
..
GlobalTest.php Update suppressWarning()/restoreWarning() calls 2018-02-10 08:50:12 +00:00
GlobalWithDBTest.php
README
wfAppendQueryTest.php
wfArrayFilterTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
wfArrayPlus2dTest.php
wfAssembleUrlTest.php
wfBaseNameTest.php
wfEscapeShellArgTest.php
wfExpandUrlTest.php
wfGetCallerTest.php
wfParseUrlTest.php
wfRemoveDotSegmentsTest.php
wfShellExecTest.php
wfShorthandToIntegerTest.php
wfStringToBoolTest.php Expose string->bool conversion as function 2017-11-15 06:57:40 +00:00
wfThumbIsStandardTest.php Remove test code that depends on extension 2017-08-13 12:04:37 -04:00
wfTimestampTest.php build: Updating mediawiki/mediawiki-codesniffer to 0.12.0 2017-09-10 21:11:37 +02:00
wfUrlencodeTest.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00

This directory hold tests for includes/GlobalFunctions.php file
which is a pile of functions.