Go to file
Umherirrender 3c55ed3511 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: I8fc8fbf220a08c300ae0119e548a691865151ae5
2024-10-26 22:53:52 +02:00
.phan build: Disable phan option scalar_implicit_cast and make pass 2021-09-26 12:18:33 +00:00
i18n Localisation updates from https://translatewiki.net. 2024-09-17 09:28:20 +02:00
includes Replace isset() with null check 2024-10-26 22:53:52 +02:00
scripts Improve logging for Pdf's retrieveMetadata.sh 2024-03-16 09:37:34 +00:00
.eslintrc.json build: Updating eslint-config-wikimedia to 0.19.0 2021-03-14 07:03:44 +00:00
.gitignore build: Install eslint 2019-05-07 10:18:10 -07:00
.gitreview Whoops, track not trace 2016-10-24 17:03:15 -07:00
.phpcs.xml Fix excluded PHPCS error MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected 2022-03-06 13:23:43 +00:00
CODE_OF_CONDUCT.md build: Updating mediawiki/phan-taint-check-plugin to 1.3.0 2018-08-19 15:12:16 +00:00
composer.json build: Updating mediawiki/mediawiki-codesniffer to 44.0.0 2024-08-12 01:37:16 +00:00
COPYING Add COPYING 2014-01-22 00:50:35 +00:00
extension.json build: Update MediaWiki requirement to 1.43 2024-08-22 17:59:59 -04:00
Gruntfile.js build: Updating dependencies 2021-01-30 07:21:55 +00:00
package-lock.json build: Updating micromatch to 4.0.8 2024-08-31 06:40:00 +00:00
package.json build: Updating eslint-config-wikimedia to 0.28.2 2024-06-21 10:39:10 +00:00