mediawiki/extensions/SocialProfile: main (log #1606747)

sourcepatches

This run took 25 seconds.

From 0afd8861929cfadc57be738d5eafb2d7f9c24f87 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Thu, 14 Nov 2024 12:35:06 +0000
Subject: [PATCH] build: Updating mediawiki/mediawiki-codesniffer to 45.0.0

Change-Id: Ic763600a822283acbc547c9b5642438f17e42e85
---
 UserProfile/includes/avatar/UploadAvatarFromUrl.php | 2 +-
 UserStats/includes/UserStatsUpdater.php             | 2 +-
 composer.json                                       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/UserProfile/includes/avatar/UploadAvatarFromUrl.php b/UserProfile/includes/avatar/UploadAvatarFromUrl.php
index 043cde7..80430ae 100644
--- a/UserProfile/includes/avatar/UploadAvatarFromUrl.php
+++ b/UserProfile/includes/avatar/UploadAvatarFromUrl.php
@@ -22,7 +22,7 @@ class UploadAvatarFromUrl extends UploadFromUrl {
 	}
 
 	/** @inheritDoc */
-	public function doStashFile( User $user = null ) {
+	public function doStashFile( ?User $user = null ) {
 		return parent::doStashFile( $user );
 	}
 
diff --git a/UserStats/includes/UserStatsUpdater.php b/UserStats/includes/UserStatsUpdater.php
index 277d527..da7ecce 100644
--- a/UserStats/includes/UserStatsUpdater.php
+++ b/UserStats/includes/UserStatsUpdater.php
@@ -19,7 +19,7 @@ class UserStatsUpdater {
 	 * @param callable|null $progressCallback Callback to print progress for
 	 *                      each user. Params: $userName, $editCount
 	 */
-	public function updateMainEditsCount( callable $progressCallback = null ) {
+	public function updateMainEditsCount( ?callable $progressCallback = null ) {
 		global $wgNamespacesForEditPoints;
 
 		$additionalConds = [];
diff --git a/composer.json b/composer.json
index 6fb0f8e..617b94c 100644
--- a/composer.json
+++ b/composer.json
@@ -1,6 +1,6 @@
 {
 	"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 ---
Thu Nov 14 12:34:48 UTC 2024

--- end ---
$ git clone file:///srv/git/mediawiki-extensions-SocialProfile.git repo --depth=1 -b master
--- 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/master
--- stdout ---
e7603e81dd9c9aee714d9034886b696ae587edcb refs/heads/master

--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
  "auditReportVersion": 2,
  "vulnerabilities": {},
  "metadata": {
    "vulnerabilities": {
      "info": 0,
      "low": 0,
      "moderate": 0,
      "high": 0,
      "critical": 0,
      "total": 0
    },
    "dependencies": {
      "prod": 1,
      "dev": 310,
      "optional": 0,
      "peer": 1,
      "peerOptional": 0,
      "total": 310
    }
  }
}

--- 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: 38 installs, 0 updates, 0 removals
  - Locking composer/pcre (3.3.2)
  - 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.6.0)
  - Locking phpdocumentor/type-resolver (1.10.0)
  - Locking phpstan/phpdoc-parser (2.0.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.8)
  - 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.8)
  - Locking tysonandre/var_representation_polyfill (0.1.3)
  - Locking webmozart/assert (1.11.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 38 installs, 0 updates, 0 removals
    0 [>---------------------------]    0 [->--------------------------]
  - Installing squizlabs/php_codesniffer (3.9.0): Extracting archive
  - Installing dealerdirect/phpcodesniffer-composer-installer (v1.0.0): Extracting archive
  - Installing composer/pcre (3.3.2): 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.8): 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.8): 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 (2.0.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.10.0): Extracting archive
  - Installing phpdocumentor/reflection-docblock (5.6.0): 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
  0/36 [>---------------------------]   0%
 20/36 [===============>------------]  55%
 35/36 [===========================>]  97%
 36/36 [============================] 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.NamingConventions.PrefixedGlobalFunctions.allowedPrefix', 'MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate', 'MediaWiki.Usage.ForbiddenFunctions.exec', 'PEAR.Functions.ValidDefaultValue.NotAtEnd', 'MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment', 'MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage', 'MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgTitle', 'PSR12.Properties.ConstantVisibility.NotFound', 'Generic.Files.LineLength.TooLong', 'Squiz.Scope.MethodScope.Missing', 'MediaWiki.Files.ClassMatchesFilename.NotMatch', 'MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic', 'MediaWiki.Usage.DbrQueryUsage.DbrQueryFound'}
$ vendor/bin/phpcs --report=json
--- stdout ---
{"totals":{"errors":237,"warnings":147,"fixable":2},"files":{"\/src\/repo\/SystemGifts\/maintenance\/migrateOldSystemGiftsUserColumnsToActor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserGifts\/includes\/UserGifts.alias.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/SystemGifts\/includes\/EchoUserSystemGiftPresentationModel.php":{"errors":4,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":8,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":12,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":20,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":24,"column":12}]},"\/src\/repo\/UserBoard\/includes\/api\/ApiSendUserBoardMessage.php":{"errors":2,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":44,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":48,"column":12}]},"\/src\/repo\/UserGifts\/maintenance\/migrateOldGiftsUserColumnsToActor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserGifts\/includes\/UserGiftsHooks.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserBoard\/includes\/UserBoardMessageCount.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":20,"column":12}]},"\/src\/repo\/SocialProfile.namespaces.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserBoard\/maintenance\/migrateOldUserBoardUserColumnsToActor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserBoard\/includes\/api\/ApiDeleteUserBoardMessage.php":{"errors":2,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":36,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":40,"column":12}]},"\/src\/repo\/UserStats\/maintenance\/updateUserStats.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/SystemGifts\/includes\/specials\/SpecialViewSystemGift.php":{"errors":1,"warnings":2,"messages":[{"message":"Class name 'ViewSystemGift' does not match filename 'SpecialViewSystemGift.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":11,"column":1},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":35,"column":23},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":128,"column":26}]},"\/src\/repo\/UserBoard\/includes\/EchoUserBoardMessagePresentationModel.php":{"errors":4,"warnings":1,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":8,"column":12},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":9,"column":29},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":12,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":27,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":31,"column":12}]},"\/src\/repo\/UserGifts\/includes\/UserGiftIcon.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":16,"column":12}]},"\/src\/repo\/UserBoard\/includes\/UserBoardHooks.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":25,"column":36}]},"\/src\/repo\/SystemGifts\/includes\/SystemGiftCount.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":21,"column":12}]},"\/src\/repo\/UserGifts\/includes\/EchoUserGiftPresentationModel.php":{"errors":7,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":8,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":12,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":43,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":47,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":54,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate","severity":5,"fixable":false,"type":"ERROR","line":71,"column":13},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate","severity":5,"fixable":false,"type":"ERROR","line":81,"column":13}]},"\/src\/repo\/UserStats\/maintenance\/migrateOldUserPointsWeeklyUserColumnToActor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserStats\/maintenance\/migrateOldUserSystemMessagesUserColumnToActor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserStats\/maintenance\/migrateOldUserPointsArchiveUserColumnToActor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserStats\/includes\/specials\/SpecialUpdateEditCounts.php":{"errors":1,"warnings":0,"messages":[{"message":"Class name 'UpdateEditCounts' does not match filename 'SpecialUpdateEditCounts.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":10,"column":1}]},"\/src\/repo\/UserGifts\/includes\/UserGiftListLookup.php":{"errors":2,"warnings":1,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":29,"column":12},{"message":"Visibility must be declared on method \"getGiftList\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":41,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":85,"column":22}]},"\/src\/repo\/UserStats\/maintenance\/migrateOldUserStatsUserColumnsToActor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserGifts\/includes\/specials\/SpecialRemoveMasterGift.php":{"errors":4,"warnings":0,"messages":[{"message":"Class name 'RemoveMasterGift' does not match filename 'SpecialRemoveMasterGift.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":5,"column":1},{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":21,"column":5},{"message":"Visibility must be declared on method \"deleteImage\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":35,"column":5},{"message":"Visibility must be declared on method \"displayForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":155,"column":5}]},"\/src\/repo\/UserStats\/maintenance\/migrateOldUserPointsMonthlyUserColumnToActor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserActivity\/includes\/specials\/UserActivity.body.php":{"errors":2,"warnings":0,"messages":[{"message":"Class name 'UserHome' does not match filename 'UserActivity.body.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":11,"column":1},{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":22,"column":5}]},"\/src\/repo\/UserStats\/includes\/EchoUserLevelAdvancePresentationModel.php":{"errors":4,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":8,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":12,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":24,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":28,"column":12}]},"\/src\/repo\/SystemGifts\/includes\/SystemGiftListLookup.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":20,"column":12}]},"\/src\/repo\/SystemGifts\/includes\/specials\/SpecialViewSystemGifts.php":{"errors":2,"warnings":0,"messages":[{"message":"Class name 'ViewSystemGifts' does not match filename 'SpecialViewSystemGifts.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":9,"column":1},{"message":"Visibility must be declared on method \"isListed\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":20,"column":5}]},"\/src\/repo\/UserBoard\/includes\/specials\/SpecialSendBoardBlast.php":{"errors":2,"warnings":0,"messages":[{"message":"Class name 'SpecialBoardBlast' does not match filename 'SpecialSendBoardBlast.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":16,"column":1},{"message":"Visibility must be declared on method \"displayForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":142,"column":5}]},"\/src\/repo\/UserStats\/includes\/TopUsersTag.php":{"errors":1,"warnings":0,"messages":[{"message":"Global function \"getTopUsersForTag()\" is lacking a valid prefix ('wf'). It should be wfGetTopUsersForTag().","source":"MediaWiki.NamingConventions.PrefixedGlobalFunctions.allowedPrefix","severity":5,"fixable":false,"type":"ERROR","line":36,"column":1}]},"\/src\/repo\/UserActivity\/includes\/UserActivityIcon.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":11,"column":12}]},"\/src\/repo\/SystemGifts\/includes\/SystemGifts.php":{"errors":3,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":199,"column":12},{"message":"Visibility must be declared on method \"getGift\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":231,"column":12},{"message":"Visibility must be declared on method \"getGiftCount\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":259,"column":12}]},"\/src\/repo\/UserGifts\/includes\/UserGiftCount.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":22,"column":12}]},"\/src\/repo\/UserStats\/includes\/TopUsersListLookup.php":{"errors":2,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":12,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":16,"column":12}]},"\/src\/repo\/UserRelationship\/maintenance\/migrateOldUserRelationshipUserColumnsToActor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserRelationship\/includes\/api\/ApiRelationshipResponse.php":{"errors":2,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":39,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":43,"column":12}]},"\/src\/repo\/SystemGifts\/includes\/specials\/TopAwards.php":{"errors":0,"warnings":1,"messages":[{"message":"Should use function $this->getConfig()->get() rather than global $wgUserStatsPointValues","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":24,"column":16}]},"\/src\/repo\/UserGifts\/includes\/specials\/SpecialViewGift.php":{"errors":2,"warnings":0,"messages":[{"message":"Class name 'ViewGift' does not match filename 'SpecialViewGift.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":5,"column":1},{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":16,"column":5}]},"\/src\/repo\/SystemGifts\/includes\/UserSystemGiftsHooks.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/SystemGifts\/includes\/UserSystemGifts.php":{"errors":1,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":91,"column":44},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":181,"column":12}]},"\/src\/repo\/UserStats\/includes\/UserStatsHooks.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserStats\/includes\/UserLevel.php":{"errors":1,"warnings":0,"messages":[{"message":"Visibility must be declared on method \"__construct\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":39,"column":5}]},"\/src\/repo\/SystemGifts\/includes\/SystemGiftIcon.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":16,"column":12}]},"\/src\/repo\/UserStats\/includes\/UserStats.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserStats\/includes\/UserSystemMessage.php":{"errors":1,"warnings":3,"messages":[{"message":"Visibility must be declared on all constants if your project supports PHP 7.1 or later","source":"PSR12.Properties.ConstantVisibility.NotFound","severity":5,"fixable":false,"type":"WARNING","line":18,"column":5},{"message":"Visibility must be declared on all constants if your project supports PHP 7.1 or later","source":"PSR12.Properties.ConstantVisibility.NotFound","severity":5,"fixable":false,"type":"WARNING","line":23,"column":5},{"message":"Visibility must be declared on all constants if your project supports PHP 7.1 or later","source":"PSR12.Properties.ConstantVisibility.NotFound","severity":5,"fixable":false,"type":"WARNING","line":28,"column":5},{"message":"Arguments with default values must be at the end of the argument list","source":"PEAR.Functions.ValidDefaultValue.NotAtEnd","severity":5,"fixable":false,"type":"ERROR","line":37,"column":51}]},"\/src\/repo\/UserProfile\/maintenance\/migrateOldUserFieldPrivacyUserColumnToActor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/SystemGifts\/includes\/SystemGifts.alias.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserProfile\/maintenance\/migrateOldUserProfileUserColumnToActor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserStats\/EditCount.php":{"errors":3,"warnings":0,"messages":[{"message":"Global function \"incEditCount()\" is lacking a valid prefix ('wf'). It should be wfIncEditCount().","source":"MediaWiki.NamingConventions.PrefixedGlobalFunctions.allowedPrefix","severity":5,"fixable":false,"type":"ERROR","line":31,"column":1},{"message":"Global function \"removeDeletedEdits()\" is lacking a valid prefix ('wf'). It should be wfRemoveDeletedEdits().","source":"MediaWiki.NamingConventions.PrefixedGlobalFunctions.allowedPrefix","severity":5,"fixable":false,"type":"ERROR","line":62,"column":1},{"message":"Global function \"restoreDeletedEdits()\" is lacking a valid prefix ('wf'). It should be wfRestoreDeletedEdits().","source":"MediaWiki.NamingConventions.PrefixedGlobalFunctions.allowedPrefix","severity":5,"fixable":false,"type":"ERROR","line":123,"column":1}]},"\/src\/repo\/SocialProfileHooks.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserStats\/includes\/specials\/TopFansRecent.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserProfile\/includes\/avatar\/UploadAvatar.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserRelationship\/maintenance\/migrateOldUserRelationshipRequestUserColumnsToActor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserRelationship\/includes\/RelationshipListLookup.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":20,"column":12}]},"\/src\/repo\/UserRelationship\/includes\/RelationshipRequestCount.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":29,"column":12}]},"\/src\/repo\/UserProfile\/includes\/api\/ApiUserProfilePrivacy.php":{"errors":2,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":13,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":71,"column":12}]},"\/src\/repo\/SystemGifts\/includes\/specials\/SpecialSystemGiftManager.php":{"errors":3,"warnings":3,"messages":[{"message":"Class name 'SystemGiftManager' does not match filename 'SpecialSystemGiftManager.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":12,"column":1},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":15,"column":49},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":15,"column":74},{"message":"Visibility must be declared on method \"displayGiftList\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":105,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":106,"column":23},{"message":"Visibility must be declared on method \"displayForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":242,"column":5}]},"\/src\/repo\/UserProfile\/includes\/avatar\/UploadAvatarFromUrl.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?User $user = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":25,"column":34}]},"\/src\/repo\/UserStats\/includes\/specials\/TopFansByStat.php":{"errors":0,"warnings":2,"messages":[{"message":"Should use function $this->getConfig()->get() rather than global $wgUserStatsTrackWeekly","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":26,"column":16},{"message":"Should use function $this->getConfig()->get() rather than global $wgUserStatsTrackMonthly","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":26,"column":41}]},"\/src\/repo\/UserRelationship\/UserRelationship.i18n.alias.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserGifts\/includes\/UserGifts.php":{"errors":2,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":160,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":249,"column":12}]},"\/src\/repo\/UserRelationship\/includes\/UserRelationshipHooks.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserActivity\/includes\/SiteActivityHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/SocialProfileFileBackend.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserWelcome\/UserWelcome.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserProfile\/maintenance\/purgeAvatarKeysFromMemcached.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":90,"column":50}]},"\/src\/repo\/UserStats\/includes\/UserStatsUpdater.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?callable $progressCallback = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":22,"column":43}]},"\/src\/repo\/UserProfile\/includes\/specials\/SpecialToggleUserPageType.php":{"errors":1,"warnings":0,"messages":[{"message":"Class name 'SpecialToggleUserPage' does not match filename 'SpecialToggleUserPageType.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":16,"column":1}]},"\/src\/repo\/SystemGifts\/includes\/specials\/SpecialPopulateAwards.php":{"errors":1,"warnings":3,"messages":[{"message":"Class name 'PopulateAwards' does not match filename 'SpecialPopulateAwards.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":10,"column":1},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":13,"column":46},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":13,"column":72},{"message":"Should use function $this->getConfig()->get() rather than global $wgUserLevels","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":22,"column":16}]},"\/src\/repo\/UserProfile\/UserProfile.php":{"errors":0,"warnings":6,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":57,"column":41},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":61,"column":44},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":62,"column":45},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":63,"column":41},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":65,"column":42},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":66,"column":41}]},"\/src\/repo\/UserProfile\/includes\/parser\/NewUsersList.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserProfile\/includes\/parser\/RandomUsersWithAvatars.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserGifts\/includes\/specials\/SpecialViewGifts.php":{"errors":3,"warnings":0,"messages":[{"message":"Class name 'ViewGifts' does not match filename 'SpecialViewGifts.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":12,"column":1},{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":23,"column":5},{"message":"Visibility must be declared on method \"isListed\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":32,"column":5}]},"\/src\/repo\/UserProfile\/includes\/api\/ApiUserProfileType.php":{"errors":2,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":15,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":129,"column":12}]},"\/src\/repo\/UserGifts\/includes\/Gifts.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserRelationship\/includes\/specials\/SpecialRemoveRelationship.php":{"errors":2,"warnings":0,"messages":[{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":35,"column":5},{"message":"Visibility must be declared on method \"displayForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":178,"column":5}]},"\/src\/repo\/UserProfile\/includes\/api\/ApiUploadAvatar.php":{"errors":0,"warnings":3,"messages":[{"message":"Should use function $this->getConfig()->get() rather than global $wgAvatarKey","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":34,"column":16},{"message":"Should use function $this->getConfig()->get() rather than global $wgUserProfileDisplay","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":34,"column":30},{"message":"Should use function $this->getConfig()->get() rather than global $wgUploadAvatarInRecentChanges","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":34,"column":53}]},"\/src\/repo\/UserRelationship\/includes\/EchoUserRelationshipPresentationModel.php":{"errors":6,"warnings":14,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":8,"column":12},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":12,"column":32},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":14,"column":75},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":16,"column":18},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":22,"column":12},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":27,"column":49},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":42,"column":58},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":51,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":55,"column":12},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":58,"column":20},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":59,"column":49},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":61,"column":58},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":70,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate","severity":5,"fixable":false,"type":"ERROR","line":76,"column":13},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":79,"column":29},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":80,"column":49},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":83,"column":58},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":107,"column":23},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":108,"column":49},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":110,"column":58}]},"\/src\/repo\/SocialProfile.php":{"errors":0,"warnings":4,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":118,"column":41},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":147,"column":56},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":149,"column":34},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":150,"column":35}]},"\/src\/repo\/UserStats\/includes\/specials\/GenerateTopUsersReport.php":{"errors":0,"warnings":5,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":82,"column":53},{"message":"Should use function $this->getConfig()->get() rather than global $wgUserStatsPointValues","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":105,"column":16},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":138,"column":32},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":303,"column":30},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":344,"column":24}]},"\/src\/repo\/UserProfile\/includes\/parser\/AvatarParserFunction.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserWelcome\/includes\/UserWelcome.php":{"errors":13,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":27,"column":19},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":53,"column":5},{"message":"Visibility must be declared on method \"getWelcome\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":53,"column":5},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":135,"column":5},{"message":"Visibility must be declared on method \"getRequests\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":135,"column":5},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":154,"column":5},{"message":"Visibility must be declared on method \"getRelationshipRequestLink\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":154,"column":5},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":188,"column":5},{"message":"Visibility must be declared on method \"getNewGiftLink\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":188,"column":5},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":213,"column":5},{"message":"Visibility must be declared on method \"getNewSystemGiftLink\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":213,"column":5},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":236,"column":5},{"message":"Visibility must be declared on method \"getNewMessagesLink\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":236,"column":5}]},"\/src\/repo\/.phan\/config.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":8,"column":14}]},"\/src\/repo\/UserStats\/includes\/specials\/TopUsers.php":{"errors":1,"warnings":3,"messages":[{"message":"Class name 'TopUsersPoints' does not match filename 'TopUsers.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":6,"column":1},{"message":"Should use function $this->getConfig()->get() rather than global $wgUserStatsTrackWeekly","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":18,"column":16},{"message":"Should use function $this->getConfig()->get() rather than global $wgUserStatsTrackMonthly","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":18,"column":41},{"message":"Should use function $this->getConfig()->get() rather than global $wgUserLevels","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":18,"column":67}]},"\/src\/repo\/UserProfile\/includes\/avatar\/Avatar.php":{"errors":1,"warnings":2,"messages":[{"message":"Class name 'wAvatar' does not match filename 'Avatar.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":21,"column":1},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":129,"column":66},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":174,"column":119}]},"\/src\/repo\/UserProfile\/includes\/SPUserSecurity.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":185,"column":83}]},"\/src\/repo\/UserProfile\/includes\/avatar\/Avatar.i18n.magic.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserRelationship\/includes\/specials\/SpecialAddRelationship.php":{"errors":2,"warnings":0,"messages":[{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":36,"column":5},{"message":"Visibility must be declared on method \"displayForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":262,"column":5}]},"\/src\/repo\/UserStats\/includes\/UserStatsTrack.php":{"errors":6,"warnings":1,"messages":[{"message":"Visibility must be declared on method \"incStatField\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":142,"column":5},{"message":"Visibility must be declared on method \"decStatField\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":207,"column":5},{"message":"Visibility must be declared on method \"updateCommentScoreRec\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":240,"column":5},{"message":"Visibility must be declared on method \"updateRelationshipCount\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":291,"column":5},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":315,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":350,"column":12},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":460,"column":56}]},"\/src\/repo\/UserBoard\/includes\/UserBoard.php":{"errors":2,"warnings":8,"messages":[{"message":"Visibility must be declared on all constants if your project supports PHP 7.1 or later","source":"PSR12.Properties.ConstantVisibility.NotFound","severity":5,"fixable":false,"type":"WARNING","line":13,"column":5},{"message":"Visibility must be declared on all constants if your project supports PHP 7.1 or later","source":"PSR12.Properties.ConstantVisibility.NotFound","severity":5,"fixable":false,"type":"WARNING","line":18,"column":5},{"message":"Deprecated global $wgTitle used","source":"MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgTitle","severity":5,"fixable":false,"type":"WARNING","line":224,"column":24},{"message":"Deprecated global $wgTitle used","source":"MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgTitle","severity":5,"fixable":false,"type":"WARNING","line":267,"column":24},{"message":"Call $dbr->select() wrapper instead of $dbr->query()","source":"MediaWiki.Usage.DbrQueryUsage.DbrQueryFound","severity":5,"fixable":false,"type":"WARNING","line":300,"column":20},{"message":"Call $dbr->select() wrapper instead of $dbr->query()","source":"MediaWiki.Usage.DbrQueryUsage.DbrQueryFound","severity":5,"fixable":false,"type":"WARNING","line":345,"column":20},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":438,"column":12},{"message":"Deprecated global $wgTitle used","source":"MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgTitle","severity":5,"fixable":false,"type":"WARNING","line":439,"column":16},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":441,"column":23},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":479,"column":12}]},"\/src\/repo\/UserProfile\/includes\/api\/ApiRemoveAvatar.php":{"errors":1,"warnings":1,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":15,"column":12},{"message":"Should use function $this->getConfig()->get() rather than global $wgUploadAvatarInRecentChanges","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":23,"column":16}]},"\/src\/repo\/UserGifts\/includes\/specials\/SpecialGiveGift.php":{"errors":6,"warnings":3,"messages":[{"message":"Class name 'GiveGift' does not match filename 'SpecialGiveGift.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":12,"column":1},{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":32,"column":5},{"message":"Visibility must be declared on method \"isListed\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":41,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":55,"column":23},{"message":"Visibility must be declared on method \"displayFormSingle\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":236,"column":5},{"message":"Visibility must be declared on method \"displayFormNoUser\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":303,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgFriendingEnabled","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":304,"column":16},{"message":"Visibility must be declared on method \"displayFormAll\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":363,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgGiveGiftPerRow","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":364,"column":16}]},"\/src\/repo\/UserProfile\/includes\/specials\/SpecialUploadAvatar.php":{"errors":3,"warnings":2,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":24,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":29,"column":12},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":61,"column":60},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":105,"column":20},{"message":"Visibility must be declared on method \"getAvatar\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":330,"column":5}]},"\/src\/repo\/UserGifts\/maintenance\/migrateOldUserGiftsUserColumnsToActor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserStats\/includes\/RandomFeaturedUser.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserBoard\/includes\/specials\/SpecialUserBoard.php":{"errors":3,"warnings":3,"messages":[{"message":"Class name 'SpecialViewUserBoard' does not match filename 'SpecialUserBoard.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":15,"column":1},{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":26,"column":5},{"message":"Visibility must be declared on method \"isListed\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":35,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":71,"column":22},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":207,"column":31},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":302,"column":31}]},"\/src\/repo\/UserProfile\/includes\/specials\/SpecialPopulateExistingUsersProfiles.php":{"errors":1,"warnings":1,"messages":[{"message":"Class name 'SpecialPopulateUserProfiles' does not match filename 'SpecialPopulateExistingUsersProfiles.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":16,"column":1},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":92,"column":21}]},"\/src\/repo\/UserRelationship\/includes\/specials\/SpecialViewRelationshipRequests.php":{"errors":2,"warnings":0,"messages":[{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":38,"column":5},{"message":"Visibility must be declared on method \"isListed\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":47,"column":5}]},"\/src\/repo\/UserProfile\/includes\/avatar\/UploadAvatarTrait.php":{"errors":2,"warnings":5,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":22,"column":5},{"message":"Visibility must be declared on method \"createThumbnail\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":22,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":36,"column":36},{"message":"exec should not be used","source":"MediaWiki.Usage.ForbiddenFunctions.exec","severity":5,"fixable":false,"type":"WARNING","line":48,"column":17},{"message":"exec should not be used","source":"MediaWiki.Usage.ForbiddenFunctions.exec","severity":5,"fixable":false,"type":"WARNING","line":67,"column":17},{"message":"exec should not be used","source":"MediaWiki.Usage.ForbiddenFunctions.exec","severity":5,"fixable":false,"type":"WARNING","line":86,"column":17},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":104,"column":18}]},"\/src\/repo\/UserProfile\/includes\/UserProfileHooks.php":{"errors":0,"warnings":2,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":372,"column":92},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":434,"column":75}]},"\/src\/repo\/UserProfile\/includes\/specials\/SpecialEditProfile.php":{"errors":8,"warnings":1,"messages":[{"message":"Visibility must be declared on method \"createUserInputForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":148,"column":5},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":174,"column":5},{"message":"Visibility must be declared on method \"saveBasicSettings\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":174,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":182,"column":51},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":189,"column":5},{"message":"Visibility must be declared on method \"displayBasicForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":189,"column":5},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":381,"column":5},{"message":"Visibility must be declared on method \"displayPersonalForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":381,"column":5},{"message":"Visibility must be declared on method \"displayCustomForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":475,"column":5}]},"\/src\/repo\/UserRelationship\/includes\/specials\/SpecialViewRelationships.php":{"errors":2,"warnings":0,"messages":[{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":29,"column":5},{"message":"Visibility must be declared on method \"isListed\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":38,"column":5}]},"\/src\/repo\/UserRelationship\/includes\/UserRelationshipClass.php":{"errors":1,"warnings":1,"messages":[{"message":"Class name 'UserRelationship' does not match filename 'UserRelationshipClass.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":8,"column":1},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":381,"column":21}]},"\/src\/repo\/SystemGifts\/includes\/specials\/SpecialSystemGiftManagerLogo.php":{"errors":12,"warnings":18,"messages":[{"message":"Class name 'SystemGiftManagerLogo' does not match filename 'SpecialSystemGiftManagerLogo.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":15,"column":1},{"message":"Visibility must be declared on method \"initLogo\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":98,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgEnableUploads","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":158,"column":16},{"message":"Visibility must be declared on method \"processUpload\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":192,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgStrictFileExtensions","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":223,"column":16},{"message":"Should use function $this->getConfig()->get() rather than global $wgFileBlacklist","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":223,"column":41},{"message":"Should use function $this->getConfig()->get() rather than global $wgCheckFileExtensions","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":251,"column":20},{"message":"Should use function $this->getConfig()->get() rather than global $wgUploadSizeWarning","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":258,"column":20},{"message":"Visibility must be declared on method \"createThumbnail\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":302,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgUseImageMagick","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":303,"column":16},{"message":"Should use function $this->getConfig()->get() rather than global $wgImageMagickConvertCommand","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":303,"column":35},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":319,"column":36},{"message":"exec should not be used","source":"MediaWiki.Usage.ForbiddenFunctions.exec","severity":5,"fixable":false,"type":"WARNING","line":329,"column":17},{"message":"exec should not be used","source":"MediaWiki.Usage.ForbiddenFunctions.exec","severity":5,"fixable":false,"type":"WARNING","line":348,"column":17},{"message":"exec should not be used","source":"MediaWiki.Usage.ForbiddenFunctions.exec","severity":5,"fixable":false,"type":"WARNING","line":367,"column":17},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":384,"column":18},{"message":"Visibility must be declared on method \"saveUploadedFile\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":468,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":549,"column":75},{"message":"Visibility must be declared on method \"stashSession\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":585,"column":5},{"message":"Visibility must be declared on method \"unsaveUploadedFile\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":606,"column":5},{"message":"Visibility must be declared on method \"showSuccess\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":620,"column":5},{"message":"Visibility must be declared on method \"uploadError\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":673,"column":5},{"message":"Visibility must be declared on method \"uploadWarning\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":688,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgUseCopyrightUpload","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":689,"column":16},{"message":"Visibility must be declared on method \"mainUploadForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":742,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgUseCopyrightUpload","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":743,"column":16},{"message":"Visibility must be declared on method \"verify\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":813,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgDisableUploadScriptChecks","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":814,"column":16},{"message":"Should use function $this->getConfig()->get() rather than global $wgVerifyMimeType","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":814,"column":46},{"message":"Should use function $this->getConfig()->get() rather than global $wgMimeTypeBlacklist","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":814,"column":65}]},"\/src\/repo\/UserProfile\/includes\/UserProfile.php":{"errors":2,"warnings":0,"messages":[{"message":"Visibility must be declared on method \"formatBirthday\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":199,"column":5},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":254,"column":19}]},"\/src\/repo\/SystemGifts\/includes\/specials\/SpecialRemoveMasterSystemGift.php":{"errors":3,"warnings":0,"messages":[{"message":"Class name 'RemoveMasterSystemGift' does not match filename 'SpecialRemoveMasterSystemGift.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":11,"column":1},{"message":"Visibility must be declared on method \"deleteImage\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":32,"column":5},{"message":"Visibility must be declared on method \"displayForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":135,"column":5}]},"\/src\/repo\/UserGifts\/includes\/specials\/SpecialGiftManager.php":{"errors":6,"warnings":5,"messages":[{"message":"Class name 'GiftManager' does not match filename 'SpecialGiftManager.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":10,"column":1},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":13,"column":43},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":13,"column":65},{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":25,"column":5},{"message":"Visibility must be declared on method \"canUserManage\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":121,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgMaxCustomUserGiftCount","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":122,"column":16},{"message":"Visibility must be declared on method \"canUserDelete\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":143,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgMaxCustomUserGiftCount","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":170,"column":16},{"message":"Visibility must be declared on method \"displayGiftList\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":198,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":199,"column":23},{"message":"Visibility must be declared on method \"displayForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":330,"column":5}]},"\/src\/repo\/UserActivity\/includes\/UserActivity.php":{"errors":14,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate","severity":5,"fixable":false,"type":"ERROR","line":76,"column":13},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":1021,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":1026,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":1031,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":1036,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":1041,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":1046,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":1051,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":1056,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":1061,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":1066,"column":12},{"message":"Visibility must be declared on method \"simplifyPageActivity\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":1157,"column":5},{"message":"Visibility must be declared on method \"getTypeIcon\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":1293,"column":12},{"message":"Visibility must be declared on method \"fixItemComment\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":1328,"column":5}]},"\/src\/repo\/UserActivity\/includes\/UserActivity.alias.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserProfile\/includes\/specials\/SpecialUpdateProfile.php":{"errors":12,"warnings":6,"messages":[{"message":"Visibility must be declared on method \"initProfile\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":28,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgUpdateProfileInRecentChanges","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":55,"column":16},{"message":"Should use function $this->getConfig()->get() rather than global $wgUserProfileThresholds","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":55,"column":49},{"message":"Should use function $this->getConfig()->get() rather than global $wgAutoConfirmCount","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":55,"column":75},{"message":"Should use function $this->getConfig()->get() rather than global $wgEmailConfirmToEdit","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":55,"column":96},{"message":"Visibility must be declared on method \"saveBasicSettings\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":272,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgEmailAuthentication","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":273,"column":16},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":281,"column":48},{"message":"Visibility must be declared on method \"saveSocialPreferences\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":300,"column":5},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":324,"column":19},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":337,"column":19},{"message":"Visibility must be declared on method \"saveProfileBasic\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":358,"column":5},{"message":"Visibility must be declared on method \"saveProfileCustom\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":407,"column":5},{"message":"Visibility must be declared on method \"saveProfilePersonal\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":437,"column":5},{"message":"Visibility must be declared on method \"displayBasicForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":478,"column":5},{"message":"Visibility must be declared on method \"displayPersonalForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":689,"column":5},{"message":"Visibility must be declared on method \"displayPreferencesForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":792,"column":5},{"message":"Visibility must be declared on method \"displayCustomForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":865,"column":5}]},"\/src\/repo\/UserGifts\/includes\/specials\/SpecialGiftManagerLogo.php":{"errors":13,"warnings":16,"messages":[{"message":"Class name 'GiftManagerLogo' does not match filename 'SpecialGiftManagerLogo.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":15,"column":1},{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":69,"column":5},{"message":"Visibility must be declared on method \"initLogo\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":97,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgEnableUploads","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":158,"column":16},{"message":"Visibility must be declared on method \"processUpload\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":216,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgStrictFileExtensions","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":247,"column":16},{"message":"Should use function $this->getConfig()->get() rather than global $wgFileBlacklist","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":247,"column":41},{"message":"Should use function $this->getConfig()->get() rather than global $wgCheckFileExtensions","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":275,"column":20},{"message":"Should use function $this->getConfig()->get() rather than global $wgUploadSizeWarning","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":282,"column":20},{"message":"Visibility must be declared on method \"createThumbnail\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":330,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgUseImageMagick","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":331,"column":16},{"message":"Should use function $this->getConfig()->get() rather than global $wgImageMagickConvertCommand","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":331,"column":35},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":347,"column":36},{"message":"exec should not be used","source":"MediaWiki.Usage.ForbiddenFunctions.exec","severity":5,"fixable":false,"type":"WARNING","line":357,"column":17},{"message":"exec should not be used","source":"MediaWiki.Usage.ForbiddenFunctions.exec","severity":5,"fixable":false,"type":"WARNING","line":376,"column":17},{"message":"exec should not be used","source":"MediaWiki.Usage.ForbiddenFunctions.exec","severity":5,"fixable":false,"type":"WARNING","line":395,"column":17},{"message":"Visibility must be declared on method \"saveUploadedFile\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":495,"column":5},{"message":"Visibility must be declared on method \"stashSession\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":613,"column":5},{"message":"Visibility must be declared on method \"unsaveUploadedFile\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":636,"column":5},{"message":"Visibility must be declared on method \"showSuccess\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":650,"column":5},{"message":"Visibility must be declared on method \"uploadError\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":690,"column":5},{"message":"Visibility must be declared on method \"uploadWarning\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":706,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgUseCopyrightUpload","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":707,"column":16},{"message":"Visibility must be declared on method \"mainUploadForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":761,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgUseCopyrightUpload","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":762,"column":16},{"message":"Visibility must be declared on method \"verify\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":826,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgDisableUploadScriptChecks","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":827,"column":16},{"message":"Should use function $this->getConfig()->get() rather than global $wgVerifyMimeType","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":827,"column":46},{"message":"Should use function $this->getConfig()->get() rather than global $wgMimeTypeBlacklist","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":827,"column":65}]},"\/src\/repo\/SocialProfile.alias.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserGifts\/includes\/specials\/SpecialRemoveGift.php":{"errors":3,"warnings":0,"messages":[{"message":"Class name 'RemoveGift' does not match filename 'SpecialRemoveGift.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":5,"column":1},{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":21,"column":5},{"message":"Visibility must be declared on method \"displayForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":102,"column":5}]},"\/src\/repo\/UserProfile\/includes\/specials\/SpecialRemoveAvatar.php":{"errors":4,"warnings":2,"messages":[{"message":"Class name 'RemoveAvatar' does not match filename 'SpecialRemoveAvatar.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":13,"column":1},{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":28,"column":5},{"message":"Visibility must be declared on method \"isListed\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":37,"column":5},{"message":"Visibility must be declared on method \"getDescription\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":47,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgUploadAvatarInRecentChanges","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":142,"column":16},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":252,"column":59}]},"\/src\/repo\/UserProfile\/includes\/UserProfilePage.php":{"errors":28,"warnings":14,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":67,"column":5},{"message":"Visibility must be declared on method \"__construct\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":67,"column":5},{"message":"Visibility must be declared on method \"isOwner\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":96,"column":5},{"message":"Visibility must be declared on method \"view\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":100,"column":5},{"message":"Visibility must be declared on method \"getUserStatsRow\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":206,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":207,"column":23},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":223,"column":5},{"message":"Visibility must be declared on method \"getUserStats\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":223,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":230,"column":23},{"message":"Visibility must be declared on method \"getUserPolls\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":301,"column":5},{"message":"Visibility must be declared on method \"getUserQuiz\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":350,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":378,"column":35},{"message":"Visibility must be declared on method \"getUserPicGames\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":405,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":431,"column":33},{"message":"Visibility must be declared on method \"getCasualGames\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":461,"column":5},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":605,"column":12},{"message":"Visibility must be declared on method \"sortItems\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":605,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":615,"column":5},{"message":"Visibility must be declared on method \"getProfileSection\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":615,"column":5},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":637,"column":5},{"message":"Visibility must be declared on method \"getPersonalInfo\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":637,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":652,"column":88},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":665,"column":95},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":673,"column":95},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":693,"column":88},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":704,"column":95},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":712,"column":95},{"message":"Visibility must be declared on method \"getCustomInfo\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":823,"column":5},{"message":"Visibility must be declared on method \"getInterests\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":901,"column":5},{"message":"Visibility must be declared on method \"getProfileHeader\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":993,"column":5},{"message":"Visibility must be declared on method \"getRelationships\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":1215,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":1233,"column":23},{"message":"Visibility must be declared on method \"getActivity\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":1331,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":1395,"column":39},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":1528,"column":5},{"message":"Visibility must be declared on method \"getGifts\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":1528,"column":5},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":1622,"column":5},{"message":"Visibility must be declared on method \"getAwards\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":1622,"column":5},{"message":"Visibility must be declared on method \"getUserBoard\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":1727,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":1741,"column":23},{"message":"Visibility must be declared on method \"getFanBoxes\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":1863,"column":5},{"message":"Line exceeds 294 characters; contains 297 characters","source":"Generic.Files.LineLength.TooLong","severity":5,"fixable":false,"type":"WARNING","line":2008,"column":293}]}}}

