wiki.techinc.nl/includes/filerepo/file
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
..
ArchivedFile.php Replace deprecated ObjectCache and CommentStore calls in filerepo 2018-05-07 11:00:23 +02:00
File.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
ForeignAPIFile.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
ForeignDBFile.php Replace deprecated ObjectCache and CommentStore calls in filerepo 2018-05-07 11:00:23 +02:00
LocalFile.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
OldLocalFile.php Replace deprecated ObjectCache and CommentStore calls in filerepo 2018-05-07 11:00:23 +02:00
UnregisteredLocalFile.php Replace MimeMagic::singleton() calls 2017-11-27 02:13:51 +00:00