mediawiki-extensions-Scribunto/includes/Engines/LuaCommon
Umherirrender 903e952604 Replace isset() with null check
isset() should only be used to suppress errors, not for null check.
When the variable is always defined, there is no need to use isset.
Found by a new phan plugin (2efea9f989)
https://www.mediawiki.org/wiki/Manual:Coding_conventions/PHP#isset

Change-Id: Ifba65aad2245b580f4361acf34ab46eabef60611
2024-10-27 12:25:57 +01:00
..
lualib Make use of ??=, ?: and similar operators where possible 2024-09-21 20:00:50 +00:00
HashLibrary.php Capitalise Engines folder 2022-09-30 00:58:27 +00:00
HtmlLibrary.php Use namespaced classes 2024-06-10 20:41:43 +02:00
LanguageLibrary.php Replace isset() with null check 2024-10-27 12:25:57 +01:00
LibraryBase.php Use namespaced classes 2024-10-20 11:54:11 +02:00
LuaEngine.php Use explicit nullable type on parameter arguments (for PHP 8.4) 2024-10-26 15:10:35 +02:00
LuaError.php Use namespaced classes 2024-01-05 19:24:06 +01:00
LuaInterpreter.php Improve a few PHPDoc type hints 2024-08-27 16:54:41 +00:00
LuaInterpreterBadVersionError.php Replace deprecated MWException 2023-06-09 14:43:44 +02:00
LuaInterpreterNotExecutableError.php Replace deprecated MWException 2023-06-09 14:43:44 +02:00
LuaInterpreterNotFoundError.php Replace deprecated MWException 2023-06-09 14:43:44 +02:00
LuaModule.php Replace isset() with null check 2024-10-27 12:25:57 +01:00
MessageLibrary.php Don't depend on Message implementation details 2024-06-17 16:25:22 +00:00
SiteLibrary.php Make use of ??=, ?: and similar operators where possible 2024-09-21 20:00:50 +00:00
TextLibrary.php Use namespaced classes 2024-10-20 11:54:11 +02:00
TitleLibrary.php Use namespaced classes 2024-10-20 11:54:11 +02:00
UriLibrary.php Use namespaced classes 2024-10-20 11:54:11 +02:00
UstringLibrary.php Add explicit parentheses around mixed boolean operator 2024-03-23 00:59:35 +01:00