--- end ---
PHPCS run failed
$ vendor/bin/phpcbf
--- stdout ---

PHPCBF RESULT SUMMARY
--------------------------------------------------------------------------------
FILE                                                            FIXED  REMAINING
--------------------------------------------------------------------------------
/src/repo/UserProfile/includes/avatar/UploadAvatarFromUrl.php   1      0
/src/repo/UserStats/includes/UserStatsUpdater.php               1      0
--------------------------------------------------------------------------------
A TOTAL OF 2 ERRORS WERE FIXED IN 2 FILES
--------------------------------------------------------------------------------

Time: 2.39 secs; Memory: 8MB



--- end ---
$ vendor/bin/phpcs --report=json
--- stdout ---
{"totals":{"errors":235,"warnings":147,"fixable":0},"files":{"\/src\/repo\/SystemGifts\/maintenance\/migrateOldSystemGiftsUserColumnsToActor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/SystemGifts\/includes\/EchoUserSystemGiftPresentationModel.php":{"errors":4,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":8,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":12,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":20,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":24,"column":12}]},"\/src\/repo\/UserGifts\/maintenance\/migrateOldGiftsUserColumnsToActor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserGifts\/includes\/UserGifts.alias.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserBoard\/includes\/api\/ApiSendUserBoardMessage.php":{"errors":2,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":44,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":48,"column":12}]},"\/src\/repo\/UserBoard\/includes\/UserBoardMessageCount.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":20,"column":12}]},"\/src\/repo\/UserGifts\/includes\/UserGiftsHooks.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/SocialProfile.namespaces.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/SystemGifts\/includes\/SystemGiftCount.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":21,"column":12}]},"\/src\/repo\/UserBoard\/includes\/UserBoardHooks.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":25,"column":36}]},"\/src\/repo\/UserBoard\/maintenance\/migrateOldUserBoardUserColumnsToActor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserStats\/maintenance\/updateUserStats.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserGifts\/includes\/UserGiftIcon.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":16,"column":12}]},"\/src\/repo\/UserBoard\/includes\/api\/ApiDeleteUserBoardMessage.php":{"errors":2,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":36,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":40,"column":12}]},"\/src\/repo\/UserBoard\/includes\/EchoUserBoardMessagePresentationModel.php":{"errors":4,"warnings":1,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":8,"column":12},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":9,"column":29},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":12,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":27,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":31,"column":12}]},"\/src\/repo\/SystemGifts\/includes\/specials\/SpecialViewSystemGift.php":{"errors":1,"warnings":2,"messages":[{"message":"Class name 'ViewSystemGift' does not match filename 'SpecialViewSystemGift.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":11,"column":1},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":35,"column":23},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":128,"column":26}]},"\/src\/repo\/UserGifts\/includes\/UserGiftListLookup.php":{"errors":2,"warnings":1,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":29,"column":12},{"message":"Visibility must be declared on method \"getGiftList\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":41,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":85,"column":22}]},"\/src\/repo\/UserStats\/maintenance\/migrateOldUserPointsWeeklyUserColumnToActor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserStats\/maintenance\/migrateOldUserSystemMessagesUserColumnToActor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserStats\/maintenance\/migrateOldUserPointsArchiveUserColumnToActor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserStats\/includes\/EchoUserLevelAdvancePresentationModel.php":{"errors":4,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":8,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":12,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":24,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":28,"column":12}]},"\/src\/repo\/UserGifts\/includes\/EchoUserGiftPresentationModel.php":{"errors":7,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":8,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":12,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":43,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":47,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":54,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate","severity":5,"fixable":false,"type":"ERROR","line":71,"column":13},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate","severity":5,"fixable":false,"type":"ERROR","line":81,"column":13}]},"\/src\/repo\/UserStats\/includes\/specials\/SpecialUpdateEditCounts.php":{"errors":1,"warnings":0,"messages":[{"message":"Class name 'UpdateEditCounts' does not match filename 'SpecialUpdateEditCounts.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":10,"column":1}]},"\/src\/repo\/UserGifts\/includes\/specials\/SpecialRemoveMasterGift.php":{"errors":4,"warnings":0,"messages":[{"message":"Class name 'RemoveMasterGift' does not match filename 'SpecialRemoveMasterGift.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":5,"column":1},{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":21,"column":5},{"message":"Visibility must be declared on method \"deleteImage\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":35,"column":5},{"message":"Visibility must be declared on method \"displayForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":155,"column":5}]},"\/src\/repo\/UserStats\/maintenance\/migrateOldUserStatsUserColumnsToActor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/SystemGifts\/includes\/specials\/SpecialViewSystemGifts.php":{"errors":2,"warnings":0,"messages":[{"message":"Class name 'ViewSystemGifts' does not match filename 'SpecialViewSystemGifts.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":9,"column":1},{"message":"Visibility must be declared on method \"isListed\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":20,"column":5}]},"\/src\/repo\/UserStats\/maintenance\/migrateOldUserPointsMonthlyUserColumnToActor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/SystemGifts\/includes\/SystemGiftListLookup.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":20,"column":12}]},"\/src\/repo\/UserStats\/includes\/TopUsersListLookup.php":{"errors":2,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":12,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":16,"column":12}]},"\/src\/repo\/UserStats\/includes\/TopUsersTag.php":{"errors":1,"warnings":0,"messages":[{"message":"Global function \"getTopUsersForTag()\" is lacking a valid prefix ('wf'). It should be wfGetTopUsersForTag().","source":"MediaWiki.NamingConventions.PrefixedGlobalFunctions.allowedPrefix","severity":5,"fixable":false,"type":"ERROR","line":36,"column":1}]},"\/src\/repo\/SystemGifts\/includes\/UserSystemGiftsHooks.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserActivity\/includes\/specials\/UserActivity.body.php":{"errors":2,"warnings":0,"messages":[{"message":"Class name 'UserHome' does not match filename 'UserActivity.body.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":11,"column":1},{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":22,"column":5}]},"\/src\/repo\/UserGifts\/includes\/UserGiftCount.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":22,"column":12}]},"\/src\/repo\/UserRelationship\/includes\/api\/ApiRelationshipResponse.php":{"errors":2,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":39,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":43,"column":12}]},"\/src\/repo\/UserBoard\/includes\/specials\/SpecialSendBoardBlast.php":{"errors":2,"warnings":0,"messages":[{"message":"Class name 'SpecialBoardBlast' does not match filename 'SpecialSendBoardBlast.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":16,"column":1},{"message":"Visibility must be declared on method \"displayForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":142,"column":5}]},"\/src\/repo\/UserStats\/includes\/UserStatsHooks.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserActivity\/includes\/UserActivityIcon.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":11,"column":12}]},"\/src\/repo\/UserGifts\/includes\/specials\/SpecialViewGift.php":{"errors":2,"warnings":0,"messages":[{"message":"Class name 'ViewGift' does not match filename 'SpecialViewGift.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":5,"column":1},{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":16,"column":5}]},"\/src\/repo\/UserStats\/includes\/UserLevel.php":{"errors":1,"warnings":0,"messages":[{"message":"Visibility must be declared on method \"__construct\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":39,"column":5}]},"\/src\/repo\/UserRelationship\/maintenance\/migrateOldUserRelationshipUserColumnsToActor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/SystemGifts\/includes\/SystemGifts.php":{"errors":3,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":199,"column":12},{"message":"Visibility must be declared on method \"getGift\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":231,"column":12},{"message":"Visibility must be declared on method \"getGiftCount\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":259,"column":12}]},"\/src\/repo\/UserProfile\/maintenance\/migrateOldUserFieldPrivacyUserColumnToActor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/SystemGifts\/includes\/specials\/TopAwards.php":{"errors":0,"warnings":1,"messages":[{"message":"Should use function $this->getConfig()->get() rather than global $wgUserStatsPointValues","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":24,"column":16}]},"\/src\/repo\/SystemGifts\/includes\/UserSystemGifts.php":{"errors":1,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":91,"column":44},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":181,"column":12}]},"\/src\/repo\/UserStats\/includes\/UserSystemMessage.php":{"errors":1,"warnings":3,"messages":[{"message":"Visibility must be declared on all constants if your project supports PHP 7.1 or later","source":"PSR12.Properties.ConstantVisibility.NotFound","severity":5,"fixable":false,"type":"WARNING","line":18,"column":5},{"message":"Visibility must be declared on all constants if your project supports PHP 7.1 or later","source":"PSR12.Properties.ConstantVisibility.NotFound","severity":5,"fixable":false,"type":"WARNING","line":23,"column":5},{"message":"Visibility must be declared on all constants if your project supports PHP 7.1 or later","source":"PSR12.Properties.ConstantVisibility.NotFound","severity":5,"fixable":false,"type":"WARNING","line":28,"column":5},{"message":"Arguments with default values must be at the end of the argument list","source":"PEAR.Functions.ValidDefaultValue.NotAtEnd","severity":5,"fixable":false,"type":"ERROR","line":37,"column":51}]},"\/src\/repo\/SystemGifts\/includes\/SystemGiftIcon.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":16,"column":12}]},"\/src\/repo\/UserProfile\/maintenance\/migrateOldUserProfileUserColumnToActor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserStats\/includes\/UserStats.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserStats\/includes\/specials\/TopFansRecent.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/SystemGifts\/includes\/specials\/SpecialSystemGiftManager.php":{"errors":3,"warnings":3,"messages":[{"message":"Class name 'SystemGiftManager' does not match filename 'SpecialSystemGiftManager.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":12,"column":1},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":15,"column":49},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":15,"column":74},{"message":"Visibility must be declared on method \"displayGiftList\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":105,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":106,"column":23},{"message":"Visibility must be declared on method \"displayForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":242,"column":5}]},"\/src\/repo\/SystemGifts\/includes\/SystemGifts.alias.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserRelationship\/maintenance\/migrateOldUserRelationshipRequestUserColumnsToActor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserRelationship\/UserRelationship.i18n.alias.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserRelationship\/includes\/RelationshipRequestCount.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":29,"column":12}]},"\/src\/repo\/UserProfile\/includes\/avatar\/UploadAvatar.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/SystemGifts\/includes\/specials\/SpecialPopulateAwards.php":{"errors":1,"warnings":3,"messages":[{"message":"Class name 'PopulateAwards' does not match filename 'SpecialPopulateAwards.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":10,"column":1},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":13,"column":46},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":13,"column":72},{"message":"Should use function $this->getConfig()->get() rather than global $wgUserLevels","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":22,"column":16}]},"\/src\/repo\/UserRelationship\/includes\/RelationshipListLookup.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":20,"column":12}]},"\/src\/repo\/UserProfile\/maintenance\/purgeAvatarKeysFromMemcached.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":90,"column":50}]},"\/src\/repo\/UserProfile\/includes\/api\/ApiUserProfilePrivacy.php":{"errors":2,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":13,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":71,"column":12}]},"\/src\/repo\/UserStats\/includes\/specials\/TopFansByStat.php":{"errors":0,"warnings":2,"messages":[{"message":"Should use function $this->getConfig()->get() rather than global $wgUserStatsTrackWeekly","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":26,"column":16},{"message":"Should use function $this->getConfig()->get() rather than global $wgUserStatsTrackMonthly","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":26,"column":41}]},"\/src\/repo\/UserProfile\/includes\/avatar\/UploadAvatarFromUrl.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserStats\/EditCount.php":{"errors":3,"warnings":0,"messages":[{"message":"Global function \"incEditCount()\" is lacking a valid prefix ('wf'). It should be wfIncEditCount().","source":"MediaWiki.NamingConventions.PrefixedGlobalFunctions.allowedPrefix","severity":5,"fixable":false,"type":"ERROR","line":31,"column":1},{"message":"Global function \"removeDeletedEdits()\" is lacking a valid prefix ('wf'). It should be wfRemoveDeletedEdits().","source":"MediaWiki.NamingConventions.PrefixedGlobalFunctions.allowedPrefix","severity":5,"fixable":false,"type":"ERROR","line":62,"column":1},{"message":"Global function \"restoreDeletedEdits()\" is lacking a valid prefix ('wf'). It should be wfRestoreDeletedEdits().","source":"MediaWiki.NamingConventions.PrefixedGlobalFunctions.allowedPrefix","severity":5,"fixable":false,"type":"ERROR","line":123,"column":1}]},"\/src\/repo\/SocialProfileFileBackend.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserRelationship\/includes\/UserRelationshipHooks.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserWelcome\/UserWelcome.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserProfile\/UserProfile.php":{"errors":0,"warnings":6,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":57,"column":41},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":61,"column":44},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":62,"column":45},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":63,"column":41},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":65,"column":42},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":66,"column":41}]},"\/src\/repo\/SocialProfileHooks.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserGifts\/includes\/specials\/SpecialViewGifts.php":{"errors":3,"warnings":0,"messages":[{"message":"Class name 'ViewGifts' does not match filename 'SpecialViewGifts.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":12,"column":1},{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":23,"column":5},{"message":"Visibility must be declared on method \"isListed\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":32,"column":5}]},"\/src\/repo\/UserStats\/includes\/UserStatsUpdater.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserGifts\/includes\/UserGifts.php":{"errors":2,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":160,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":249,"column":12}]},"\/src\/repo\/UserProfile\/includes\/parser\/RandomUsersWithAvatars.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserProfile\/includes\/parser\/NewUsersList.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserRelationship\/includes\/EchoUserRelationshipPresentationModel.php":{"errors":6,"warnings":14,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":8,"column":12},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":12,"column":32},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":14,"column":75},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":16,"column":18},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":22,"column":12},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":27,"column":49},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":42,"column":58},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":51,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":55,"column":12},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":58,"column":20},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":59,"column":49},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":61,"column":58},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":70,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate","severity":5,"fixable":false,"type":"ERROR","line":76,"column":13},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":79,"column":29},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":80,"column":49},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":83,"column":58},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":107,"column":23},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":108,"column":49},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":110,"column":58}]},"\/src\/repo\/UserStats\/includes\/specials\/TopUsers.php":{"errors":1,"warnings":3,"messages":[{"message":"Class name 'TopUsersPoints' does not match filename 'TopUsers.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":6,"column":1},{"message":"Should use function $this->getConfig()->get() rather than global $wgUserStatsTrackWeekly","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":18,"column":16},{"message":"Should use function $this->getConfig()->get() rather than global $wgUserStatsTrackMonthly","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":18,"column":41},{"message":"Should use function $this->getConfig()->get() rather than global $wgUserLevels","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":18,"column":67}]},"\/src\/repo\/UserProfile\/includes\/specials\/SpecialToggleUserPageType.php":{"errors":1,"warnings":0,"messages":[{"message":"Class name 'SpecialToggleUserPage' does not match filename 'SpecialToggleUserPageType.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":16,"column":1}]},"\/src\/repo\/UserStats\/includes\/specials\/GenerateTopUsersReport.php":{"errors":0,"warnings":5,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":82,"column":53},{"message":"Should use function $this->getConfig()->get() rather than global $wgUserStatsPointValues","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":105,"column":16},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":138,"column":32},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":303,"column":30},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":344,"column":24}]},"\/src\/repo\/UserProfile\/includes\/parser\/AvatarParserFunction.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserWelcome\/includes\/UserWelcome.php":{"errors":13,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":27,"column":19},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":53,"column":5},{"message":"Visibility must be declared on method \"getWelcome\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":53,"column":5},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":135,"column":5},{"message":"Visibility must be declared on method \"getRequests\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":135,"column":5},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":154,"column":5},{"message":"Visibility must be declared on method \"getRelationshipRequestLink\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":154,"column":5},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":188,"column":5},{"message":"Visibility must be declared on method \"getNewGiftLink\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":188,"column":5},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":213,"column":5},{"message":"Visibility must be declared on method \"getNewSystemGiftLink\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":213,"column":5},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":236,"column":5},{"message":"Visibility must be declared on method \"getNewMessagesLink\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":236,"column":5}]},"\/src\/repo\/UserProfile\/includes\/api\/ApiUserProfileType.php":{"errors":2,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":15,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":129,"column":12}]},"\/src\/repo\/UserActivity\/includes\/SiteActivityHook.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/.phan\/config.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":8,"column":14}]},"\/src\/repo\/UserBoard\/includes\/UserBoard.php":{"errors":2,"warnings":8,"messages":[{"message":"Visibility must be declared on all constants if your project supports PHP 7.1 or later","source":"PSR12.Properties.ConstantVisibility.NotFound","severity":5,"fixable":false,"type":"WARNING","line":13,"column":5},{"message":"Visibility must be declared on all constants if your project supports PHP 7.1 or later","source":"PSR12.Properties.ConstantVisibility.NotFound","severity":5,"fixable":false,"type":"WARNING","line":18,"column":5},{"message":"Deprecated global $wgTitle used","source":"MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgTitle","severity":5,"fixable":false,"type":"WARNING","line":224,"column":24},{"message":"Deprecated global $wgTitle used","source":"MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgTitle","severity":5,"fixable":false,"type":"WARNING","line":267,"column":24},{"message":"Call $dbr->select() wrapper instead of $dbr->query()","source":"MediaWiki.Usage.DbrQueryUsage.DbrQueryFound","severity":5,"fixable":false,"type":"WARNING","line":300,"column":20},{"message":"Call $dbr->select() wrapper instead of $dbr->query()","source":"MediaWiki.Usage.DbrQueryUsage.DbrQueryFound","severity":5,"fixable":false,"type":"WARNING","line":345,"column":20},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":438,"column":12},{"message":"Deprecated global $wgTitle used","source":"MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgTitle","severity":5,"fixable":false,"type":"WARNING","line":439,"column":16},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":441,"column":23},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":479,"column":12}]},"\/src\/repo\/UserGifts\/includes\/Gifts.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserGifts\/includes\/specials\/SpecialGiveGift.php":{"errors":6,"warnings":3,"messages":[{"message":"Class name 'GiveGift' does not match filename 'SpecialGiveGift.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":12,"column":1},{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":32,"column":5},{"message":"Visibility must be declared on method \"isListed\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":41,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":55,"column":23},{"message":"Visibility must be declared on method \"displayFormSingle\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":236,"column":5},{"message":"Visibility must be declared on method \"displayFormNoUser\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":303,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgFriendingEnabled","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":304,"column":16},{"message":"Visibility must be declared on method \"displayFormAll\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":363,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgGiveGiftPerRow","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":364,"column":16}]},"\/src\/repo\/UserRelationship\/includes\/specials\/SpecialRemoveRelationship.php":{"errors":2,"warnings":0,"messages":[{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":35,"column":5},{"message":"Visibility must be declared on method \"displayForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":178,"column":5}]},"\/src\/repo\/UserProfile\/includes\/avatar\/Avatar.php":{"errors":1,"warnings":2,"messages":[{"message":"Class name 'wAvatar' does not match filename 'Avatar.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":21,"column":1},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":129,"column":66},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":174,"column":119}]},"\/src\/repo\/UserStats\/includes\/UserStatsTrack.php":{"errors":6,"warnings":1,"messages":[{"message":"Visibility must be declared on method \"incStatField\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":142,"column":5},{"message":"Visibility must be declared on method \"decStatField\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":207,"column":5},{"message":"Visibility must be declared on method \"updateCommentScoreRec\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":240,"column":5},{"message":"Visibility must be declared on method \"updateRelationshipCount\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":291,"column":5},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":315,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":350,"column":12},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":460,"column":56}]},"\/src\/repo\/UserProfile\/includes\/api\/ApiUploadAvatar.php":{"errors":0,"warnings":3,"messages":[{"message":"Should use function $this->getConfig()->get() rather than global $wgAvatarKey","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":34,"column":16},{"message":"Should use function $this->getConfig()->get() rather than global $wgUserProfileDisplay","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":34,"column":30},{"message":"Should use function $this->getConfig()->get() rather than global $wgUploadAvatarInRecentChanges","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":34,"column":53}]},"\/src\/repo\/UserProfile\/includes\/specials\/SpecialUploadAvatar.php":{"errors":3,"warnings":2,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":24,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":29,"column":12},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":61,"column":60},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":105,"column":20},{"message":"Visibility must be declared on method \"getAvatar\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":330,"column":5}]},"\/src\/repo\/UserGifts\/maintenance\/migrateOldUserGiftsUserColumnsToActor.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/SocialProfile.php":{"errors":0,"warnings":4,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":118,"column":41},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":147,"column":56},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":149,"column":34},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":150,"column":35}]},"\/src\/repo\/UserProfile\/includes\/SPUserSecurity.php":{"errors":0,"warnings":1,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":185,"column":83}]},"\/src\/repo\/UserProfile\/includes\/avatar\/Avatar.i18n.magic.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserStats\/includes\/RandomFeaturedUser.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserProfile\/includes\/specials\/SpecialPopulateExistingUsersProfiles.php":{"errors":1,"warnings":1,"messages":[{"message":"Class name 'SpecialPopulateUserProfiles' does not match filename 'SpecialPopulateExistingUsersProfiles.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":16,"column":1},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":92,"column":21}]},"\/src\/repo\/UserRelationship\/includes\/specials\/SpecialAddRelationship.php":{"errors":2,"warnings":0,"messages":[{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":36,"column":5},{"message":"Visibility must be declared on method \"displayForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":262,"column":5}]},"\/src\/repo\/UserProfile\/includes\/api\/ApiRemoveAvatar.php":{"errors":1,"warnings":1,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":15,"column":12},{"message":"Should use function $this->getConfig()->get() rather than global $wgUploadAvatarInRecentChanges","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":23,"column":16}]},"\/src\/repo\/UserRelationship\/includes\/UserRelationshipClass.php":{"errors":1,"warnings":1,"messages":[{"message":"Class name 'UserRelationship' does not match filename 'UserRelationshipClass.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":8,"column":1},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":381,"column":21}]},"\/src\/repo\/UserProfile\/includes\/UserProfileHooks.php":{"errors":0,"warnings":2,"messages":[{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":372,"column":92},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":434,"column":75}]},"\/src\/repo\/UserBoard\/includes\/specials\/SpecialUserBoard.php":{"errors":3,"warnings":3,"messages":[{"message":"Class name 'SpecialViewUserBoard' does not match filename 'SpecialUserBoard.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":15,"column":1},{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":26,"column":5},{"message":"Visibility must be declared on method \"isListed\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":35,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":71,"column":22},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":207,"column":31},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":302,"column":31}]},"\/src\/repo\/UserProfile\/includes\/avatar\/UploadAvatarTrait.php":{"errors":2,"warnings":5,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":22,"column":5},{"message":"Visibility must be declared on method \"createThumbnail\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":22,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":36,"column":36},{"message":"exec should not be used","source":"MediaWiki.Usage.ForbiddenFunctions.exec","severity":5,"fixable":false,"type":"WARNING","line":48,"column":17},{"message":"exec should not be used","source":"MediaWiki.Usage.ForbiddenFunctions.exec","severity":5,"fixable":false,"type":"WARNING","line":67,"column":17},{"message":"exec should not be used","source":"MediaWiki.Usage.ForbiddenFunctions.exec","severity":5,"fixable":false,"type":"WARNING","line":86,"column":17},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":104,"column":18}]},"\/src\/repo\/UserRelationship\/includes\/specials\/SpecialViewRelationshipRequests.php":{"errors":2,"warnings":0,"messages":[{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":38,"column":5},{"message":"Visibility must be declared on method \"isListed\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":47,"column":5}]},"\/src\/repo\/UserGifts\/includes\/specials\/SpecialGiftManager.php":{"errors":6,"warnings":5,"messages":[{"message":"Class name 'GiftManager' does not match filename 'SpecialGiftManager.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":10,"column":1},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":13,"column":43},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":13,"column":65},{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":25,"column":5},{"message":"Visibility must be declared on method \"canUserManage\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":121,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgMaxCustomUserGiftCount","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":122,"column":16},{"message":"Visibility must be declared on method \"canUserDelete\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":143,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgMaxCustomUserGiftCount","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":170,"column":16},{"message":"Visibility must be declared on method \"displayGiftList\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":198,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":199,"column":23},{"message":"Visibility must be declared on method \"displayForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":330,"column":5}]},"\/src\/repo\/UserRelationship\/includes\/specials\/SpecialViewRelationships.php":{"errors":2,"warnings":0,"messages":[{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":29,"column":5},{"message":"Visibility must be declared on method \"isListed\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":38,"column":5}]},"\/src\/repo\/UserGifts\/includes\/specials\/SpecialGiftManagerLogo.php":{"errors":13,"warnings":16,"messages":[{"message":"Class name 'GiftManagerLogo' does not match filename 'SpecialGiftManagerLogo.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":15,"column":1},{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":69,"column":5},{"message":"Visibility must be declared on method \"initLogo\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":97,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgEnableUploads","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":158,"column":16},{"message":"Visibility must be declared on method \"processUpload\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":216,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgStrictFileExtensions","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":247,"column":16},{"message":"Should use function $this->getConfig()->get() rather than global $wgFileBlacklist","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":247,"column":41},{"message":"Should use function $this->getConfig()->get() rather than global $wgCheckFileExtensions","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":275,"column":20},{"message":"Should use function $this->getConfig()->get() rather than global $wgUploadSizeWarning","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":282,"column":20},{"message":"Visibility must be declared on method \"createThumbnail\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":330,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgUseImageMagick","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":331,"column":16},{"message":"Should use function $this->getConfig()->get() rather than global $wgImageMagickConvertCommand","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":331,"column":35},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":347,"column":36},{"message":"exec should not be used","source":"MediaWiki.Usage.ForbiddenFunctions.exec","severity":5,"fixable":false,"type":"WARNING","line":357,"column":17},{"message":"exec should not be used","source":"MediaWiki.Usage.ForbiddenFunctions.exec","severity":5,"fixable":false,"type":"WARNING","line":376,"column":17},{"message":"exec should not be used","source":"MediaWiki.Usage.ForbiddenFunctions.exec","severity":5,"fixable":false,"type":"WARNING","line":395,"column":17},{"message":"Visibility must be declared on method \"saveUploadedFile\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":495,"column":5},{"message":"Visibility must be declared on method \"stashSession\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":613,"column":5},{"message":"Visibility must be declared on method \"unsaveUploadedFile\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":636,"column":5},{"message":"Visibility must be declared on method \"showSuccess\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":650,"column":5},{"message":"Visibility must be declared on method \"uploadError\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":690,"column":5},{"message":"Visibility must be declared on method \"uploadWarning\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":706,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgUseCopyrightUpload","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":707,"column":16},{"message":"Visibility must be declared on method \"mainUploadForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":761,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgUseCopyrightUpload","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":762,"column":16},{"message":"Visibility must be declared on method \"verify\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":826,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgDisableUploadScriptChecks","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":827,"column":16},{"message":"Should use function $this->getConfig()->get() rather than global $wgVerifyMimeType","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":827,"column":46},{"message":"Should use function $this->getConfig()->get() rather than global $wgMimeTypeBlacklist","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":827,"column":65}]},"\/src\/repo\/UserProfile\/includes\/UserProfile.php":{"errors":2,"warnings":0,"messages":[{"message":"Visibility must be declared on method \"formatBirthday\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":199,"column":5},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":254,"column":19}]},"\/src\/repo\/UserProfile\/includes\/specials\/SpecialEditProfile.php":{"errors":8,"warnings":1,"messages":[{"message":"Visibility must be declared on method \"createUserInputForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":148,"column":5},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":174,"column":5},{"message":"Visibility must be declared on method \"saveBasicSettings\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":174,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":182,"column":51},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":189,"column":5},{"message":"Visibility must be declared on method \"displayBasicForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":189,"column":5},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":381,"column":5},{"message":"Visibility must be declared on method \"displayPersonalForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":381,"column":5},{"message":"Visibility must be declared on method \"displayCustomForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":475,"column":5}]},"\/src\/repo\/SystemGifts\/includes\/specials\/SpecialSystemGiftManagerLogo.php":{"errors":12,"warnings":18,"messages":[{"message":"Class name 'SystemGiftManagerLogo' does not match filename 'SpecialSystemGiftManagerLogo.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":15,"column":1},{"message":"Visibility must be declared on method \"initLogo\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":98,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgEnableUploads","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":158,"column":16},{"message":"Visibility must be declared on method \"processUpload\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":192,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgStrictFileExtensions","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":223,"column":16},{"message":"Should use function $this->getConfig()->get() rather than global $wgFileBlacklist","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":223,"column":41},{"message":"Should use function $this->getConfig()->get() rather than global $wgCheckFileExtensions","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":251,"column":20},{"message":"Should use function $this->getConfig()->get() rather than global $wgUploadSizeWarning","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":258,"column":20},{"message":"Visibility must be declared on method \"createThumbnail\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":302,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgUseImageMagick","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":303,"column":16},{"message":"Should use function $this->getConfig()->get() rather than global $wgImageMagickConvertCommand","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":303,"column":35},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":319,"column":36},{"message":"exec should not be used","source":"MediaWiki.Usage.ForbiddenFunctions.exec","severity":5,"fixable":false,"type":"WARNING","line":329,"column":17},{"message":"exec should not be used","source":"MediaWiki.Usage.ForbiddenFunctions.exec","severity":5,"fixable":false,"type":"WARNING","line":348,"column":17},{"message":"exec should not be used","source":"MediaWiki.Usage.ForbiddenFunctions.exec","severity":5,"fixable":false,"type":"WARNING","line":367,"column":17},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":384,"column":18},{"message":"Visibility must be declared on method \"saveUploadedFile\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":468,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":549,"column":75},{"message":"Visibility must be declared on method \"stashSession\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":585,"column":5},{"message":"Visibility must be declared on method \"unsaveUploadedFile\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":606,"column":5},{"message":"Visibility must be declared on method \"showSuccess\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":620,"column":5},{"message":"Visibility must be declared on method \"uploadError\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":673,"column":5},{"message":"Visibility must be declared on method \"uploadWarning\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":688,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgUseCopyrightUpload","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":689,"column":16},{"message":"Visibility must be declared on method \"mainUploadForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":742,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgUseCopyrightUpload","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":743,"column":16},{"message":"Visibility must be declared on method \"verify\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":813,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgDisableUploadScriptChecks","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":814,"column":16},{"message":"Should use function $this->getConfig()->get() rather than global $wgVerifyMimeType","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":814,"column":46},{"message":"Should use function $this->getConfig()->get() rather than global $wgMimeTypeBlacklist","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":814,"column":65}]},"\/src\/repo\/SocialProfile.alias.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/UserGifts\/includes\/specials\/SpecialRemoveGift.php":{"errors":3,"warnings":0,"messages":[{"message":"Class name 'RemoveGift' does not match filename 'SpecialRemoveGift.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":5,"column":1},{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":21,"column":5},{"message":"Visibility must be declared on method \"displayForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":102,"column":5}]},"\/src\/repo\/UserActivity\/includes\/UserActivity.php":{"errors":14,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate","severity":5,"fixable":false,"type":"ERROR","line":76,"column":13},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":1021,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":1026,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":1031,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":1036,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":1041,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":1046,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":1051,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":1056,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":1061,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":1066,"column":12},{"message":"Visibility must be declared on method \"simplifyPageActivity\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":1157,"column":5},{"message":"Visibility must be declared on method \"getTypeIcon\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":1293,"column":12},{"message":"Visibility must be declared on method \"fixItemComment\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":1328,"column":5}]},"\/src\/repo\/UserActivity\/includes\/UserActivity.alias.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/SystemGifts\/includes\/specials\/SpecialRemoveMasterSystemGift.php":{"errors":3,"warnings":0,"messages":[{"message":"Class name 'RemoveMasterSystemGift' does not match filename 'SpecialRemoveMasterSystemGift.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":11,"column":1},{"message":"Visibility must be declared on method \"deleteImage\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":32,"column":5},{"message":"Visibility must be declared on method \"displayForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":135,"column":5}]},"\/src\/repo\/UserProfile\/includes\/specials\/SpecialUpdateProfile.php":{"errors":12,"warnings":6,"messages":[{"message":"Visibility must be declared on method \"initProfile\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":28,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgUpdateProfileInRecentChanges","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":55,"column":16},{"message":"Should use function $this->getConfig()->get() rather than global $wgUserProfileThresholds","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":55,"column":49},{"message":"Should use function $this->getConfig()->get() rather than global $wgAutoConfirmCount","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":55,"column":75},{"message":"Should use function $this->getConfig()->get() rather than global $wgEmailConfirmToEdit","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":55,"column":96},{"message":"Visibility must be declared on method \"saveBasicSettings\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":272,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgEmailAuthentication","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":273,"column":16},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":281,"column":48},{"message":"Visibility must be declared on method \"saveSocialPreferences\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":300,"column":5},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":324,"column":19},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":337,"column":19},{"message":"Visibility must be declared on method \"saveProfileBasic\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":358,"column":5},{"message":"Visibility must be declared on method \"saveProfileCustom\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":407,"column":5},{"message":"Visibility must be declared on method \"saveProfilePersonal\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":437,"column":5},{"message":"Visibility must be declared on method \"displayBasicForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":478,"column":5},{"message":"Visibility must be declared on method \"displayPersonalForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":689,"column":5},{"message":"Visibility must be declared on method \"displayPreferencesForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":792,"column":5},{"message":"Visibility must be declared on method \"displayCustomForm\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":865,"column":5}]},"\/src\/repo\/UserProfile\/includes\/specials\/SpecialRemoveAvatar.php":{"errors":4,"warnings":2,"messages":[{"message":"Class name 'RemoveAvatar' does not match filename 'SpecialRemoveAvatar.php'","source":"MediaWiki.Files.ClassMatchesFilename.NotMatch","severity":5,"fixable":false,"type":"ERROR","line":13,"column":1},{"message":"Visibility must be declared on method \"getGroupName\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":28,"column":5},{"message":"Visibility must be declared on method \"isListed\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":37,"column":5},{"message":"Visibility must be declared on method \"getDescription\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":47,"column":5},{"message":"Should use function $this->getConfig()->get() rather than global $wgUploadAvatarInRecentChanges","source":"MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage","severity":5,"fixable":false,"type":"WARNING","line":142,"column":16},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":252,"column":59}]},"\/src\/repo\/UserProfile\/includes\/UserProfilePage.php":{"errors":28,"warnings":14,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":67,"column":5},{"message":"Visibility must be declared on method \"__construct\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":67,"column":5},{"message":"Visibility must be declared on method \"isOwner\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":96,"column":5},{"message":"Visibility must be declared on method \"view\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":100,"column":5},{"message":"Visibility must be declared on method \"getUserStatsRow\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":206,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":207,"column":23},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":223,"column":5},{"message":"Visibility must be declared on method \"getUserStats\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":223,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":230,"column":23},{"message":"Visibility must be declared on method \"getUserPolls\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":301,"column":5},{"message":"Visibility must be declared on method \"getUserQuiz\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":350,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":378,"column":35},{"message":"Visibility must be declared on method \"getUserPicGames\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":405,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":431,"column":33},{"message":"Visibility must be declared on method \"getCasualGames\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":461,"column":5},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":605,"column":12},{"message":"Visibility must be declared on method \"sortItems\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":605,"column":12},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":615,"column":5},{"message":"Visibility must be declared on method \"getProfileSection\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":615,"column":5},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":637,"column":5},{"message":"Visibility must be declared on method \"getPersonalInfo\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":637,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":652,"column":88},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":665,"column":95},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":673,"column":95},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":693,"column":88},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":704,"column":95},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":712,"column":95},{"message":"Visibility must be declared on method \"getCustomInfo\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":823,"column":5},{"message":"Visibility must be declared on method \"getInterests\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":901,"column":5},{"message":"Visibility must be declared on method \"getProfileHeader\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":993,"column":5},{"message":"Visibility must be declared on method \"getRelationships\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":1215,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":1233,"column":23},{"message":"Visibility must be declared on method \"getActivity\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":1331,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":1395,"column":39},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":1528,"column":5},{"message":"Visibility must be declared on method \"getGifts\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":1528,"column":5},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":1622,"column":5},{"message":"Visibility must be declared on method \"getAwards\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":1622,"column":5},{"message":"Visibility must be declared on method \"getUserBoard\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":1727,"column":5},{"message":"Comments should start on new line.","source":"MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment","severity":5,"fixable":false,"type":"WARNING","line":1741,"column":23},{"message":"Visibility must be declared on method \"getFanBoxes\"","source":"Squiz.Scope.MethodScope.Missing","severity":5,"fixable":false,"type":"ERROR","line":1863,"column":5},{"message":"Line exceeds 294 characters; contains 297 characters","source":"Generic.Files.LineLength.TooLong","severity":5,"fixable":false,"type":"WARNING","line":2008,"column":293}]}}}

