X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FInstaller.php;h=5ea9bfea329c455ba008bef1a309f4f21185b1d5;hb=236488d398046838059f758b0915341648b64c7b;hp=2bb15b8ce054a9a53ec45750e5685acd49d34f75;hpb=6ef64d6a1dc6091f38f9eedd1e60b02a690707cd;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php index 2bb15b8ce0..5ea9bfea32 100644 --- a/includes/installer/Installer.php +++ b/includes/installer/Installer.php @@ -595,11 +595,10 @@ abstract class Installer { global $wgAutoloadClasses; $wgAutoloadClasses = []; - // @codingStandardsIgnoreStart // LocalSettings.php should not call functions, except wfLoadSkin/wfLoadExtensions // Define the required globals here, to ensure, the functions can do it work correctly. + // phpcs:ignore MediaWiki.VariableAnalysis.UnusedGlobalVariables global $wgExtensionDirectory, $wgStyleDirectory; - // @codingStandardsIgnoreEnd MediaWiki\suppressWarnings(); $_lsExists = file_exists( "$IP/LocalSettings.php" );