Go to file
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
.phan build: Remove suppression of PhanUndeclaredProperty for Parser property 2024-04-23 02:06:26 +00:00
i18n Localisation updates from https://translatewiki.net. 2024-10-25 09:52:14 +02:00
includes Replace isset() with null check 2024-10-27 12:25:57 +01:00
modules debug console: remove unused CSS styles 2024-10-08 16:41:12 +00:00
tests Use namespaced classes 2024-10-20 11:54:11 +02:00
.eslintrc.json Use ES6 features, replace jQuery bind() with on() 2024-04-20 03:18:34 +08:00
.gitignore build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint 2019-05-07 10:40:41 -07:00
.gitreview
.phpcs.xml build: Use inline ignore for MediaWiki.Usage.ForbiddenFunctions 2024-09-23 17:40:51 +00:00
.stylelintrc.json
CODE_OF_CONDUCT.md build: Updating mediawiki/mediawiki-codesniffer to 22.0.0 2018-09-03 21:33:35 +00:00
composer.json build: Updating mediawiki/mediawiki-codesniffer to 44.0.0 2024-08-12 16:16:21 +00:00
COPYING Add strict.lua to replace "Module:No globals" 2022-10-13 04:39:21 +00:00
extension.json Support dark mode in Scribunto debug console 2024-09-30 22:18:44 +05:30
Gruntfile.js build: Run stylelint for less file 2024-10-05 00:07:44 +02:00
package-lock.json build: Updating micromatch to 4.0.8 2024-08-31 07:19:52 +00:00
package.json build: Updating npm dependencies 2024-06-21 23:09:17 +00:00
Scribunto.constants.php Remove PHP entry point 2019-06-21 00:02:08 +00:00
Scribunto.magic.php Add namespace and magic word translations for mnw and my 2019-10-18 20:03:05 +00:00
Scribunto.namespaces.php Add namespaces for Latin 2024-10-24 12:14:13 -04:00