--- end ---
$ 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 vendor --exclude node_modules
> minus-x check .
> phpcs -sp --cache
--- stdout ---
PHP 8.2.20 | 10 parallel jobs
............................................................  60/116 ( 51%)
........................................................     116/116 (100%)


Checked 116 files in 0.5 seconds
No syntax error found
MinusX
======
Processing /src/repo...
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
...............................
All good!
.......................................................... 58 / 58 (100%)


Time: 416ms; Memory: 14MB


--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
  "auditReportVersion": 2,
  "vulnerabilities": {},
  "metadata": {
    "vulnerabilities": {
      "info": 0,
      "low": 0,
      "moderate": 0,
      "high": 0,
      "critical": 0,
      "total": 0
    },
    "dependencies": {
      "prod": 1,
      "dev": 310,
      "optional": 0,
      "peer": 1,
      "peerOptional": 0,
      "total": 310
    }
  }
}

--- end ---
$ package-lock-lint package-lock.json
--- stdout ---
Checking package-lock.json

--- end ---
build: Updating mediawiki/mediawiki-codesniffer to 45.0.0

$ git add .
--- stdout ---

--- end ---
$ git commit -F /tmp/tmpnm9wcp01
--- stdout ---
[master 0afd886] build: Updating mediawiki/mediawiki-codesniffer to 45.0.0
 3 files changed, 3 insertions(+), 3 deletions(-)

