This run took 19 seconds.
From 782262dcc6d1f44abc661d6402d44564aee6cc6a Mon Sep 17 00:00:00 2001 From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org> Date: Thu, 14 Nov 2024 18:26:43 +0000 Subject: [PATCH] build: Updating mediawiki/mediawiki-codesniffer to 45.0.0 The following sniffs are failing and were disabled: * MediaWiki.Usage.NullableType.ExplicitNullableTypes Change-Id: I4363de59f09f760e237e391dc86f01d3f516e10f --- .phpcs.xml | 1 + composer.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.phpcs.xml b/.phpcs.xml index 72797f5..60fb859 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -7,6 +7,7 @@ <exclude name="MediaWiki.Commenting.FunctionComment.TypeTypeHintReturn" /> <exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected" /> <exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic" /> + <exclude name="MediaWiki.Usage.NullableType.ExplicitNullableTypes" /> </rule> <file>.</file> <arg name="bootstrap" value="./vendor/mediawiki/mediawiki-codesniffer/utils/bootstrap-ci.php"/> diff --git a/composer.json b/composer.json index 4fb5f85..e779639 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "composer/installers": "~1.0" }, "require-dev": { - "mediawiki/mediawiki-codesniffer": "44.0.0", + "mediawiki/mediawiki-codesniffer": "45.0.0", "mediawiki/minus-x": "1.1.3", "php-parallel-lint/php-console-highlighter": "1.0.0", "php-parallel-lint/php-parallel-lint": "1.4.0" -- 2.39.2
$ date --- stdout --- Thu Nov 14 18:26:30 UTC 2024 --- end --- $ git clone file:///srv/git/mediawiki-skins-BlueSpiceCalumma.git repo --depth=1 -b REL1_43 --- stderr --- Cloning into 'repo'... --- stdout --- --- end --- $ git config user.name libraryupgrader --- stdout --- --- end --- $ git config user.email tools.libraryupgrader@tools.wmflabs.org --- stdout --- --- end --- $ git submodule update --init --- stdout --- --- end --- $ grr init --- stdout --- Installed commit-msg hook. --- end --- $ git show-ref refs/heads/REL1_43 --- stdout --- fe3814374751345c199623d9af8d7eb29f0db923 refs/heads/REL1_43 --- 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": 315, "optional": 0, "peer": 1, "peerOptional": 0, "total": 315 } } } --- 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: 22 installs, 0 updates, 0 removals - Locking composer/installers (v1.12.0) - Locking composer/semver (3.4.2) - Locking composer/spdx-licenses (1.5.8) - Locking dealerdirect/phpcodesniffer-composer-installer (v1.0.0) - Locking mediawiki/mediawiki-codesniffer (v44.0.0) - Locking mediawiki/minus-x (1.1.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 psr/container (2.0.2) - 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) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 22 installs, 0 updates, 0 removals 0 [>---------------------------] 0 [->--------------------------] - Installing composer/installers (v1.12.0): Extracting archive - Installing squizlabs/php_codesniffer (3.9.0): Extracting archive - Installing dealerdirect/phpcodesniffer-composer-installer (v1.0.0): 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 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 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/19 [>---------------------------] 0% 19/19 [============================] 100% Generating autoload files 15 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 15 packages you are using are looking for funding. Use the `composer fund` command to find out more! No security vulnerability advisories found --- stdout --- PHP CodeSniffer Config installed_paths set to ../../mediawiki/mediawiki-codesniffer,../../phpcsstandards/phpcsextra,../../phpcsstandards/phpcsutils --- end --- Previously failing phpcs rules: {'MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic', 'MediaWiki.Commenting.FunctionComment.TypeTypeHintParam', 'MediaWiki.Commenting.FunctionComment.TypeTypeHintReturn', 'MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic', 'MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate', 'MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected'} $ vendor/bin/phpcs --report=json --- stdout --- {"totals":{"errors":49,"warnings":2,"fixable":28},"files":{"\/src\/repo\/src\/IControl.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Controls\/SplitButtonDropdown.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Controls\/SingleButtonDropdown.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Hook\/BeforePageDisplay\/HistoryBacklink.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Hook\/BeforePageDisplay\/AddFoucFix.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Renderer\/CustomMenu\/Menu.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/IPanel.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/CustomMenu\/Header.php":{"errors":0,"warnings":1,"messages":[{"message":"`type` should not be used as a typehint, the actual type should be used","source":"MediaWiki.Commenting.FunctionComment.TypeTypeHintReturn","severity":5,"fixable":false,"type":"WARNING","line":11,"column":16}]},"\/src\/repo\/src\/IBreadcrumbRootNode.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Hook\/GetPreferences\/UserPreferences.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/IActiveStateProvider.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/BreadcrumbRootNode\/SpecialAllPages.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/BreadcrumbRootNode\/SpecialSpecialPages.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/BreadcrumbRootNode\/SpecialFilelist.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/BreadcrumbRootNode\/SpecialAllTemplates.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Controls\/TemplateControl.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/Wrapper.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/BreadcrumbRootNode\/SpecialCategories.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/Header.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/BreadcrumbRootNodeBase.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/ConfigDefinition\/BlueSpiceCalummaCustomMenuHeaderCollapse.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/BreadcrumbRootNode\/NamespaceMainPage.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Renderer\/CustomMenu\/Menu\/Item.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/Nav.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/CookieHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/SkinDataPanel.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/FlexiSkin\/Subscriber.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/Banner.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/LinkListGroup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Controls\/VersionPager.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/BreadcrumbRootNode\/NamespacePortalPage.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/MobileSearchForm.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Skin.php":{"errors":4,"warnings":0,"messages":[{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":13,"column":12},{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":14,"column":12},{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":15,"column":12},{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":16,"column":12}]},"\/src\/repo\/src\/Renderer\/PageHeader.php":{"errors":6,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?LinkRenderer $linkRenderer = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":45,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?IContextSource $context = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":45,"column":44},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?QuickTemplate $skinTemplate = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":46,"column":21},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?IContextSource $context = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":63,"column":25},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?LinkRenderer $linkRenderer = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":63,"column":57},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?QuickTemplate $skinTemplate = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":64,"column":9}]},"\/src\/repo\/src\/Renderer\/PageHeader\/Context.php":{"errors":2,"warnings":0,"messages":[{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected","severity":5,"fixable":false,"type":"ERROR","line":14,"column":15},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate","severity":5,"fixable":false,"type":"ERROR","line":82,"column":13}]},"\/src\/repo\/src\/AlertProvider\/OldVersion.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/DataBeforeContent.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/PageLayout.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/SimpleLinkListGroup.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected","severity":5,"fixable":false,"type":"ERROR","line":7,"column":15}]},"\/src\/repo\/src\/Components\/Footer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Hook\/ChameleonSkinTemplateOutputPageBeforeExec\/AddToGlobalActions.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Hook\/ChameleonSkinTemplateOutputPageBeforeExec.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/MobileMoreMenu.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/DivWrapper.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/Logo.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/Notifications.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/ToggleButton.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/MobileNav.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Renderer\/Panel.php":{"errors":4,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?LinkRenderer $linkRenderer = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":42,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?IContextSource $context = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":42,"column":44},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?CacheHelper $cacheHelper = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":43,"column":21},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?TemplateFactory $templateFactory = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":44,"column":9}]},"\/src\/repo\/src\/Components\/SiteNavTabs.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected","severity":5,"fixable":false,"type":"ERROR","line":13,"column":15}]},"\/src\/repo\/src\/Components\/CustomMenu.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/DataAfterContent.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/IFlyout.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/SearchForm.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/Content.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/CollapsibleGroup.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected","severity":5,"fixable":false,"type":"ERROR","line":9,"column":15}]},"\/src\/repo\/src\/Panel\/SiteNavigation.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/ToolPaneTabs.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected","severity":5,"fixable":false,"type":"ERROR","line":13,"column":15}]},"\/src\/repo\/src\/Components\/PageContent.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/LinkList.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Renderer\/PageHeader\/EditButton.php":{"errors":3,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?LinkRenderer $linkRenderer = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":28,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?IContextSource $context = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":28,"column":44},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?QuickTemplate $skinTemplate = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":29,"column":21}]},"\/src\/repo\/src\/AssocLinksCollector.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/MobileFeaturedActionsButton.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/FeaturedActions.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate","severity":5,"fixable":false,"type":"ERROR","line":119,"column":13}]},"\/src\/repo\/src\/Components\/Aside.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Hook\/OutputPageBodyAttributes\/AddToBodyAttributes.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/PlainHTML.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/MobileNotificationsButton.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Renderer\/PageHeader\/Category.php":{"errors":3,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?LinkRenderer $linkRenderer = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":28,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?IContextSource $context = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":28,"column":44},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?QuickTemplate $skinTemplate = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":29,"column":21}]},"\/src\/repo\/src\/Panel\/StandardSkinDataLinkList.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate","severity":5,"fixable":false,"type":"ERROR","line":22,"column":13}]},"\/src\/repo\/src\/Panel\/ContentActions.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/SidebarToggle.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected","severity":5,"fixable":false,"type":"ERROR","line":10,"column":15}]},"\/src\/repo\/src\/Components\/MobileLoginButton.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/AssocLinks.php":{"errors":2,"warnings":0,"messages":[{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected","severity":5,"fixable":false,"type":"ERROR","line":11,"column":15},{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected","severity":5,"fixable":false,"type":"ERROR","line":30,"column":15}]},"\/src\/repo\/src\/Panel\/Edit.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Renderer\/PageHeader\/LastEdit.php":{"errors":10,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?LinkRenderer $linkRenderer = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":49,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?IContextSource $context = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":49,"column":44},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?QuickTemplate $skinTemplate = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":50,"column":21},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?UtilityFactory $util = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":50,"column":57},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?RevisionStore $revisionStore = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":51,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?IContextSource $context = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":72,"column":25},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?LinkRenderer $linkRenderer = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":72,"column":57},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?QuickTemplate $skinTemplate = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":73,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?UtilityFactory $util = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":73,"column":45},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?RevisionStore $revisionStore = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":74,"column":9}]},"\/src\/repo\/src\/Panel\/Toolbox.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/UserButton.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/PageInfo.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/AssocLinksProvider\/CustomCallback.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/QualityManagement.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":83,"column":12}]},"\/src\/repo\/src\/Components\/FullScreenButton.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/AssocLinksProvider\/MappedSiblings.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataProvider\/MobileMoreMenuData.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Template.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?\\Config $config = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":24,"column":34}]},"\/src\/repo\/SkinBlueSpiceCalumma.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/AssocLinksProvider\/HistoryView.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/PageTools.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/Categories.php":{"errors":2,"warnings":0,"messages":[{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected","severity":5,"fixable":false,"type":"ERROR","line":10,"column":15},{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected","severity":5,"fixable":false,"type":"ERROR","line":29,"column":15}]},"\/src\/repo\/src\/Panel\/Form.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/SkinDataFieldDefinition.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate","severity":5,"fixable":false,"type":"ERROR","line":368,"column":20}]},"\/src\/repo\/tests\/phpunit\/BreadcrumbRootNode\/SpecialSpecialPagesTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/TemplateComponent.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/PanelContainer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/AssocLinksProvider\/RootPageSibling.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Structure\/TabPanelStructure.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/BasePanel.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Renderer\/PageHeader\/BreadCrumb.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/BreadcrumbRootNode\/SpecialAllPagesTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/BreadcrumbRootNode\/NamespacePortalPageTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/Views.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Setup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/UserSidebar.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/BreadcrumbRootNode\/NamespaceMainPageTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/PanelFactory.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/AssocLinksProvider\/HistoryViewTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/AssocLinksProvider\/ExistingSiblings.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataProvider\/FeaturedActionsData.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/AssocLinksProvider\/CustomCallbackTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Structure\/TemplateStructure.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?DOMElement $domElement = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":35,"column":63}]},"\/src\/repo\/src\/Panel\/MediaWikiSidebar.php":{"errors":2,"warnings":0,"messages":[{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected","severity":5,"fixable":false,"type":"ERROR","line":119,"column":15},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate","severity":5,"fixable":false,"type":"ERROR","line":176,"column":13}]},"\/src\/repo\/src\/Panel\/MobileUserContainer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/Export.php":{"errors":0,"warnings":1,"messages":[{"message":"`type` should not be used as a typehint, the actual type should be used","source":"MediaWiki.Commenting.FunctionComment.TypeTypeHintParam","severity":5,"fixable":false,"type":"WARNING","line":37,"column":8}]},"\/src\/repo\/src\/Components\/PageHeader.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/GlobalActions.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/LanguageSelector.php":{"errors":0,"warnings":0,"messages":[]}}} --- end --- PHPCS run failed $ vendor/bin/phpcs --report=json --- stdout --- {"totals":{"errors":49,"warnings":2,"fixable":28},"files":{"\/src\/repo\/src\/Controls\/SplitButtonDropdown.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Controls\/SingleButtonDropdown.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/IBreadcrumbRootNode.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/IControl.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Renderer\/CustomMenu\/Menu.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Hook\/GetPreferences\/UserPreferences.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/IActiveStateProvider.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Hook\/BeforePageDisplay\/HistoryBacklink.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Hook\/BeforePageDisplay\/AddFoucFix.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/IPanel.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/CustomMenu\/Header.php":{"errors":0,"warnings":1,"messages":[{"message":"`type` should not be used as a typehint, the actual type should be used","source":"MediaWiki.Commenting.FunctionComment.TypeTypeHintReturn","severity":5,"fixable":false,"type":"WARNING","line":11,"column":16}]},"\/src\/repo\/src\/BreadcrumbRootNodeBase.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Controls\/TemplateControl.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/ConfigDefinition\/BlueSpiceCalummaCustomMenuHeaderCollapse.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/Wrapper.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/Header.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/BreadcrumbRootNode\/SpecialAllPages.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/BreadcrumbRootNode\/SpecialSpecialPages.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/CookieHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/BreadcrumbRootNode\/SpecialFilelist.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/BreadcrumbRootNode\/SpecialAllTemplates.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Skin.php":{"errors":4,"warnings":0,"messages":[{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":13,"column":12},{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":14,"column":12},{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":15,"column":12},{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":16,"column":12}]},"\/src\/repo\/src\/Controls\/VersionPager.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/Nav.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/BreadcrumbRootNode\/NamespaceMainPage.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/BreadcrumbRootNode\/NamespacePortalPage.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Renderer\/CustomMenu\/Menu\/Item.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/LinkListGroup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/MobileSearchForm.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/SkinDataPanel.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/BreadcrumbRootNode\/SpecialCategories.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/FlexiSkin\/Subscriber.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/Footer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Renderer\/PageHeader.php":{"errors":6,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?LinkRenderer $linkRenderer = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":45,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?IContextSource $context = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":45,"column":44},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?QuickTemplate $skinTemplate = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":46,"column":21},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?IContextSource $context = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":63,"column":25},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?LinkRenderer $linkRenderer = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":63,"column":57},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?QuickTemplate $skinTemplate = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":64,"column":9}]},"\/src\/repo\/src\/Components\/Banner.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Renderer\/PageHeader\/Context.php":{"errors":2,"warnings":0,"messages":[{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected","severity":5,"fixable":false,"type":"ERROR","line":14,"column":15},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate","severity":5,"fixable":false,"type":"ERROR","line":82,"column":13}]},"\/src\/repo\/src\/Renderer\/Panel.php":{"errors":4,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?LinkRenderer $linkRenderer = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":42,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?IContextSource $context = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":42,"column":44},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?CacheHelper $cacheHelper = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":43,"column":21},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?TemplateFactory $templateFactory = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":44,"column":9}]},"\/src\/repo\/src\/Hook\/ChameleonSkinTemplateOutputPageBeforeExec\/AddToGlobalActions.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Hook\/ChameleonSkinTemplateOutputPageBeforeExec.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/AlertProvider\/OldVersion.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/DataBeforeContent.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/SimpleLinkListGroup.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected","severity":5,"fixable":false,"type":"ERROR","line":7,"column":15}]},"\/src\/repo\/src\/Components\/Logo.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/SiteNavTabs.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected","severity":5,"fixable":false,"type":"ERROR","line":13,"column":15}]},"\/src\/repo\/src\/Components\/DataAfterContent.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/MobileMoreMenu.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/Notifications.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/PageLayout.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/DivWrapper.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/MobileNav.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/Content.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/ToggleButton.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/PageContent.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/IFlyout.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/LinkList.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/SearchForm.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Hook\/OutputPageBodyAttributes\/AddToBodyAttributes.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/Aside.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/CustomMenu.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/SiteNavigation.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/ToolPaneTabs.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected","severity":5,"fixable":false,"type":"ERROR","line":13,"column":15}]},"\/src\/repo\/src\/AssocLinksCollector.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/MobileLoginButton.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/StandardSkinDataLinkList.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate","severity":5,"fixable":false,"type":"ERROR","line":22,"column":13}]},"\/src\/repo\/src\/Components\/MobileFeaturedActionsButton.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Renderer\/PageHeader\/EditButton.php":{"errors":3,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?LinkRenderer $linkRenderer = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":28,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?IContextSource $context = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":28,"column":44},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?QuickTemplate $skinTemplate = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":29,"column":21}]},"\/src\/repo\/src\/Panel\/PlainHTML.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/CollapsibleGroup.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected","severity":5,"fixable":false,"type":"ERROR","line":9,"column":15}]},"\/src\/repo\/src\/Renderer\/PageHeader\/Category.php":{"errors":3,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?LinkRenderer $linkRenderer = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":28,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?IContextSource $context = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":28,"column":44},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?QuickTemplate $skinTemplate = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":29,"column":21}]},"\/src\/repo\/src\/Panel\/Toolbox.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/MobileNotificationsButton.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/AssocLinks.php":{"errors":2,"warnings":0,"messages":[{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected","severity":5,"fixable":false,"type":"ERROR","line":11,"column":15},{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected","severity":5,"fixable":false,"type":"ERROR","line":30,"column":15}]},"\/src\/repo\/src\/Panel\/ContentActions.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/UserButton.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/Edit.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/FeaturedActions.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate","severity":5,"fixable":false,"type":"ERROR","line":119,"column":13}]},"\/src\/repo\/src\/Panel\/PageInfo.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/SidebarToggle.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected","severity":5,"fixable":false,"type":"ERROR","line":10,"column":15}]},"\/src\/repo\/src\/Components\/FullScreenButton.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/QualityManagement.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic","severity":5,"fixable":false,"type":"ERROR","line":83,"column":12}]},"\/src\/repo\/src\/AssocLinksProvider\/HistoryView.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/PageTools.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Renderer\/PageHeader\/LastEdit.php":{"errors":10,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?LinkRenderer $linkRenderer = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":49,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?IContextSource $context = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":49,"column":44},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?QuickTemplate $skinTemplate = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":50,"column":21},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?UtilityFactory $util = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":50,"column":57},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?RevisionStore $revisionStore = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":51,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?IContextSource $context = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":72,"column":25},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?LinkRenderer $linkRenderer = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":72,"column":57},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?QuickTemplate $skinTemplate = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":73,"column":9},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?UtilityFactory $util = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":73,"column":45},{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?RevisionStore $revisionStore = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":74,"column":9}]},"\/src\/repo\/src\/AssocLinksProvider\/CustomCallback.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/DataProvider\/MobileMoreMenuData.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/Categories.php":{"errors":2,"warnings":0,"messages":[{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected","severity":5,"fixable":false,"type":"ERROR","line":10,"column":15},{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected","severity":5,"fixable":false,"type":"ERROR","line":29,"column":15}]},"\/src\/repo\/src\/AssocLinksProvider\/MappedSiblings.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/PanelContainer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/Form.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/AssocLinksProvider\/RootPageSibling.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Template.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?\\Config $config = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":24,"column":34}]},"\/src\/repo\/SkinBlueSpiceCalumma.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/Views.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/BreadcrumbRootNode\/SpecialSpecialPagesTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Structure\/TabPanelStructure.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/BasePanel.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/SkinDataFieldDefinition.php":{"errors":1,"warnings":0,"messages":[{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate","severity":5,"fixable":false,"type":"ERROR","line":368,"column":20}]},"\/src\/repo\/src\/Setup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/BreadcrumbRootNode\/NamespacePortalPageTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/TemplateComponent.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/BreadcrumbRootNode\/NamespaceMainPageTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/BreadcrumbRootNode\/SpecialAllPagesTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/UserSidebar.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Renderer\/PageHeader\/BreadCrumb.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/AssocLinksProvider\/ExistingSiblings.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Structure\/TemplateStructure.php":{"errors":1,"warnings":0,"messages":[{"message":"Use PHP 8.4 compatible syntax for explicit nullable types (\"?DOMElement $domElement = null\")","source":"MediaWiki.Usage.NullableType.ExplicitNullableTypes","severity":5,"fixable":true,"type":"ERROR","line":35,"column":63}]},"\/src\/repo\/src\/DataProvider\/FeaturedActionsData.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/AssocLinksProvider\/HistoryViewTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/MobileUserContainer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/AssocLinksProvider\/CustomCallbackTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/PanelFactory.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/MediaWikiSidebar.php":{"errors":2,"warnings":0,"messages":[{"message":"Missing class property doc comment","source":"MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected","severity":5,"fixable":false,"type":"ERROR","line":119,"column":15},{"message":"Missing function doc comment","source":"MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate","severity":5,"fixable":false,"type":"ERROR","line":176,"column":13}]},"\/src\/repo\/src\/Panel\/GlobalActions.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Panel\/Export.php":{"errors":0,"warnings":1,"messages":[{"message":"`type` should not be used as a typehint, the actual type should be used","source":"MediaWiki.Commenting.FunctionComment.TypeTypeHintParam","severity":5,"fixable":false,"type":"WARNING","line":37,"column":8}]},"\/src\/repo\/src\/Components\/PageHeader.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Components\/LanguageSelector.php":{"errors":0,"warnings":0,"messages":[]}}} --- end --- * sniff MediaWiki.Usage.NullableType.ExplicitNullableTypes is now failing $ git checkout .phpcs.xml --- stderr --- Updated 1 path from the index --- stdout --- --- end --- $ /usr/bin/composer install --- stderr --- Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Nothing to install, update or remove Generating autoload files 15 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 --- 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: 1.22 secs; Memory: 6MB --- 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": 315, "optional": 0, "peer": 1, "peerOptional": 0, "total": 315 } } } --- end --- $ package-lock-lint package-lock.json --- stdout --- Checking package-lock.json --- end --- build: Updating mediawiki/mediawiki-codesniffer to 45.0.0 The following sniffs are failing and were disabled: * MediaWiki.Usage.NullableType.ExplicitNullableTypes $ git add . --- stdout --- --- end --- $ git commit -F /tmp/tmpv3ohxxh2 --- stdout --- [REL1_43 782262d] build: Updating mediawiki/mediawiki-codesniffer to 45.0.0 2 files changed, 2 insertions(+), 1 deletion(-) --- end --- $ git format-patch HEAD~1 --stdout --- stdout --- From 782262dcc6d1f44abc661d6402d44564aee6cc6a Mon Sep 17 00:00:00 2001 From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org> Date: Thu, 14 Nov 2024 18:26:43 +0000 Subject: [PATCH] build: Updating mediawiki/mediawiki-codesniffer to 45.0.0 The following sniffs are failing and were disabled: * MediaWiki.Usage.NullableType.ExplicitNullableTypes Change-Id: I4363de59f09f760e237e391dc86f01d3f516e10f --- .phpcs.xml | 1 + composer.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.phpcs.xml b/.phpcs.xml index 72797f5..60fb859 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -7,6 +7,7 @@ <exclude name="MediaWiki.Commenting.FunctionComment.TypeTypeHintReturn" /> <exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected" /> <exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic" /> + <exclude name="MediaWiki.Usage.NullableType.ExplicitNullableTypes" /> </rule> <file>.</file> <arg name="bootstrap" value="./vendor/mediawiki/mediawiki-codesniffer/utils/bootstrap-ci.php"/> diff --git a/composer.json b/composer.json index 4fb5f85..e779639 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "composer/installers": "~1.0" }, "require-dev": { - "mediawiki/mediawiki-codesniffer": "44.0.0", + "mediawiki/mediawiki-codesniffer": "45.0.0", "mediawiki/minus-x": "1.1.3", "php-parallel-lint/php-console-highlighter": "1.0.0", "php-parallel-lint/php-parallel-lint": "1.4.0" -- 2.39.2 --- end ---