This run took 68 seconds.
From 5d8963060f3d1a1635b147699586a7963ff0cc26 Mon Sep 17 00:00:00 2001 From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org> Date: Mon, 4 Nov 2024 15:46:26 +0000 Subject: [PATCH] build: Updating mediawiki/mediawiki-codesniffer to 45.0.0 The following sniffs are failing and were disabled: * MediaWiki.Usage.NullableType.ExplicitNullableTypes The following sniffs now pass and were enabled: * MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic Change-Id: Ic79fb296451dc589e9fa0c3381ef95fd4b9534a0 --- .phpcs.xml | 2 +- composer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.phpcs.xml b/.phpcs.xml index e701481..991deff 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -1,7 +1,7 @@ <?xml version="1.0"?> <ruleset> <rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki"> - <exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" /> + <exclude name="MediaWiki.Usage.NullableType.ExplicitNullableTypes" /> </rule> <rule ref="Generic.Files.LineLength"> <exclude-pattern>AbuseFilter\.alias\.php</exclude-pattern> diff --git a/composer.json b/composer.json index a272f52..b1373b9 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "wikimedia/equivset": "^1.7.0" }, "require-dev": { - "mediawiki/mediawiki-codesniffer": "44.0.0", + "mediawiki/mediawiki-codesniffer": "45.0.0", "mediawiki/mediawiki-phan-config": "0.14.0", "mediawiki/minus-x": "1.1.3", "php-parallel-lint/php-console-highlighter": "1.0.0", -- 2.39.2
$ date --- stdout --- Mon Nov 4 15:45:28 UTC 2024 --- end --- $ git clone file:///srv/git/mediawiki-extensions-AbuseFilter.git repo --depth=1 -b REL1_43 --- stderr --- Cloning into 'repo'... --- stdout --- --- end --- $ git config user.name libraryupgrader --- stdout --- --- end --- $ git config user.email tools.libraryupgrader@tools.wmflabs.org --- stdout --- --- end --- $ git submodule update --init --- stdout --- --- end --- $ grr init --- stdout --- Installed commit-msg hook. --- end --- $ git show-ref refs/heads/REL1_43 --- stdout --- 52723aec0c8291dc6af0e7b839d6df6951c4c5e5 refs/heads/REL1_43 --- end --- $ /usr/bin/npm audit --json --- stdout --- { "auditReportVersion": 2, "vulnerabilities": { "@wdio/cli": { "name": "@wdio/cli", "severity": "high", "isDirect": true, "via": [ "webdriverio" ], "effects": [], "range": "7.16.5 - 8.40.6", "nodes": [ "node_modules/@wdio/cli" ], "fixAvailable": { "name": "@wdio/cli", "version": "9.2.8", "isSemVerMajor": true } }, "@wdio/local-runner": { "name": "@wdio/local-runner", "severity": "high", "isDirect": true, "via": [ "@wdio/runner" ], "effects": [], "range": "7.16.5 - 8.40.6", "nodes": [ "node_modules/@wdio/local-runner" ], "fixAvailable": { "name": "@wdio/local-runner", "version": "9.2.8", "isSemVerMajor": true } }, "@wdio/runner": { "name": "@wdio/runner", "severity": "high", "isDirect": false, "via": [ "webdriverio" ], "effects": [ "@wdio/local-runner" ], "range": "7.16.5 - 8.40.6", "nodes": [ "node_modules/@wdio/runner" ], "fixAvailable": { "name": "@wdio/local-runner", "version": "9.2.8", "isSemVerMajor": true } }, "devtools": { "name": "devtools", "severity": "high", "isDirect": false, "via": [ "puppeteer-core" ], "effects": [], "range": ">=7.16.5", "nodes": [ "node_modules/devtools" ], "fixAvailable": true }, "mwbot": { "name": "mwbot", "severity": "moderate", "isDirect": false, "via": [ "request" ], "effects": [ "wdio-mediawiki" ], "range": ">=0.1.6", "nodes": [ "node_modules/mwbot" ], "fixAvailable": false }, "puppeteer-core": { "name": "puppeteer-core", "severity": "high", "isDirect": false, "via": [ "ws" ], "effects": [ "devtools", "webdriverio" ], "range": "11.0.0 - 22.11.1", "nodes": [ "node_modules/puppeteer-core" ], "fixAvailable": { "name": "@wdio/cli", "version": "9.2.8", "isSemVerMajor": true } }, "request": { "name": "request", "severity": "moderate", "isDirect": false, "via": [ { "source": 1096727, "name": "request", "dependency": "request", "title": "Server-Side Request Forgery in Request", "url": "https://github.com/advisories/GHSA-p8p7-x288-28g6", "severity": "moderate", "cwe": [ "CWE-918" ], "cvss": { "score": 6.1, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, "range": "<=2.88.2" }, "tough-cookie" ], "effects": [ "mwbot" ], "range": "*", "nodes": [ "node_modules/request" ], "fixAvailable": false }, "tough-cookie": { "name": "tough-cookie", "severity": "moderate", "isDirect": false, "via": [ { "source": 1097682, "name": "tough-cookie", "dependency": "tough-cookie", "title": "tough-cookie Prototype Pollution vulnerability", "url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3", "severity": "moderate", "cwe": [ "CWE-1321" ], "cvss": { "score": 6.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N" }, "range": "<4.1.3" } ], "effects": [ "request" ], "range": "<4.1.3", "nodes": [ "node_modules/tough-cookie" ], "fixAvailable": false }, "wdio-mediawiki": { "name": "wdio-mediawiki", "severity": "moderate", "isDirect": true, "via": [ "mwbot" ], "effects": [], "range": "*", "nodes": [ "node_modules/wdio-mediawiki" ], "fixAvailable": false }, "webdriverio": { "name": "webdriverio", "severity": "high", "isDirect": false, "via": [ "devtools", "puppeteer-core" ], "effects": [ "@wdio/cli", "@wdio/runner" ], "range": "7.16.5 - 8.40.6", "nodes": [ "node_modules/webdriverio" ], "fixAvailable": { "name": "@wdio/cli", "version": "9.2.8", "isSemVerMajor": true } }, "ws": { "name": "ws", "severity": "high", "isDirect": false, "via": [ { "source": 1098392, "name": "ws", "dependency": "ws", "title": "ws affected by a DoS when handling a request with many HTTP headers", "url": "https://github.com/advisories/GHSA-3h5v-q93c-6h6q", "severity": "high", "cwe": [ "CWE-476" ], "cvss": { "score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, "range": ">=8.0.0 <8.17.1" } ], "effects": [ "puppeteer-core" ], "range": "8.0.0 - 8.17.0", "nodes": [ "node_modules/ws" ], "fixAvailable": { "name": "@wdio/cli", "version": "9.2.8", "isSemVerMajor": true } } }, "metadata": { "vulnerabilities": { "info": 0, "low": 0, "moderate": 4, "high": 7, "critical": 0, "total": 11 }, "dependencies": { "prod": 1, "dev": 774, "optional": 2, "peer": 1, "peerOptional": 0, "total": 774 } } } --- end --- $ /usr/bin/composer install --- stderr --- No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information. Loading composer repositories with package information Updating dependencies Lock file operations: 39 installs, 0 updates, 0 removals - Locking composer/pcre (3.3.1) - Locking composer/semver (3.4.2) - Locking composer/spdx-licenses (1.5.8) - Locking composer/xdebug-handler (3.0.5) - Locking dealerdirect/phpcodesniffer-composer-installer (v1.0.0) - Locking doctrine/deprecations (1.1.3) - Locking felixfbecker/advanced-json-rpc (v3.2.1) - Locking mediawiki/mediawiki-codesniffer (v44.0.0) - Locking mediawiki/mediawiki-phan-config (0.14.0) - Locking mediawiki/minus-x (1.1.3) - Locking mediawiki/phan-taint-check-plugin (6.0.0) - Locking microsoft/tolerant-php-parser (v0.1.2) - Locking netresearch/jsonmapper (v4.5.0) - Locking phan/phan (5.4.3) - Locking php-parallel-lint/php-console-color (v1.0.1) - Locking php-parallel-lint/php-console-highlighter (v1.0.0) - Locking php-parallel-lint/php-parallel-lint (v1.4.0) - Locking phpcsstandards/phpcsextra (1.2.1) - Locking phpcsstandards/phpcsutils (1.0.11) - Locking phpdocumentor/reflection-common (2.2.0) - Locking phpdocumentor/reflection-docblock (5.4.1) - Locking phpdocumentor/type-resolver (1.9.0) - Locking phpstan/phpdoc-parser (1.33.0) - Locking psr/container (2.0.2) - Locking psr/log (3.0.2) - Locking sabre/event (5.1.7) - Locking squizlabs/php_codesniffer (3.9.0) - Locking symfony/console (v7.1.6) - Locking symfony/deprecation-contracts (v3.5.0) - Locking symfony/polyfill-ctype (v1.31.0) - Locking symfony/polyfill-intl-grapheme (v1.31.0) - Locking symfony/polyfill-intl-normalizer (v1.31.0) - Locking symfony/polyfill-mbstring (v1.31.0) - Locking symfony/polyfill-php80 (v1.31.0) - Locking symfony/service-contracts (v3.5.0) - Locking symfony/string (v7.1.6) - Locking tysonandre/var_representation_polyfill (0.1.3) - Locking webmozart/assert (1.11.0) - Locking wikimedia/equivset (1.7.0) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 39 installs, 0 updates, 0 removals - Downloading wikimedia/equivset (1.7.0) 0/1 [>---------------------------] 0% 1/1 [============================] 100% - Installing squizlabs/php_codesniffer (3.9.0): Extracting archive - Installing dealerdirect/phpcodesniffer-composer-installer (v1.0.0): Extracting archive - Installing composer/pcre (3.3.1): Extracting archive - Installing symfony/polyfill-php80 (v1.31.0): Extracting archive - Installing phpcsstandards/phpcsutils (1.0.11): Extracting archive - Installing phpcsstandards/phpcsextra (1.2.1): Extracting archive - Installing symfony/polyfill-mbstring (v1.31.0): Extracting archive - Installing composer/spdx-licenses (1.5.8): Extracting archive - Installing composer/semver (3.4.2): Extracting archive - Installing mediawiki/mediawiki-codesniffer (v44.0.0): Extracting archive - Installing tysonandre/var_representation_polyfill (0.1.3): Extracting archive - Installing symfony/polyfill-intl-normalizer (v1.31.0): Extracting archive - Installing symfony/polyfill-intl-grapheme (v1.31.0): Extracting archive - Installing symfony/polyfill-ctype (v1.31.0): Extracting archive - Installing symfony/string (v7.1.6): Extracting archive - Installing symfony/deprecation-contracts (v3.5.0): Extracting archive - Installing psr/container (2.0.2): Extracting archive - Installing symfony/service-contracts (v3.5.0): Extracting archive - Installing symfony/console (v7.1.6): Extracting archive - Installing sabre/event (5.1.7): Extracting archive - Installing netresearch/jsonmapper (v4.5.0): Extracting archive - Installing microsoft/tolerant-php-parser (v0.1.2): Extracting archive - Installing webmozart/assert (1.11.0): Extracting archive - Installing phpstan/phpdoc-parser (1.33.0): Extracting archive - Installing phpdocumentor/reflection-common (2.2.0): Extracting archive - Installing doctrine/deprecations (1.1.3): Extracting archive - Installing phpdocumentor/type-resolver (1.9.0): Extracting archive - Installing phpdocumentor/reflection-docblock (5.4.1): Extracting archive - Installing felixfbecker/advanced-json-rpc (v3.2.1): Extracting archive - Installing psr/log (3.0.2): Extracting archive - Installing composer/xdebug-handler (3.0.5): Extracting archive - Installing phan/phan (5.4.3): Extracting archive - Installing mediawiki/phan-taint-check-plugin (6.0.0): Extracting archive - Installing mediawiki/mediawiki-phan-config (0.14.0): Extracting archive - Installing mediawiki/minus-x (1.1.3): Extracting archive - Installing php-parallel-lint/php-console-color (v1.0.1): Extracting archive - Installing php-parallel-lint/php-console-highlighter (v1.0.0): Extracting archive - Installing php-parallel-lint/php-parallel-lint (v1.4.0): Extracting archive - Installing wikimedia/equivset (1.7.0): Extracting archive 0/37 [>---------------------------] 0% 20/37 [===============>------------] 54% 36/37 [===========================>] 97% 37/37 [============================] 100% Generating autoload files 16 packages you are using are looking for funding. Use the `composer fund` command to find out more! --- stdout --- PHP CodeSniffer Config installed_paths set to ../../mediawiki/mediawiki-codesniffer,../../phpcsstandards/phpcsextra,../../phpcsstandards/phpcsutils --- end --- Upgrading c:mediawiki/mediawiki-codesniffer from 44.0.0 -> 45.0.0 $ /usr/bin/composer update --- stderr --- Loading composer repositories with package information Updating dependencies Lock file operations: 0 installs, 4 updates, 0 removals - Upgrading composer/semver (3.4.2 => 3.4.3) - Upgrading mediawiki/mediawiki-codesniffer (v44.0.0 => v45.0.0) - Upgrading phpcsstandards/phpcsutils (1.0.11 => 1.0.12) - Upgrading squizlabs/php_codesniffer (3.9.0 => 3.10.3) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 0 installs, 4 updates, 0 removals 0 [>---------------------------] 0 [->--------------------------] - Upgrading squizlabs/php_codesniffer (3.9.0 => 3.10.3): Extracting archive - Upgrading phpcsstandards/phpcsutils (1.0.11 => 1.0.12): Extracting archive - Upgrading composer/semver (3.4.2 => 3.4.3): Extracting archive - Upgrading mediawiki/mediawiki-codesniffer (v44.0.0 => v45.0.0): Extracting archive 0/4 [>---------------------------] 0% 3/4 [=====================>------] 75% 4/4 [============================] 100% Generating autoload files 16 packages you are using are looking for funding. Use the `composer fund` command to find out more! No security vulnerability advisories found --- stdout --- PHP CodeSniffer Config installed_paths set to ../../mediawiki/mediawiki-codesniffer,../../phpcsstandards/phpcsextra,../../phpcsstandards/phpcsutils --- end --- Previously failing phpcs rules: {'MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic'} $ vendor/bin/phpcs --report=json --- stdout --- {"totals":{"errors":88,"warnings":0,"fixable":88},"files":{"\/src\/repo\/includes\/LogFormatter\/AbuseFilterBlockedDomainHitLogFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/Exception\/ConditionLimitException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/LogFormatter\/AbuseFilterRightsLogFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/AFPParserState.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/LogFormatter\/AbuseFilterSuppressLogFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Consequence\/ConsequencesDisablerConsequence.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Consequence\/ReversibleConsequence.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/ConsequenceNotPrecheckedException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Filter\/HistoryFilter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Filter\/FilterNotFoundException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Consequence\/Tag.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/ParserStatus.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/EditBox\/PlainEditBoxBuilder.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Filter\/LastEditInfo.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterInterceptVariableHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterGetDangerousActionsHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Filter\/Specs.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/RuleCheckerStatus.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Filter\/ExistingFilter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterFilterActionHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterGenerateTitleVarsHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterAlterVariablesHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/AbuseFilterPreAuthenticationProvider.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/EditBox\/EditBoxField.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterCustomActionsHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Pager\/GlobalAbuseFilterPager.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/LogFormatter\/AbuseLogHitFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/FilterCompare.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/AbuseFilter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/InvalidImportDataException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterGenerateUserVarsHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/View\/AbuseFilterViewTools.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/ThrottleFilterPresentationModel.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/maintenance\/SearchFilters.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterContentToStringHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Watcher\/Watcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TableDiffFormatterFullContext.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/ConfirmEditHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterComputeVariableHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterShouldFilterActionHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Filter\/Filter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Api\/CheckSyntax.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/PreferencesHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/LogFormatter\/AbuseFilterModifyLogFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterGenerateGenericVarsHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Filter\/FilterVersionNotFoundException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterGenerateVarsForRecentChangeHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterBuilderHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Pager\/AbuseFilterExaminePager.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Filter\/ClosestFilterVersionNotFoundException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/RegistrationCallback.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Watcher\/UpdateHitCountWatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterDeprecatedVariablesHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/ChangeTagsHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/maintenance\/PurgeOldLogIPData.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/EchoHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/LogFormatter\/ProtectedVarsAccessLogFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Consequence\/Degroup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/ToolLinksHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Variables\/VariablesManager.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TextExtractor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Variables\/UnsetVariableException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Variables\/LazyLoadedVariableTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/ConsequencesFactory.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/RecentChangeSaveHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/SchemaChangesHandlerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Filter\/FlagsTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/EmergencyCache.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Api\/AbuseLogPrivateDetails.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterHookRunner.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Filter\/ExistingFilterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Consequence\/Throttle.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Consequence\/BlockingConsequence.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Consequence\/Disallow.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Filter\/FilterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/BlockedDomainFilter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/GlobalNameUtilsTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Filter\/HistoryFilterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Filter\/MutableFilter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/EditBox\/EditBoxBuilder.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Hooks\/ChangeTagsHandlerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Hooks\/AbuseFilterHookRunnerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/AbuseFilter.alias.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/AbuseFilterRowsAndFiltersTestTrait.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/FilterImporter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/ConsequencesRegistry.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Filter\/SpecsTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/Consequence\/BlockAutopromoteTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Variables\/VariableHolder.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/FilterStore.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/BlockAutopromoteStore.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Consequence\/BlockAutopromote.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/ChangeTags\/ChangeTagValidator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/EditPermissionHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/EditBoxBuilderFactoryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Variables\/LazyLoadedVariable.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/ChangeTags\/ChangeTagValidatorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/Consequence\/BuiltinPrioritiesTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Consequence\/HookAborterConsequence.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/ConsequencesRegistryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/ProtectedVarsAccessLogger.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Consequence\/Warn.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Parameters.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/ActionSpecifierTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/Consequence\/RangeBlockTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/Parser\/ParserEquivsetTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/AbuseFilterTokenizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/AbuseLogger.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/Maintenance\/PurgeOldLogIPDataTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/EditBox\/EditBoxBuilderFactory.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/Consequence\/DisallowTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Consequence\/Consequence.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Filter\/Flags.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/RunnerDataTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/AbuseLoggerFactoryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/Api\/EvalExpressionTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/KeywordsManager.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/EchoNotifier.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Api\/CheckMatch.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/ActionSpecifier.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/VariableGenerator\/VariableGenerator.php":{"errors":5,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?VariableHolder $vars = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":37,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?RecentChange $rc = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":59,"column":37},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?RecentChange $rc = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":79,"column":62},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?RecentChange $rc = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":151,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?PreparedUpdate $update = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":242,"column":9}]},"\/src\/repo\/tests\/phpunit\/unit\/Filter\/MutableFilterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Consequence\/RangeBlock.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/EchoNotifierTest.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?int $userID = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":24,"column":39}]},"\/src\/repo\/includes\/View\/AbuseFilterViewRevert.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/EditRevUpdater.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/AbuseFilterPermissionManager.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/maintenance\/MigrateActorsAF.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/GlobalNameUtils.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/FilterImporterTest.php":{"errors":3,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?array $groups = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":43,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?bool $isCentral = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":44,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?array $actions = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":45,"column":9}]},"\/src\/repo\/tests\/phpunit\/unit\/CentralDBManagerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/CentralDBNotAvailableException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Variables\/VariableHolderTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/ConsequencesLookup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/Api\/CheckSyntaxTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/ConsequencesExecutor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/Consequence\/WarnTest.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Parameters $params = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":24,"column":31}]},"\/src\/repo\/tests\/phpunit\/unit\/Parser\/SyntaxCheckerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/EditBox\/AceEditBoxBuilder.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Parser\/Exception\/UserVisibleWarningTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/SchemaChangesHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/VariableGenerator\/VariableGeneratorFactoryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/ChangeTags\/ChangeTagsManager.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/FilterRunnerTest.php":{"errors":3,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ChangeTagger $changeTagger = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":40,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?EditStashCache $cache = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":41,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?VariableHolder $vars = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":42,"column":9}]},"\/src\/repo\/includes\/View\/AbuseFilterViewList.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Consequence\/Block.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Hooks\/ToolLinksHandlerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Variables\/VariablesBlobStoreTest.php":{"errors":3,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?BlobStoreFactory $blobStoreFactory = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":27,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?BlobStore $blobStore = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":28,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?array $expected = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":183,"column":52}]},"\/src\/repo\/includes\/Hooks\/Handlers\/FilteredActionsHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Filter\/AbstractFilter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/FilterValidator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/AbuseFilterUploadTestTrait.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/RCVariableGeneratorTest.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?UserIdentity $userIdentity = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":44,"column":73}]},"\/src\/repo\/tests\/phpunit\/integration\/Special\/SpecialAbuseFilterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/Consequence\/TagTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/ConsequencesExecutorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Parser\/Exception\/UserVisibleExceptionTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/ConsequencesExecutorFactory.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/DegroupTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Parser\/Exception\/ExceptionBaseTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/EditStashCache.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/AutoPromoteGroupsHandler.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?BagOStuff $cache = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":31,"column":9}]},"\/src\/repo\/tests\/phpunit\/integration\/Api\/QueryAbuseLogTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/CheckUserHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/ConsequencesExecutorFactoryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/Api\/UnblockAutopromoteTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Filter\/AbstractFilterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/UserMergeHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/PageSaveHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/Consequence\/ThrottleTest.php":{"errors":7,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?BagOStuff $cache = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":32,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?UserIdentity $user = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":34,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Title $title = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":35,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?UserEditTracker $editTracker = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":36,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?string $ip = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":37,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?MockObject $cache = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":98,"column":75},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?UserEditTracker $editTracker = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":118,"column":9}]},"\/src\/repo\/maintenance\/AddMissingLoggingEntries.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Api\/EvalExpression.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/AFPData.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/Exception\/InternalException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/ConsequenceGetMessageTestTrait.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/FilterProfilerTest.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?LoggerInterface $logger = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":37,"column":41}]},"\/src\/repo\/tests\/phpunit\/AbuseFilterFilterUserTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/Exception\/ExceptionBase.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/ParametersTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Pager\/AbuseFilterPager.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/AFPToken.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/.phan\/config.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/Api\/AbuseFilterApiTestTrait.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?FilterEvaluator $ruleChecker = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":17,"column":47}]},"\/src\/repo\/tests\/phpunit\/unit\/EditStashCacheTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/FilterRunner.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/Special\/SpecialAbuseLogTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/ConsequencesLookupTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/Hooks\/ConfirmEditHandlerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/Exception\/UserVisibleWarning.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Filter\/LastEditInfoTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/ChangeTags\/ChangeTagger.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/AbuseLoggerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/AbuseFilterChangesList.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Api\/UnblockAutopromote.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/AbuseFilterServicesTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/View\/AbuseFilterViewTestBatch.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Variables\/LazyVariableComputer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/AbuseFilterExtensionJsonTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/FilterLookup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/VariableGenerator\/VariableGeneratorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/Exception\/UserVisibleException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/FilterUtils.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/SyntaxChecker.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/ConsequencesFactoryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/Hooks\/CheckUserHandlerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/VariableGenerator\/RCVariableGenerator.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?VariableHolder $vars = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":56,"column":9}]},"\/src\/repo\/includes\/VariableGenerator\/RunVariableGenerator.php":{"errors":2,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?VariableHolder $vars = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":63,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Content $oldcontent = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":155,"column":9}]},"\/src\/repo\/tests\/phpunit\/unit\/ChangeTags\/ChangeTaggerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/FilterCompareTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/Api\/CheckMatchTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/Watcher\/UpdateHitCountWatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/AbuseFilterPermissionManagerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/RunnerData.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Variables\/VariablesFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/AbuseFilterServices.php":{"errors":37,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":27,"column":43},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":35,"column":48},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":43,"column":47},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":51,"column":50},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":59,"column":45},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":67,"column":50},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":75,"column":51},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":83,"column":54},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":91,"column":43},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":99,"column":49},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":107,"column":51},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":115,"column":45},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":123,"column":47},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":131,"column":49},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":139,"column":45},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":147,"column":48},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":155,"column":46},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":163,"column":47},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":171,"column":44},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":179,"column":52},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":187,"column":54},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":195,"column":51},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":203,"column":53},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":211,"column":51},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":219,"column":54},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":227,"column":51},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":236,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":245,"column":52},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":253,"column":47},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":261,"column":51},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":269,"column":53},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":277,"column":46},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":285,"column":49},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":294,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":303,"column":47},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":311,"column":53},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":319,"column":52}]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/Consequence\/BlockTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/EditRevUpdaterTest.php":{"errors":3,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?IDatabase $localDB = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":45,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?IDatabase $centralDB = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":46,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?RevisionLookup $revLookup = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":47,"column":9}]},"\/src\/repo\/tests\/phpunit\/unit\/KeywordsManagerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/AFPTreeNode.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Special\/SpecialAbuseFilterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/FilterStoreTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/VariableGenerator\/VariableGeneratorFactory.php":{"errors":3,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?VariableHolder $holder = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":60,"column":35},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?VariableHolder $holder = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":70,"column":64},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?VariableHolder $holder = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":92,"column":9}]},"\/src\/repo\/tests\/phpunit\/unit\/Variables\/VariablesManagerTest.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?LazyVariableComputer $lazyComputer = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":26,"column":34}]},"\/src\/repo\/tests\/phpunit\/LazyVariableComputerDBTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/View\/AbuseFilterViewHistory.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Parser\/RuleCheckerFactoryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/RuleCheckerFactory.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?VariableHolder $vars = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":75,"column":37}]},"\/src\/repo\/includes\/Watcher\/EmergencyWatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/View\/AbuseFilterViewDiff.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Variables\/VariablesBlobStore.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/TextExtractorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Pager\/AbuseFilterHistoryPager.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/FilterProfiler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/EmergencyCacheTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/ActionVariablesIntegrationTest.php":{"errors":3,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?VariableHolder $varHolder = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":96,"column":58},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Content $oldContent = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":301,"column":41},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?string $creatorName = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":389,"column":9}]},"\/src\/repo\/includes\/Api\/QueryAbuseLog.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Parser\/AFPDataTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/FilterUser.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/FilterValidatorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Api\/QueryAbuseFilters.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Variables\/VariablesFormatterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/FilteredActionsHandlerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/SpecsFormatterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/SpecsFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/View\/AbuseFilterView.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/FilterLookupTest.php":{"errors":2,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?IDatabase $db = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":46,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?WANObjectCache $cache = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":48,"column":9}]},"\/src\/repo\/includes\/View\/AbuseFilterViewImport.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/FilterRunnerFactoryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/FilterRunnerFactory.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/Maintenance\/SearchFiltersTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/FilterValidatorTest.php":{"errors":4,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?AbuseFilterPermissionManager $permissionManager = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":40,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?FilterEvaluator $ruleChecker = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":41,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?AbuseFilterPermissionManager $permissionManager = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":484,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?FilterEvaluator $ruleChecker = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":485,"column":9}]},"\/src\/repo\/includes\/AbuseLoggerFactory.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/ProtectedVarsAccessLoggerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/BlockedDomainStorage.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Watcher\/EmergencyWatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Parser\/ParserTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Parser\/ParserStatusTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/BlockAutopromoteStoreTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/maintenance\/UpdateVarDumps.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/AFPTreeParser.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/FilterStoreTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Parser\/ParserTestCase.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?LoggerInterface $logger = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":48,"column":35}]},"\/src\/repo\/includes\/Pager\/AbuseLogPager.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Hooks\/AutoPromoteGroupsHandlerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/View\/AbuseFilterViewExamine.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Variables\/LazyVariableComputerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Parser\/TokenizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Special\/SpecialAbuseLog.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/ServiceWiring.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/CentralDBManager.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Parser\/RuleCheckerStatusTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/FilterEvaluator.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?VariableHolder $vars = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":219,"column":9}]},"\/src\/repo\/includes\/Parser\/AFPSyntaxTree.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?AFPTreeNode $root = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":19,"column":34}]},"\/src\/repo\/includes\/Special\/BlockedExternalDomains.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Special\/AbuseFilterSpecialPage.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/View\/AbuseFilterViewEdit.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/View\/HideAbuseLog.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/AbuseFilterConsequencesTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Special\/SpecialAbuseFilter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/AbuseFilterCreateAccountTestTrait.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?User $creator = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":25,"column":9}]}}} --- end --- PHPCS run failed $ vendor/bin/phpcs --report=json --- stdout --- {"totals":{"errors":88,"warnings":0,"fixable":88},"files":{"\/src\/repo\/includes\/LogFormatter\/AbuseFilterBlockedDomainHitLogFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Consequence\/ConsequencesDisablerConsequence.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/ConsequenceNotPrecheckedException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Consequence\/ReversibleConsequence.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/Exception\/ConditionLimitException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/LogFormatter\/AbuseFilterSuppressLogFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/AFPParserState.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/EditBox\/PlainEditBoxBuilder.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/LogFormatter\/AbuseFilterRightsLogFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Filter\/LastEditInfo.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Filter\/HistoryFilter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Filter\/FilterNotFoundException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Consequence\/Tag.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Filter\/ExistingFilter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/ParserStatus.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/FilterCompare.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Filter\/Specs.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/AbuseFilter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterFilterActionHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/maintenance\/SearchFilters.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterAlterVariablesHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterInterceptVariableHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterGetDangerousActionsHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/ThrottleFilterPresentationModel.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/LogFormatter\/AbuseLogHitFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/InvalidImportDataException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TableDiffFormatterFullContext.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterGenerateTitleVarsHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/RuleCheckerStatus.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/AbuseFilterPreAuthenticationProvider.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/EditBox\/EditBoxField.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterGenerateUserVarsHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterContentToStringHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Pager\/GlobalAbuseFilterPager.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Watcher\/Watcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterCustomActionsHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/View\/AbuseFilterViewTools.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/ConfirmEditHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterComputeVariableHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Filter\/Filter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/maintenance\/PurgeOldLogIPData.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterShouldFilterActionHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Api\/CheckSyntax.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Filter\/FilterVersionNotFoundException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterGenerateGenericVarsHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterGenerateVarsForRecentChangeHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/PreferencesHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterBuilderHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/LogFormatter\/AbuseFilterModifyLogFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Watcher\/UpdateHitCountWatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/RegistrationCallback.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Filter\/ClosestFilterVersionNotFoundException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/ChangeTagsHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterDeprecatedVariablesHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Pager\/AbuseFilterExaminePager.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/LogFormatter\/ProtectedVarsAccessLogFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Consequence\/Degroup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/EchoHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TextExtractor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/ToolLinksHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Api\/AbuseLogPrivateDetails.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Variables\/VariablesManager.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Variables\/LazyLoadedVariableTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/RecentChangeSaveHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Variables\/UnsetVariableException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/EmergencyCache.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Consequence\/Throttle.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Consequence\/Disallow.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Filter\/MutableFilter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/ConsequencesFactory.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/EditBox\/EditBoxBuilder.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/BlockedDomainFilter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Consequence\/BlockingConsequence.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/SchemaChangesHandlerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Filter\/FilterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/GlobalNameUtilsTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Filter\/HistoryFilterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Hooks\/ChangeTagsHandlerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Hooks\/AbuseFilterHookRunnerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Filter\/FlagsTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/AbuseFilterHookRunner.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/AbuseFilter.alias.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Filter\/ExistingFilterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/BlockAutopromoteStore.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/FilterImporter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/EditPermissionHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/ConsequencesRegistry.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/ProtectedVarsAccessLogger.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/AbuseFilterRowsAndFiltersTestTrait.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Variables\/VariableHolder.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/FilterStore.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Consequence\/BlockAutopromote.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/Consequence\/RangeBlockTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/AbuseLogger.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/EditBox\/EditBoxBuilderFactory.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/ChangeTags\/ChangeTagValidator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/KeywordsManager.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/Consequence\/BlockAutopromoteTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/Consequence\/DisallowTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/ConsequencesRegistryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Consequence\/HookAborterConsequence.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Variables\/LazyLoadedVariable.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/EditBoxBuilderFactoryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/Maintenance\/PurgeOldLogIPDataTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Consequence\/Warn.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/Parser\/ParserEquivsetTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/ChangeTags\/ChangeTagValidatorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/EchoNotifier.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/Consequence\/BuiltinPrioritiesTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Consequence\/Consequence.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Parameters.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Filter\/SpecsTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/ActionSpecifier.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/AbuseFilterTokenizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/ActionSpecifierTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Filter\/Flags.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Api\/CheckMatch.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/Api\/EvalExpressionTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/VariableGenerator\/VariableGenerator.php":{"errors":5,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?VariableHolder $vars = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":37,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?RecentChange $rc = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":59,"column":37},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?RecentChange $rc = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":79,"column":62},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?RecentChange $rc = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":151,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?PreparedUpdate $update = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":242,"column":9}]},"\/src\/repo\/tests\/phpunit\/unit\/Filter\/MutableFilterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/GlobalNameUtils.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/RunnerDataTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Consequence\/RangeBlock.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/AbuseFilterPermissionManager.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/CentralDBNotAvailableException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/FilterImporterTest.php":{"errors":3,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?array $groups = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":43,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?bool $isCentral = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":44,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?array $actions = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":45,"column":9}]},"\/src\/repo\/includes\/EditRevUpdater.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/maintenance\/MigrateActorsAF.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/ConsequencesExecutor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/EditBox\/AceEditBoxBuilder.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/View\/AbuseFilterViewList.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/FilterValidator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/Api\/CheckSyntaxTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/AbuseLoggerFactoryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/EchoNotifierTest.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?int $userID = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":24,"column":39}]},"\/src\/repo\/tests\/phpunit\/unit\/VariableGenerator\/VariableGeneratorFactoryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/FilterRunnerTest.php":{"errors":3,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ChangeTagger $changeTagger = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":40,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?EditStashCache $cache = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":41,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?VariableHolder $vars = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":42,"column":9}]},"\/src\/repo\/tests\/phpunit\/unit\/Hooks\/ToolLinksHandlerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/ConsequencesLookup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Parser\/SyntaxCheckerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Parser\/Exception\/UserVisibleWarningTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/View\/AbuseFilterViewRevert.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/ConsequencesExecutorFactory.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/ChangeTags\/ChangeTagsManager.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Consequences\/Consequence\/Block.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/Special\/SpecialAbuseFilterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/CentralDBManagerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/Consequence\/WarnTest.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Parameters $params = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":24,"column":31}]},"\/src\/repo\/tests\/phpunit\/unit\/Variables\/VariableHolderTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/SchemaChangesHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Filter\/AbstractFilter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Variables\/VariablesBlobStoreTest.php":{"errors":3,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?BlobStoreFactory $blobStoreFactory = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":27,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?BlobStore $blobStore = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":28,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?array $expected = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":183,"column":52}]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/Consequence\/TagTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Parser\/Exception\/UserVisibleExceptionTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/ConsequencesExecutorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/Api\/QueryAbuseLogTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/AbuseFilterUploadTestTrait.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Parser\/Exception\/ExceptionBaseTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/FilteredActionsHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Api\/EvalExpression.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/DegroupTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Filter\/AbstractFilterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/EditStashCache.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/Consequence\/ThrottleTest.php":{"errors":7,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?BagOStuff $cache = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":32,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?UserIdentity $user = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":34,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Title $title = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":35,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?UserEditTracker $editTracker = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":36,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?string $ip = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":37,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?MockObject $cache = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":98,"column":75},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?UserEditTracker $editTracker = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":118,"column":9}]},"\/src\/repo\/tests\/phpunit\/RCVariableGeneratorTest.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?UserIdentity $userIdentity = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":44,"column":73}]},"\/src\/repo\/tests\/phpunit\/integration\/Api\/UnblockAutopromoteTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/AFPData.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/Exception\/InternalException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/Exception\/ExceptionBase.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/maintenance\/AddMissingLoggingEntries.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/ConsequencesExecutorFactoryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/ConsequencesLookupTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/Exception\/UserVisibleWarning.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/CheckUserHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/Api\/AbuseFilterApiTestTrait.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?FilterEvaluator $ruleChecker = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":17,"column":47}]},"\/src\/repo\/tests\/phpunit\/integration\/Special\/SpecialAbuseLogTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Filter\/LastEditInfoTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/AutoPromoteGroupsHandler.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?BagOStuff $cache = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":31,"column":9}]},"\/src\/repo\/includes\/Parser\/AFPToken.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/AbuseFilterChangesList.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/View\/AbuseFilterViewTestBatch.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/UserMergeHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/Hooks\/ConfirmEditHandlerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/ConsequenceGetMessageTestTrait.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/.phan\/config.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Handlers\/PageSaveHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/FilterUtils.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/ParametersTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Api\/UnblockAutopromote.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/ChangeTags\/ChangeTagger.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/FilterRunner.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/AbuseLoggerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/VariableGenerator\/RCVariableGenerator.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?VariableHolder $vars = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":56,"column":9}]},"\/src\/repo\/includes\/Parser\/Exception\/UserVisibleException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/SyntaxChecker.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/AbuseFilterServicesTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/AbuseFilterFilterUserTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Pager\/AbuseFilterPager.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/FilterProfilerTest.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?LoggerInterface $logger = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":37,"column":41}]},"\/src\/repo\/tests\/phpunit\/unit\/VariableGenerator\/VariableGeneratorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/EditStashCacheTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/AbuseFilterExtensionJsonTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/FilterLookup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Variables\/LazyVariableComputer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/ConsequencesFactoryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/AbuseFilterServices.php":{"errors":37,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":27,"column":43},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":35,"column":48},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":43,"column":47},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":51,"column":50},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":59,"column":45},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":67,"column":50},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":75,"column":51},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":83,"column":54},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":91,"column":43},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":99,"column":49},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":107,"column":51},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":115,"column":45},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":123,"column":47},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":131,"column":49},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":139,"column":45},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":147,"column":48},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":155,"column":46},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":163,"column":47},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":171,"column":44},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":179,"column":52},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":187,"column":54},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":195,"column":51},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":203,"column":53},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":211,"column":51},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":219,"column":54},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":227,"column":51},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":236,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":245,"column":52},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":253,"column":47},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":261,"column":51},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":269,"column":53},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":277,"column":46},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":285,"column":49},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":294,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":303,"column":47},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":311,"column":53},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?ContainerInterface $services = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":319,"column":52}]},"\/src\/repo\/tests\/phpunit\/integration\/Hooks\/CheckUserHandlerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/VariableGenerator\/RunVariableGenerator.php":{"errors":2,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?VariableHolder $vars = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":63,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Content $oldcontent = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":155,"column":9}]},"\/src\/repo\/includes\/RunnerData.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/AbuseFilterPermissionManagerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/AFPTreeNode.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/Api\/CheckMatchTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Watcher\/EmergencyWatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/Watcher\/UpdateHitCountWatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/LazyVariableComputerDBTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/View\/AbuseFilterViewHistory.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/FilterCompareTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Consequences\/Consequence\/BlockTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Variables\/VariablesManagerTest.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?LazyVariableComputer $lazyComputer = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":26,"column":34}]},"\/src\/repo\/tests\/phpunit\/unit\/KeywordsManagerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/RuleCheckerFactory.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?VariableHolder $vars = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":75,"column":37}]},"\/src\/repo\/includes\/Variables\/VariablesFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Special\/SpecialAbuseFilterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/VariableGenerator\/VariableGeneratorFactory.php":{"errors":3,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?VariableHolder $holder = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":60,"column":35},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?VariableHolder $holder = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":70,"column":64},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?VariableHolder $holder = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":92,"column":9}]},"\/src\/repo\/tests\/phpunit\/unit\/ChangeTags\/ChangeTaggerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/FilterStoreTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Api\/QueryAbuseLog.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/EditRevUpdaterTest.php":{"errors":3,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?IDatabase $localDB = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":45,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?IDatabase $centralDB = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":46,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?RevisionLookup $revLookup = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":47,"column":9}]},"\/src\/repo\/includes\/View\/AbuseFilterViewDiff.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Parser\/RuleCheckerFactoryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Api\/QueryAbuseFilters.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/FilterProfiler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/ActionVariablesIntegrationTest.php":{"errors":3,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?VariableHolder $varHolder = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":96,"column":58},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?Content $oldContent = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":301,"column":41},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?string $creatorName = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":389,"column":9}]},"\/src\/repo\/tests\/phpunit\/unit\/EmergencyCacheTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Parser\/AFPDataTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Variables\/VariablesBlobStore.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/FilteredActionsHandlerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Variables\/VariablesFormatterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Pager\/AbuseFilterHistoryPager.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/FilterValidatorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/FilterLookupTest.php":{"errors":2,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?IDatabase $db = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":46,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?WANObjectCache $cache = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":48,"column":9}]},"\/src\/repo\/tests\/phpunit\/unit\/TextExtractorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/FilterUser.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/View\/AbuseFilterView.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/View\/AbuseFilterViewImport.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/BlockedDomainStorage.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/ProtectedVarsAccessLoggerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/Maintenance\/SearchFiltersTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/SpecsFormatterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Watcher\/EmergencyWatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/SpecsFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/FilterRunnerFactory.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/FilterValidatorTest.php":{"errors":4,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?AbuseFilterPermissionManager $permissionManager = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":40,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?FilterEvaluator $ruleChecker = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":41,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?AbuseFilterPermissionManager $permissionManager = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":484,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?FilterEvaluator $ruleChecker = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":485,"column":9}]},"\/src\/repo\/tests\/phpunit\/unit\/FilterRunnerFactoryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Parser\/ParserTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Parser\/ParserStatusTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/AbuseLoggerFactory.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/maintenance\/UpdateVarDumps.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/BlockAutopromoteStoreTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/AFPTreeParser.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Hooks\/AutoPromoteGroupsHandlerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Parser\/ParserTestCase.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?LoggerInterface $logger = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":48,"column":35}]},"\/src\/repo\/tests\/phpunit\/integration\/FilterStoreTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Special\/SpecialAbuseLog.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Parser\/TokenizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Pager\/AbuseLogPager.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Variables\/LazyVariableComputerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Parser\/RuleCheckerStatusTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/View\/AbuseFilterViewExamine.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Special\/BlockedExternalDomains.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/ServiceWiring.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/CentralDBManager.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Special\/AbuseFilterSpecialPage.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Special\/SpecialAbuseFilter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Parser\/FilterEvaluator.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?VariableHolder $vars = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":219,"column":9}]},"\/src\/repo\/includes\/Parser\/AFPSyntaxTree.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?AFPTreeNode $root = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":19,"column":34}]},"\/src\/repo\/includes\/View\/AbuseFilterViewEdit.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/View\/HideAbuseLog.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/AbuseFilterConsequencesTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/AbuseFilterCreateAccountTestTrait.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?User $creator = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":25,"column":9}]}}} --- end --- * sniff MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic is no longer failing * sniff MediaWiki.Usage.NullableType.ExplicitNullableTypes is now failing $ git checkout .phpcs.xml --- stderr --- Updated 1 path from the index --- stdout --- --- end --- $ /usr/bin/composer install --- stderr --- Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Nothing to install, update or remove Generating autoload files 16 packages you are using are looking for funding. Use the `composer fund` command to find out more! --- stdout --- --- end --- $ /usr/bin/composer test --- stderr --- > parallel-lint . --exclude node_modules --exclude vendor > phpcs -sp --cache > minus-x check . --- stdout --- PHP 8.2.20 | 10 parallel jobs ............................................................ 60/280 ( 21%) ............................................................ 120/280 ( 42%) ............................................................ 180/280 ( 64%) ............................................................ 240/280 ( 85%) ........................................ 280/280 (100%) Checked 280 files in 1.2 seconds No syntax error found ........................................................ 56 / 56 (100%) Time: 459ms; Memory: 18MB MinusX ====== Processing /src/repo... ............................................................. ............................................................. ............................................................. ............................................................. ............................................................. ............................................................. ............................................................. ............................................................. ............................................................. ............................................................. ............................................................. ............................................................. ............................................................. .. All good! --- end --- $ /usr/bin/npm audit --json --- stdout --- { "auditReportVersion": 2, "vulnerabilities": { "@wdio/cli": { "name": "@wdio/cli", "severity": "high", "isDirect": true, "via": [ "webdriverio" ], "effects": [], "range": "7.16.5 - 8.40.6", "nodes": [ "node_modules/@wdio/cli" ], "fixAvailable": { "name": "@wdio/cli", "version": "9.2.8", "isSemVerMajor": true } }, "@wdio/local-runner": { "name": "@wdio/local-runner", "severity": "high", "isDirect": true, "via": [ "@wdio/runner" ], "effects": [], "range": "7.16.5 - 8.40.6", "nodes": [ "node_modules/@wdio/local-runner" ], "fixAvailable": { "name": "@wdio/local-runner", "version": "9.2.8", "isSemVerMajor": true } }, "@wdio/runner": { "name": "@wdio/runner", "severity": "high", "isDirect": false, "via": [ "webdriverio" ], "effects": [ "@wdio/local-runner" ], "range": "7.16.5 - 8.40.6", "nodes": [ "node_modules/@wdio/runner" ], "fixAvailable": { "name": "@wdio/local-runner", "version": "9.2.8", "isSemVerMajor": true } }, "devtools": { "name": "devtools", "severity": "high", "isDirect": false, "via": [ "puppeteer-core" ], "effects": [], "range": ">=7.16.5", "nodes": [ "node_modules/devtools" ], "fixAvailable": true }, "mwbot": { "name": "mwbot", "severity": "moderate", "isDirect": false, "via": [ "request" ], "effects": [ "wdio-mediawiki" ], "range": ">=0.1.6", "nodes": [ "node_modules/mwbot" ], "fixAvailable": false }, "puppeteer-core": { "name": "puppeteer-core", "severity": "high", "isDirect": false, "via": [ "ws" ], "effects": [ "devtools", "webdriverio" ], "range": "11.0.0 - 22.11.1", "nodes": [ "node_modules/puppeteer-core" ], "fixAvailable": { "name": "@wdio/cli", "version": "9.2.8", "isSemVerMajor": true } }, "request": { "name": "request", "severity": "moderate", "isDirect": false, "via": [ { "source": 1096727, "name": "request", "dependency": "request", "title": "Server-Side Request Forgery in Request", "url": "https://github.com/advisories/GHSA-p8p7-x288-28g6", "severity": "moderate", "cwe": [ "CWE-918" ], "cvss": { "score": 6.1, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, "range": "<=2.88.2" }, "tough-cookie" ], "effects": [ "mwbot" ], "range": "*", "nodes": [ "node_modules/request" ], "fixAvailable": false }, "tough-cookie": { "name": "tough-cookie", "severity": "moderate", "isDirect": false, "via": [ { "source": 1097682, "name": "tough-cookie", "dependency": "tough-cookie", "title": "tough-cookie Prototype Pollution vulnerability", "url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3", "severity": "moderate", "cwe": [ "CWE-1321" ], "cvss": { "score": 6.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N" }, "range": "<4.1.3" } ], "effects": [ "request" ], "range": "<4.1.3", "nodes": [ "node_modules/tough-cookie" ], "fixAvailable": false }, "wdio-mediawiki": { "name": "wdio-mediawiki", "severity": "moderate", "isDirect": true, "via": [ "mwbot" ], "effects": [], "range": "*", "nodes": [ "node_modules/wdio-mediawiki" ], "fixAvailable": false }, "webdriverio": { "name": "webdriverio", "severity": "high", "isDirect": false, "via": [ "devtools", "puppeteer-core" ], "effects": [ "@wdio/cli", "@wdio/runner" ], "range": "7.16.5 - 8.40.6", "nodes": [ "node_modules/webdriverio" ], "fixAvailable": { "name": "@wdio/cli", "version": "9.2.8", "isSemVerMajor": true } }, "ws": { "name": "ws", "severity": "high", "isDirect": false, "via": [ { "source": 1098392, "name": "ws", "dependency": "ws", "title": "ws affected by a DoS when handling a request with many HTTP headers", "url": "https://github.com/advisories/GHSA-3h5v-q93c-6h6q", "severity": "high", "cwe": [ "CWE-476" ], "cvss": { "score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, "range": ">=8.0.0 <8.17.1" } ], "effects": [ "puppeteer-core" ], "range": "8.0.0 - 8.17.0", "nodes": [ "node_modules/ws" ], "fixAvailable": { "name": "@wdio/cli", "version": "9.2.8", "isSemVerMajor": true } } }, "metadata": { "vulnerabilities": { "info": 0, "low": 0, "moderate": 4, "high": 7, "critical": 0, "total": 11 }, "dependencies": { "prod": 1, "dev": 774, "optional": 2, "peer": 1, "peerOptional": 0, "total": 774 } } } --- end --- Attempting to npm audit fix $ /usr/bin/npm audit fix --dry-run --only=dev --json --- stderr --- npm WARN invalid config only="dev" set in command line options npm WARN invalid config Must be one of: null, prod, production npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'wdio-mediawiki@2.5.0', npm WARN EBADENGINE required: { node: '>=18.17.0', npm: '>=9.6.7' }, npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' } npm WARN EBADENGINE } --- stdout --- { "added": 774, "removed": 0, "changed": 0, "audited": 775, "funding": 131, "audit": { "auditReportVersion": 2, "vulnerabilities": { "@wdio/cli": { "name": "@wdio/cli", "severity": "high", "isDirect": true, "via": [ "webdriverio" ], "effects": [], "range": "7.16.5 - 8.40.6", "nodes": [ "node_modules/@wdio/cli" ], "fixAvailable": { "name": "@wdio/cli", "version": "9.2.8", "isSemVerMajor": true } }, "@wdio/local-runner": { "name": "@wdio/local-runner", "severity": "high", "isDirect": true, "via": [ "@wdio/runner" ], "effects": [], "range": "7.16.5 - 8.40.6", "nodes": [ "node_modules/@wdio/local-runner" ], "fixAvailable": { "name": "@wdio/local-runner", "version": "9.2.8", "isSemVerMajor": true } }, "@wdio/runner": { "name": "@wdio/runner", "severity": "high", "isDirect": false, "via": [ "webdriverio" ], "effects": [ "@wdio/local-runner" ], "range": "7.16.5 - 8.40.6", "nodes": [ "node_modules/@wdio/runner" ], "fixAvailable": { "name": "@wdio/local-runner", "version": "9.2.8", "isSemVerMajor": true } }, "devtools": { "name": "devtools", "severity": "high", "isDirect": false, "via": [ "puppeteer-core" ], "effects": [], "range": ">=7.16.5", "nodes": [ "node_modules/devtools" ], "fixAvailable": true }, "mwbot": { "name": "mwbot", "severity": "moderate", "isDirect": false, "via": [ "request" ], "effects": [ "wdio-mediawiki" ], "range": ">=0.1.6", "nodes": [ "node_modules/mwbot" ], "fixAvailable": false }, "puppeteer-core": { "name": "puppeteer-core", "severity": "high", "isDirect": false, "via": [ "ws" ], "effects": [ "devtools", "webdriverio" ], "range": "11.0.0 - 22.11.1", "nodes": [ "node_modules/puppeteer-core" ], "fixAvailable": { "name": "@wdio/cli", "version": "9.2.8", "isSemVerMajor": true } }, "request": { "name": "request", "severity": "moderate", "isDirect": false, "via": [ { "source": 1096727, "name": "request", "dependency": "request", "title": "Server-Side Request Forgery in Request", "url": "https://github.com/advisories/GHSA-p8p7-x288-28g6", "severity": "moderate", "cwe": [ "CWE-918" ], "cvss": { "score": 6.1, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, "range": "<=2.88.2" }, "tough-cookie" ], "effects": [ "mwbot" ], "range": "*", "nodes": [ "node_modules/request" ], "fixAvailable": false }, "tough-cookie": { "name": "tough-cookie", "severity": "moderate", "isDirect": false, "via": [ { "source": 1097682, "name": "tough-cookie", "dependency": "tough-cookie", "title": "tough-cookie Prototype Pollution vulnerability", "url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3", "severity": "moderate", "cwe": [ "CWE-1321" ], "cvss": { "score": 6.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N" }, "range": "<4.1.3" } ], "effects": [ "request" ], "range": "<4.1.3", "nodes": [ "node_modules/tough-cookie" ], "fixAvailable": false }, "wdio-mediawiki": { "name": "wdio-mediawiki", "severity": "moderate", "isDirect": true, "via": [ "mwbot" ], "effects": [], "range": "*", "nodes": [ "node_modules/wdio-mediawiki" ], "fixAvailable": false }, "webdriverio": { "name": "webdriverio", "severity": "high", "isDirect": false, "via": [ "devtools", "puppeteer-core" ], "effects": [ "@wdio/cli", "@wdio/runner" ], "range": "7.16.5 - 8.40.6", "nodes": [ "node_modules/webdriverio" ], "fixAvailable": { "name": "@wdio/cli", "version": "9.2.8", "isSemVerMajor": true } }, "ws": { "name": "ws", "severity": "high", "isDirect": false, "via": [ { "source": 1098392, "name": "ws", "dependency": "ws", "title": "ws affected by a DoS when handling a request with many HTTP headers", "url": "https://github.com/advisories/GHSA-3h5v-q93c-6h6q", "severity": "high", "cwe": [ "CWE-476" ], "cvss": { "score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, "range": ">=8.0.0 <8.17.1" } ], "effects": [ "puppeteer-core" ], "range": "8.0.0 - 8.17.0", "nodes": [ "node_modules/ws" ], "fixAvailable": { "name": "@wdio/cli", "version": "9.2.8", "isSemVerMajor": true } } }, "metadata": { "vulnerabilities": { "info": 0, "low": 0, "moderate": 4, "high": 7, "critical": 0, "total": 11 }, "dependencies": { "prod": 1, "dev": 774, "optional": 2, "peer": 1, "peerOptional": 0, "total": 774 } } } } --- end --- {"added": 774, "removed": 0, "changed": 0, "audited": 775, "funding": 131, "audit": {"auditReportVersion": 2, "vulnerabilities": {"@wdio/cli": {"name": "@wdio/cli", "severity": "high", "isDirect": true, "via": ["webdriverio"], "effects": [], "range": "7.16.5 - 8.40.6", "nodes": ["node_modules/@wdio/cli"], "fixAvailable": {"name": "@wdio/cli", "version": "9.2.8", "isSemVerMajor": true}}, "@wdio/local-runner": {"name": "@wdio/local-runner", "severity": "high", "isDirect": true, "via": ["@wdio/runner"], "effects": [], "range": "7.16.5 - 8.40.6", "nodes": ["node_modules/@wdio/local-runner"], "fixAvailable": {"name": "@wdio/local-runner", "version": "9.2.8", "isSemVerMajor": true}}, "@wdio/runner": {"name": "@wdio/runner", "severity": "high", "isDirect": false, "via": ["webdriverio"], "effects": ["@wdio/local-runner"], "range": "7.16.5 - 8.40.6", "nodes": ["node_modules/@wdio/runner"], "fixAvailable": {"name": "@wdio/local-runner", "version": "9.2.8", "isSemVerMajor": true}}, "devtools": {"name": "devtools", "severity": "high", "isDirect": false, "via": ["puppeteer-core"], "effects": [], "range": ">=7.16.5", "nodes": ["node_modules/devtools"], "fixAvailable": true}, "mwbot": {"name": "mwbot", "severity": "moderate", "isDirect": false, "via": ["request"], "effects": ["wdio-mediawiki"], "range": ">=0.1.6", "nodes": ["node_modules/mwbot"], "fixAvailable": false}, "puppeteer-core": {"name": "puppeteer-core", "severity": "high", "isDirect": false, "via": ["ws"], "effects": ["devtools", "webdriverio"], "range": "11.0.0 - 22.11.1", "nodes": ["node_modules/puppeteer-core"], "fixAvailable": {"name": "@wdio/cli", "version": "9.2.8", "isSemVerMajor": true}}, "request": {"name": "request", "severity": "moderate", "isDirect": false, "via": [{"source": 1096727, "name": "request", "dependency": "request", "title": "Server-Side Request Forgery in Request", "url": "https://github.com/advisories/GHSA-p8p7-x288-28g6", "severity": "moderate", "cwe": ["CWE-918"], "cvss": {"score": 6.1, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}, "range": "<=2.88.2"}, "tough-cookie"], "effects": ["mwbot"], "range": "*", "nodes": ["node_modules/request"], "fixAvailable": false}, "tough-cookie": {"name": "tough-cookie", "severity": "moderate", "isDirect": false, "via": [{"source": 1097682, "name": "tough-cookie", "dependency": "tough-cookie", "title": "tough-cookie Prototype Pollution vulnerability", "url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3", "severity": "moderate", "cwe": ["CWE-1321"], "cvss": {"score": 6.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"}, "range": "<4.1.3"}], "effects": ["request"], "range": "<4.1.3", "nodes": ["node_modules/tough-cookie"], "fixAvailable": false}, "wdio-mediawiki": {"name": "wdio-mediawiki", "severity": "moderate", "isDirect": true, "via": ["mwbot"], "effects": [], "range": "*", "nodes": ["node_modules/wdio-mediawiki"], "fixAvailable": false}, "webdriverio": {"name": "webdriverio", "severity": "high", "isDirect": false, "via": ["devtools", "puppeteer-core"], "effects": ["@wdio/cli", "@wdio/runner"], "range": "7.16.5 - 8.40.6", "nodes": ["node_modules/webdriverio"], "fixAvailable": {"name": "@wdio/cli", "version": "9.2.8", "isSemVerMajor": true}}, "ws": {"name": "ws", "severity": "high", "isDirect": false, "via": [{"source": 1098392, "name": "ws", "dependency": "ws", "title": "ws affected by a DoS when handling a request with many HTTP headers", "url": "https://github.com/advisories/GHSA-3h5v-q93c-6h6q", "severity": "high", "cwe": ["CWE-476"], "cvss": {"score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}, "range": ">=8.0.0 <8.17.1"}], "effects": ["puppeteer-core"], "range": "8.0.0 - 8.17.0", "nodes": ["node_modules/ws"], "fixAvailable": {"name": "@wdio/cli", "version": "9.2.8", "isSemVerMajor": true}}}, "metadata": {"vulnerabilities": {"info": 0, "low": 0, "moderate": 4, "high": 7, "critical": 0, "total": 11}, "dependencies": {"prod": 1, "dev": 774, "optional": 2, "peer": 1, "peerOptional": 0, "total": 774}}}} $ /usr/bin/npm audit fix --only=dev --- stderr --- npm WARN invalid config only="dev" set in command line options npm WARN invalid config Must be one of: null, prod, production npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'wdio-mediawiki@2.5.0', npm WARN EBADENGINE required: { node: '>=18.17.0', npm: '>=9.6.7' }, npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' } npm WARN EBADENGINE } npm WARN deprecated @types/easy-table@1.2.0: This is a stub types definition. easy-table provides its own type definitions, so you do not need this installed. npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 --- stdout --- added 773 packages, and audited 774 packages in 8s 131 packages are looking for funding run `npm fund` for details # npm audit report request * Severity: moderate Server-Side Request Forgery in Request - https://github.com/advisories/GHSA-p8p7-x288-28g6 Depends on vulnerable versions of tough-cookie No fix available node_modules/request mwbot >=0.1.6 Depends on vulnerable versions of request node_modules/mwbot wdio-mediawiki * Depends on vulnerable versions of mwbot node_modules/wdio-mediawiki tough-cookie <4.1.3 Severity: moderate tough-cookie Prototype Pollution vulnerability - https://github.com/advisories/GHSA-72xf-g2v4-qvf3 No fix available node_modules/tough-cookie ws 8.0.0 - 8.17.0 Severity: high ws affected by a DoS when handling a request with many HTTP headers - https://github.com/advisories/GHSA-3h5v-q93c-6h6q fix available via `npm audit fix --force` Will install @wdio/cli@9.2.8, which is a breaking change node_modules/ws puppeteer-core 11.0.0 - 22.11.1 Depends on vulnerable versions of ws node_modules/puppeteer-core devtools >=7.16.5 Depends on vulnerable versions of puppeteer-core node_modules/devtools webdriverio 7.16.5 - 8.40.6 Depends on vulnerable versions of devtools Depends on vulnerable versions of puppeteer-core node_modules/webdriverio @wdio/cli 7.16.5 - 8.40.6 Depends on vulnerable versions of webdriverio node_modules/@wdio/cli @wdio/runner 7.16.5 - 8.40.6 Depends on vulnerable versions of webdriverio node_modules/@wdio/runner @wdio/local-runner 7.16.5 - 8.40.6 Depends on vulnerable versions of @wdio/runner node_modules/@wdio/local-runner 11 vulnerabilities (4 moderate, 7 high) To address issues that do not require attention, run: npm audit fix To address all issues possible (including breaking changes), run: npm audit fix --force Some issues need review, and may require choosing a different dependency. --- end --- Verifying that tests still pass $ /usr/bin/npm ci --- stderr --- npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'wdio-mediawiki@2.5.0', npm WARN EBADENGINE required: { node: '>=18.17.0', npm: '>=9.6.7' }, npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' } npm WARN EBADENGINE } npm WARN deprecated @types/easy-table@1.2.0: This is a stub types definition. easy-table provides its own type definitions, so you do not need this installed. npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 --- stdout --- added 773 packages, and audited 774 packages in 9s 131 packages are looking for funding run `npm fund` for details 11 vulnerabilities (4 moderate, 7 high) To address issues that do not require attention, run: npm audit fix To address all issues possible (including breaking changes), run: npm audit fix --force Some issues need review, and may require choosing a different dependency. Run `npm audit` for details. --- end --- $ /usr/bin/npm test --- stdout --- > test > grunt test Running "eslint:all" (eslint) task /src/repo/modules/ext.abuseFilter.edit.js 297:1 warning The type 'HTMLELement' is undefined jsdoc/no-undefined-types 360:1 warning The type 'HTMLELement' is undefined jsdoc/no-undefined-types ✖ 2 problems (0 errors, 2 warnings) Running "stylelint:all" (stylelint) task >> Linted 1 files without errors Running "banana:AbuseFilter" (banana) task >> 2 message directories checked. Done. --- end --- {} $ package-lock-lint package-lock.json --- stdout --- Checking package-lock.json --- end --- build: Updating mediawiki/mediawiki-codesniffer to 45.0.0 The following sniffs are failing and were disabled: * MediaWiki.Usage.NullableType.ExplicitNullableTypes The following sniffs now pass and were enabled: * MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic $ git add . --- stdout --- --- end --- $ git commit -F /tmp/tmpi0rs09yn --- stdout --- [REL1_43 5d89630] build: Updating mediawiki/mediawiki-codesniffer to 45.0.0 2 files changed, 2 insertions(+), 2 deletions(-) --- end --- $ git format-patch HEAD~1 --stdout --- stdout --- From 5d8963060f3d1a1635b147699586a7963ff0cc26 Mon Sep 17 00:00:00 2001 From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org> Date: Mon, 4 Nov 2024 15:46:26 +0000 Subject: [PATCH] build: Updating mediawiki/mediawiki-codesniffer to 45.0.0 The following sniffs are failing and were disabled: * MediaWiki.Usage.NullableType.ExplicitNullableTypes The following sniffs now pass and were enabled: * MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic Change-Id: Ic79fb296451dc589e9fa0c3381ef95fd4b9534a0 --- .phpcs.xml | 2 +- composer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.phpcs.xml b/.phpcs.xml index e701481..991deff 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -1,7 +1,7 @@ <?xml version="1.0"?> <ruleset> <rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki"> - <exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" /> + <exclude name="MediaWiki.Usage.NullableType.ExplicitNullableTypes" /> </rule> <rule ref="Generic.Files.LineLength"> <exclude-pattern>AbuseFilter\.alias\.php</exclude-pattern> diff --git a/composer.json b/composer.json index a272f52..b1373b9 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "wikimedia/equivset": "^1.7.0" }, "require-dev": { - "mediawiki/mediawiki-codesniffer": "44.0.0", + "mediawiki/mediawiki-codesniffer": "45.0.0", "mediawiki/mediawiki-phan-config": "0.14.0", "mediawiki/minus-x": "1.1.3", "php-parallel-lint/php-console-highlighter": "1.0.0", -- 2.39.2 --- end ---