--- end ---
$ git format-patch HEAD~1 --stdout
--- stdout ---
From 0afd8861929cfadc57be738d5eafb2d7f9c24f87 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Thu, 14 Nov 2024 12:35:06 +0000
Subject: [PATCH] build: Updating mediawiki/mediawiki-codesniffer to 45.0.0

Change-Id: Ic763600a822283acbc547c9b5642438f17e42e85
---
 UserProfile/includes/avatar/UploadAvatarFromUrl.php | 2 +-
 UserStats/includes/UserStatsUpdater.php             | 2 +-
 composer.json                                       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/UserProfile/includes/avatar/UploadAvatarFromUrl.php b/UserProfile/includes/avatar/UploadAvatarFromUrl.php
index 043cde7..80430ae 100644
--- a/UserProfile/includes/avatar/UploadAvatarFromUrl.php
+++ b/UserProfile/includes/avatar/UploadAvatarFromUrl.php
@@ -22,7 +22,7 @@ class UploadAvatarFromUrl extends UploadFromUrl {
 	}
 
 	/** @inheritDoc */
-	public function doStashFile( User $user = null ) {
+	public function doStashFile( ?User $user = null ) {
 		return parent::doStashFile( $user );
 	}
 
diff --git a/UserStats/includes/UserStatsUpdater.php b/UserStats/includes/UserStatsUpdater.php
index 277d527..da7ecce 100644
--- a/UserStats/includes/UserStatsUpdater.php
+++ b/UserStats/includes/UserStatsUpdater.php
@@ -19,7 +19,7 @@ class UserStatsUpdater {
 	 * @param callable|null $progressCallback Callback to print progress for
 	 *                      each user. Params: $userName, $editCount
 	 */
-	public function updateMainEditsCount( callable $progressCallback = null ) {
+	public function updateMainEditsCount( ?callable $progressCallback = null ) {
 		global $wgNamespacesForEditPoints;
 
 		$additionalConds = [];
diff --git a/composer.json b/composer.json
index 6fb0f8e..617b94c 100644
--- a/composer.json
+++ b/composer.json
@@ -1,6 +1,6 @@
 {
 	"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 ---
Source code is licensed under the AGPL.