wiki.techinc.nl/includes/libs/filebackend
Thiemo Kreuz 854d5bcd7f Replace isset() in if() conditions with ?? if possible
The basic idea is: The sequence `$var ?? 'default'` either uses the
value from the variable (or array element) if available, or falls back
to the default value. The resulting value is then used in the if()
condition.

if ( $var ?? true ) means the variable should default to true, if not
set.

This is mostly a style change.

In ApiEditPage the $params are impossible to not be set.

Change-Id: Id67b81744fa21fe22a2d2377259e426aab67c479
2020-03-23 09:28:07 +01:00
..
exception filebackend: move more files to subdirectories 2019-04-15 02:30:24 -07:00
fileiteration Replace some oldskool @see with @inheritDoc 2019-11-08 18:00:27 +00:00
filejournal Deprecate FileJournal::factory 2019-11-04 15:17:56 +01:00
fileop filebackend: check file sizes in addition to SHA-1 in FileOp 2020-01-05 23:20:04 +00:00
fileophandle Replace some oldskool @see with @inheritDoc 2019-11-08 18:00:27 +00:00
fsfile Set visibility on php magic functions __destruct/sleep/wakeup/get/call 2019-12-05 18:52:55 +01:00
FileBackend.php Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
FileBackendMultiWrite.php filebackend: make sure $scopeLock reference is valid in FileBackendMultiWrite 2020-02-07 21:34:42 -08:00
FileBackendStore.php Replace isset() in if() conditions with ?? if possible 2020-03-23 09:28:07 +01:00
FileOpBatch.php Make use of existing array value variables in foreach loops 2019-12-29 12:04:29 +00:00
FSFileBackend.php filebackend: rename $dir variables to $fsDirectory in FSFilebackend for clarity 2019-10-22 02:29:36 +00:00
HTTPFileStreamer.php Streamline/fix code by using short ?: and ?? syntax 2019-11-11 11:17:13 +01:00
MemoryFileBackend.php filebackend: replace wfTimestamp() calls with ConvertibleTimestamp::convert() 2019-09-08 15:01:45 -07:00
SwiftFileBackend.php build: Upgrade phan to 0.9.0 2019-12-07 20:16:19 +00:00