This run took 14 seconds.
From 8412d1a9a6c3d40a9d263d1f12a543c2f55d14f2 Mon Sep 17 00:00:00 2001 From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org> Date: Sun, 28 Apr 2024 19:03:56 +0000 Subject: [PATCH] build: Updating composer dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * mediawiki/mediawiki-codesniffer: 38.0.0 → 43.0.0 The following sniffs are failing and were disabled: * Generic.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition The following sniffs now pass and were enabled: * MediaWiki.ControlStructures.AssignmentInControlStructures.AssignmentInControlStructures * php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0 * php-parallel-lint/php-parallel-lint: 1.3.1 → 1.4.0 Change-Id: I9e376a565e49d03542737b3af7c78d74a314acdc --- .phpcs.xml | 2 +- composer.json | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.phpcs.xml b/.phpcs.xml index 80759e5..819a0e0 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -4,7 +4,7 @@ <arg name="encoding" value="UTF-8" /> <arg name="extensions" value="php" /> <rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki"> - <exclude name="MediaWiki.ControlStructures.AssignmentInControlStructures.AssignmentInControlStructures" /> + <exclude name="Generic.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition" /> <exclude name="MediaWiki.Usage.SuperGlobalsUsage.SuperGlobals" /> </rule> </ruleset> diff --git a/composer.json b/composer.json index 021e1c4..6c0a161 100644 --- a/composer.json +++ b/composer.json @@ -7,14 +7,14 @@ "ext-curl": "*", "ext-json": "*", "ext-pdo": "*", - "ext-zlib": "*" + "ext-zlib": "*" }, "require-dev": { - "mediawiki/mediawiki-codesniffer": "38.0.0", + "mediawiki/mediawiki-codesniffer": "43.0.0", "mediawiki/mediawiki-phan-config": "0.14.0", "mediawiki/minus-x": "1.1.1", - "php-parallel-lint/php-console-highlighter": "0.5.0", - "php-parallel-lint/php-parallel-lint": "1.3.1" + "php-parallel-lint/php-console-highlighter": "1.0.0", + "php-parallel-lint/php-parallel-lint": "1.4.0" }, "autoload": { "psr-4": { @@ -24,6 +24,9 @@ "config": { "platform": { "php": "7.4.33" + }, + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true } }, "scripts": { -- 2.39.2
$ date --- stdout --- Sun Apr 28 19:03:46 UTC 2024 --- end --- $ git clone file:///srv/git/performance-excimer-ui-server.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 --- d5adc2f5be413ed177326f50f865e359146100c9 refs/heads/master --- 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: 36 installs, 0 updates, 0 removals - Locking composer/pcre (3.1.3) - Locking composer/semver (3.4.0) - Locking composer/spdx-licenses (1.5.8) - Locking composer/xdebug-handler (3.0.4) - Locking doctrine/deprecations (1.1.3) - Locking felixfbecker/advanced-json-rpc (v3.2.1) - Locking mediawiki/mediawiki-codesniffer (v38.0.0) - Locking mediawiki/mediawiki-phan-config (0.14.0) - Locking mediawiki/minus-x (1.1.1) - Locking mediawiki/phan-taint-check-plugin (6.0.0) - Locking microsoft/tolerant-php-parser (v0.1.2) - Locking netresearch/jsonmapper (v4.4.1) - Locking phan/phan (5.4.3) - Locking php-parallel-lint/php-console-color (v0.3) - Locking php-parallel-lint/php-console-highlighter (v0.5) - Locking php-parallel-lint/php-parallel-lint (v1.3.1) - Locking phpdocumentor/reflection-common (2.2.0) - Locking phpdocumentor/reflection-docblock (5.4.0) - Locking phpdocumentor/type-resolver (1.8.2) - Locking phpstan/phpdoc-parser (1.28.0) - Locking psr/container (1.1.2) - Locking psr/log (1.1.4) - Locking sabre/event (5.1.4) - Locking squizlabs/php_codesniffer (3.6.1) - Locking symfony/console (v5.4.36) - Locking symfony/deprecation-contracts (v2.5.3) - Locking symfony/polyfill-ctype (v1.29.0) - Locking symfony/polyfill-intl-grapheme (v1.29.0) - Locking symfony/polyfill-intl-normalizer (v1.29.0) - Locking symfony/polyfill-mbstring (v1.29.0) - Locking symfony/polyfill-php73 (v1.29.0) - Locking symfony/polyfill-php80 (v1.29.0) - Locking symfony/service-contracts (v2.5.3) - Locking symfony/string (v5.4.36) - 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: 36 installs, 0 updates, 0 removals 0 [>---------------------------] 0 [->--------------------------] - Installing composer/pcre (3.1.3): Extracting archive - Installing squizlabs/php_codesniffer (3.6.1): Extracting archive - Installing symfony/polyfill-mbstring (v1.29.0): Extracting archive - Installing composer/spdx-licenses (1.5.8): Extracting archive - Installing composer/semver (3.4.0): Extracting archive - Installing mediawiki/mediawiki-codesniffer (v38.0.0): Extracting archive - Installing tysonandre/var_representation_polyfill (0.1.3): Extracting archive - Installing symfony/polyfill-php80 (v1.29.0): Extracting archive - Installing symfony/polyfill-intl-normalizer (v1.29.0): Extracting archive - Installing symfony/polyfill-intl-grapheme (v1.29.0): Extracting archive - Installing symfony/polyfill-ctype (v1.29.0): Extracting archive - Installing symfony/string (v5.4.36): Extracting archive - Installing symfony/deprecation-contracts (v2.5.3): Extracting archive - Installing psr/container (1.1.2): Extracting archive - Installing symfony/service-contracts (v2.5.3): Extracting archive - Installing symfony/polyfill-php73 (v1.29.0): Extracting archive - Installing symfony/console (v5.4.36): Extracting archive - Installing sabre/event (5.1.4): Extracting archive - Installing netresearch/jsonmapper (v4.4.1): Extracting archive - Installing microsoft/tolerant-php-parser (v0.1.2): Extracting archive - Installing webmozart/assert (1.11.0): Extracting archive - Installing phpstan/phpdoc-parser (1.28.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.8.2): Extracting archive - Installing phpdocumentor/reflection-docblock (5.4.0): Extracting archive - Installing felixfbecker/advanced-json-rpc (v3.2.1): Extracting archive - Installing psr/log (1.1.4): Extracting archive - Installing composer/xdebug-handler (3.0.4): 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.1): Extracting archive - Installing php-parallel-lint/php-console-color (v0.3): Extracting archive - Installing php-parallel-lint/php-console-highlighter (v0.5): Extracting archive - Installing php-parallel-lint/php-parallel-lint (v1.3.1): Extracting archive 0/36 [>---------------------------] 0% 24/36 [==================>---------] 66% 35/36 [===========================>] 97% 36/36 [============================] 100% 4 package suggestions were added by new dependencies, use `composer suggest` to see details. Generating autoload files 15 packages you are using are looking for funding. Use the `composer fund` command to find out more! --- stdout --- --- end --- Upgrading c:mediawiki/mediawiki-codesniffer from 38.0.0 -> 43.0.0 Upgrading c:php-parallel-lint/php-console-highlighter from 0.5.0 -> 1.0.0 Upgrading c:php-parallel-lint/php-parallel-lint from 1.3.1 -> 1.4.0 $ /usr/bin/composer update --- stderr --- Loading composer repositories with package information Updating dependencies Lock file operations: 3 installs, 5 updates, 0 removals - Locking dealerdirect/phpcodesniffer-composer-installer (v1.0.0) - Upgrading mediawiki/mediawiki-codesniffer (v38.0.0 => v43.0.0) - Upgrading php-parallel-lint/php-console-color (v0.3 => v1.0.1) - Upgrading php-parallel-lint/php-console-highlighter (v0.5 => v1.0.0) - Upgrading php-parallel-lint/php-parallel-lint (v1.3.1 => v1.4.0) - Locking phpcsstandards/phpcsextra (1.1.2) - Locking phpcsstandards/phpcsutils (1.0.9) - Upgrading squizlabs/php_codesniffer (3.6.1 => 3.8.1) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 3 installs, 5 updates, 0 removals 0 [>---------------------------] 0 [->--------------------------] - Upgrading squizlabs/php_codesniffer (3.6.1 => 3.8.1): Extracting archive - Installing dealerdirect/phpcodesniffer-composer-installer (v1.0.0): Extracting archive - Installing phpcsstandards/phpcsutils (1.0.9): Extracting archive - Installing phpcsstandards/phpcsextra (1.1.2): Extracting archive - Upgrading mediawiki/mediawiki-codesniffer (v38.0.0 => v43.0.0): Extracting archive - Upgrading php-parallel-lint/php-console-color (v0.3 => v1.0.1): Extracting archive - Upgrading php-parallel-lint/php-console-highlighter (v0.5 => v1.0.0): Extracting archive - Upgrading php-parallel-lint/php-parallel-lint (v1.3.1 => v1.4.0): Extracting archive 0/6 [>---------------------------] 0% 6/6 [============================] 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.Usage.SuperGlobalsUsage.SuperGlobals', 'MediaWiki.ControlStructures.AssignmentInControlStructures.AssignmentInControlStructures'} $ vendor/bin/phpcs --report=json --- stdout --- {"totals":{"errors":1,"warnings":1,"fixable":0},"files":{"\/src\/repo\/.phan\/config.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/ServerError.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/public_html\/index.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Server.php":{"errors":1,"warnings":1,"messages":[{"message":"\"$_POST\" superglobals should not be accessed.","source":"MediaWiki.Usage.SuperGlobalsUsage.SuperGlobals","severity":5,"fixable":false,"type":"ERROR","line":49,"column":23},{"message":"Variable assignment found within a condition. Did you mean to do a comparison ?","source":"Generic.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition","severity":5,"fixable":false,"type":"WARNING","line":375,"column":28}]}}} --- end --- PHPCS run failed $ vendor/bin/phpcs --report=json --- stdout --- {"totals":{"errors":1,"warnings":1,"fixable":0},"files":{"\/src\/repo\/.phan\/config.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/public_html\/index.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/ServerError.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Server.php":{"errors":1,"warnings":1,"messages":[{"message":"\"$_POST\" superglobals should not be accessed.","source":"MediaWiki.Usage.SuperGlobalsUsage.SuperGlobals","severity":5,"fixable":false,"type":"ERROR","line":49,"column":23},{"message":"Variable assignment found within a condition. Did you mean to do a comparison ?","source":"Generic.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition","severity":5,"fixable":false,"type":"WARNING","line":375,"column":28}]}}} --- end --- * sniff MediaWiki.ControlStructures.AssignmentInControlStructures.AssignmentInControlStructures is no longer failing * sniff Generic.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition is now failing $ git checkout .phpcs.xml --- stderr --- Updated 1 path from the index --- stdout --- --- end --- $ /usr/bin/composer install --- stderr --- Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Nothing to install, update or remove Generating autoload files 16 packages you are using are looking for funding. Use the `composer fund` command to find out more! --- stdout --- --- end --- $ /usr/bin/composer test --- stderr --- > parallel-lint . --exclude vendor > phpcs -sp src public_html > phan --allow-polyfill-parser Parsing files... ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 54 / 574 ( 13%) 46MB ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 108 / 574 ( 27%) 72MB ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 162 / 574 ( 34%) 80MB ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 216 / 574 ( 58%) 89MB ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 270 / 574 ( 58%) 89MB ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 324 / 574 ( 58%) 89MB ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 378 / 574 ( 71%) 101MB ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 432 / 574 ( 84%) 114MB ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 486 / 574 ( 84%) 114MB ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 540 / 574 ( 95%) 124MB ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 574 / 574 (100%) 132MB Analyzing classes... ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 148MB Analyzing functions... ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 148MB Analyzing methods... ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 152MB Analyzing files... ░░ 2 / 2 (100%) 158MB > minus-x check . --- stdout --- PHP 8.2.7 | 10 parallel jobs .... 4/4 (100%) Checked 4 files in 0.1 seconds No syntax error found ... 3 / 3 (100%) Time: 194ms; Memory: 6MB MinusX ====== Processing /src/repo... ...................................... All good! --- end --- build: Updating composer dependencies * mediawiki/mediawiki-codesniffer: 38.0.0 → 43.0.0 The following sniffs are failing and were disabled: * Generic.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition The following sniffs now pass and were enabled: * MediaWiki.ControlStructures.AssignmentInControlStructures.AssignmentInControlStructures * php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0 * php-parallel-lint/php-parallel-lint: 1.3.1 → 1.4.0 $ git add . --- stdout --- --- end --- $ git commit -F /tmp/tmpm1z5b8qv --- stdout --- [master 8412d1a] build: Updating composer dependencies 2 files changed, 8 insertions(+), 5 deletions(-) --- end --- $ git format-patch HEAD~1 --stdout --- stdout --- From 8412d1a9a6c3d40a9d263d1f12a543c2f55d14f2 Mon Sep 17 00:00:00 2001 From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org> Date: Sun, 28 Apr 2024 19:03:56 +0000 Subject: [PATCH] build: Updating composer dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * mediawiki/mediawiki-codesniffer: 38.0.0 → 43.0.0 The following sniffs are failing and were disabled: * Generic.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition The following sniffs now pass and were enabled: * MediaWiki.ControlStructures.AssignmentInControlStructures.AssignmentInControlStructures * php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0 * php-parallel-lint/php-parallel-lint: 1.3.1 → 1.4.0 Change-Id: I9e376a565e49d03542737b3af7c78d74a314acdc --- .phpcs.xml | 2 +- composer.json | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.phpcs.xml b/.phpcs.xml index 80759e5..819a0e0 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -4,7 +4,7 @@ <arg name="encoding" value="UTF-8" /> <arg name="extensions" value="php" /> <rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki"> - <exclude name="MediaWiki.ControlStructures.AssignmentInControlStructures.AssignmentInControlStructures" /> + <exclude name="Generic.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition" /> <exclude name="MediaWiki.Usage.SuperGlobalsUsage.SuperGlobals" /> </rule> </ruleset> diff --git a/composer.json b/composer.json index 021e1c4..6c0a161 100644 --- a/composer.json +++ b/composer.json @@ -7,14 +7,14 @@ "ext-curl": "*", "ext-json": "*", "ext-pdo": "*", - "ext-zlib": "*" + "ext-zlib": "*" }, "require-dev": { - "mediawiki/mediawiki-codesniffer": "38.0.0", + "mediawiki/mediawiki-codesniffer": "43.0.0", "mediawiki/mediawiki-phan-config": "0.14.0", "mediawiki/minus-x": "1.1.1", - "php-parallel-lint/php-console-highlighter": "0.5.0", - "php-parallel-lint/php-parallel-lint": "1.3.1" + "php-parallel-lint/php-console-highlighter": "1.0.0", + "php-parallel-lint/php-parallel-lint": "1.4.0" }, "autoload": { "psr-4": { @@ -24,6 +24,9 @@ "config": { "platform": { "php": "7.4.33" + }, + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true } }, "scripts": { -- 2.39.2 --- end ---