mediawiki/extensions/WikiLambda: main (log #449016)

sourcepatches

This run took 23 seconds.

From 66eee6660a1fbec2e0e84491d639c41d8fb99e4d Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Wed, 15 Sep 2021 08:38:35 +0000
Subject: [PATCH] build: Updating composer dependencies
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

Additional changes:
* Dropped default excluded folder(s) from .phpcs.xml (T274684).
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: Ic17f58ebcc03c384d906210b95092836eb2ba54c
---
 .phpcs.xml    | 2 --
 composer.json | 9 +++++----
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/.phpcs.xml b/.phpcs.xml
index 17456b9..da68429 100644
--- a/.phpcs.xml
+++ b/.phpcs.xml
@@ -8,8 +8,6 @@
 	</rule>
 
 	<file>.</file>
-	<exclude-pattern>vendor</exclude-pattern>
-	<exclude-pattern>coverage</exclude-pattern>
 	<exclude-pattern>resources/lib</exclude-pattern>
 	<exclude-pattern>function-schemata</exclude-pattern>
 </ruleset>
diff --git a/composer.json b/composer.json
index 57f9b42..caecf6d 100644
--- a/composer.json
+++ b/composer.json
@@ -5,21 +5,22 @@
 	},
 	"require-dev": {
 		"mediawiki/mediawiki-codesniffer": "37.0.0",
-		"mediawiki/mediawiki-phan-config": "0.10.6",
+		"mediawiki/mediawiki-phan-config": "0.11.0",
 		"mediawiki/minus-x": "1.1.1",
 		"php-parallel-lint/php-console-highlighter": "0.5.0",
-		"php-parallel-lint/php-parallel-lint": "1.3.0"
+		"php-parallel-lint/php-parallel-lint": "1.3.1"
 	},
 	"scripts": {
 		"test": [
 			"parallel-lint . --exclude vendor --exclude node_modules",
-			"phpcs -p -s",
+			"@phpcs",
 			"minus-x check ."
 		],
 		"phan": "phan --allow-polyfill-parser --long-progress-bar",
 		"fix": [
 			"minus-x fix .",
 			"phpcbf"
-		]
+		],
+		"phpcs": "phpcs -sp --cache"
 	}
 }
-- 
2.20.1

$ date
Wed Sep 15 08:38:17 UTC 2021

$ git clone file:///srv/git/mediawiki-extensions-WikiLambda.git repo --depth=1 -b master
Cloning into 'repo'...

$ git config user.name libraryupgrader

$ git config user.email tools.libraryupgrader@tools.wmflabs.org

$ git submodule update --init
Submodule 'function-schemata' (https://gerrit.wikimedia.org/r/mediawiki/services/function-schemata) registered for path 'function-schemata'
Cloning into '/src/repo/function-schemata'...
Submodule path 'function-schemata': checked out 'ec321dcf902965104ccfc19f9088ea440b966a6d'

$ grr init
Installed commit-msg hook.

$ git show-ref refs/heads/master
318c035f370d308d4187f737499b1e3d96655b9f refs/heads/master

$ composer install
Loading composer repositories with package information
Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/
Updating dependencies (including require-dev)
Package operations: 35 installs, 0 updates, 0 removals
  - Installing opis/json-schema (1.1.0): Loading from cache
  - Installing symfony/polyfill-ctype (v1.23.0): Loading from cache
  - Installing symfony/deprecation-contracts (v2.4.0): Loading from cache
  - Installing symfony/yaml (v5.3.6): Loading from cache
  - Installing squizlabs/php_codesniffer (3.6.0): Loading from cache
  - Installing sebastian/diff (3.0.3): Loading from cache
  - Installing composer/spdx-licenses (1.5.5): Loading from cache
  - Installing composer/semver (3.2.5): Loading from cache
  - Installing mediawiki/mediawiki-codesniffer (v37.0.0): Loading from cache
  - Installing symfony/polyfill-php80 (v1.23.1): Loading from cache
  - Installing symfony/polyfill-mbstring (v1.23.1): Loading from cache
  - Installing symfony/polyfill-intl-normalizer (v1.23.0): Loading from cache
  - Installing symfony/polyfill-intl-grapheme (v1.23.1): Loading from cache
  - Installing symfony/string (v5.3.7): Loading from cache
  - Installing psr/container (1.1.1): Loading from cache
  - Installing symfony/service-contracts (v2.4.0): Loading from cache
  - Installing symfony/polyfill-php73 (v1.23.0): Loading from cache
  - Installing symfony/console (v5.3.7): Loading from cache
  - Installing psr/log (1.1.4): Loading from cache
  - Installing sabre/event (5.1.2): Loading from cache
  - Installing netresearch/jsonmapper (v3.1.1): Loading from cache
  - Installing microsoft/tolerant-php-parser (v0.0.23): Loading from cache
  - Installing phpdocumentor/reflection-common (2.2.0): Loading from cache
  - Installing webmozart/assert (1.10.0): Loading from cache
  - Installing phpdocumentor/type-resolver (1.4.0): Loading from cache
  - Installing phpdocumentor/reflection-docblock (5.2.2): Loading from cache
  - Installing felixfbecker/advanced-json-rpc (v3.2.1): Loading from cache
  - Installing composer/xdebug-handler (1.4.6): Loading from cache
  - Installing phan/phan (3.2.6): Loading from cache
  - Installing mediawiki/phan-taint-check-plugin (3.2.1): Loading from cache
  - Installing mediawiki/mediawiki-phan-config (0.10.6): Loading from cache
  - Installing mediawiki/minus-x (1.1.1): Loading from cache
  - Installing php-parallel-lint/php-console-color (v0.3): Loading from cache
  - Installing php-parallel-lint/php-console-highlighter (v0.5): Loading from cache
  - Installing php-parallel-lint/php-parallel-lint (v1.3.0): Loading from cache
opis/json-schema suggests installing opis/string (A standalone library for manipulating multibyte strings)
symfony/service-contracts suggests installing symfony/service-implementation
symfony/console suggests installing symfony/event-dispatcher
symfony/console suggests installing symfony/lock
symfony/console suggests installing symfony/process
phan/phan suggests installing ext-ast (Needed for parsing ASTs (unless --use-fallback-parser is used). 1.0.1+ is needed, 1.0.8+ is recommended.)
Writing lock file
Generating autoload files
15 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

Upgrading c:mediawiki/mediawiki-phan-config from 0.10.6 -> 0.11.0
Upgrading c:php-parallel-lint/php-parallel-lint from 1.3.0 -> 1.3.1
$ composer update
Loading composer repositories with package information
Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/
Updating dependencies (including require-dev)
Package operations: 1 install, 7 updates, 0 removals
  - Installing tysonandre/var_representation_polyfill (0.1.1): Loading from cache
  - Updating netresearch/jsonmapper (v3.1.1 => v4.0.0): Loading from cache
  - Updating microsoft/tolerant-php-parser (v0.0.23 => v0.1.1): Loading from cache
  - Updating composer/xdebug-handler (1.4.6 => 2.0.2): Loading from cache
  - Updating phan/phan (3.2.6 => 5.2.0): Loading from cache
  - Updating mediawiki/phan-taint-check-plugin (3.2.1 => 3.3.2): Loading from cache
  - Updating mediawiki/mediawiki-phan-config (0.10.6 => 0.11.0): Loading from cache
  - Updating php-parallel-lint/php-parallel-lint (v1.3.0 => v1.3.1): Loading from cache
tysonandre/var_representation_polyfill suggests installing ext-var_representation (*)
Writing lock file
Generating autoload files
15 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files
15 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

$ composer test
> parallel-lint . --exclude vendor --exclude node_modules
PHP 7.3.29 | 10 parallel jobs
............................................................ 60/93 (64 %)
.................................                            93/93 (100 %)


Checked 93 files in 0.7 seconds
No syntax error found
> phpcs -p -s
............................................................  60 / 131 (46%)
............................................................ 120 / 131 (92%)
...........                                                  131 / 131 (100%)


Time: 2 secs; Memory: 24MB

> minus-x check .
MinusX
======
Processing /src/repo...
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
................
All good!

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

$ git add .

$ git commit -F /tmp/tmpogq0dtel
[master 66eee66] build: Updating composer dependencies
 2 files changed, 5 insertions(+), 6 deletions(-)

$ git format-patch HEAD~1 --stdout
From 66eee6660a1fbec2e0e84491d639c41d8fb99e4d Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Wed, 15 Sep 2021 08:38:35 +0000
Subject: [PATCH] build: Updating composer dependencies
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

Additional changes:
* Dropped default excluded folder(s) from .phpcs.xml (T274684).
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: Ic17f58ebcc03c384d906210b95092836eb2ba54c
---
 .phpcs.xml    | 2 --
 composer.json | 9 +++++----
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/.phpcs.xml b/.phpcs.xml
index 17456b9..da68429 100644
--- a/.phpcs.xml
+++ b/.phpcs.xml
@@ -8,8 +8,6 @@
 	</rule>
 
 	<file>.</file>
-	<exclude-pattern>vendor</exclude-pattern>
-	<exclude-pattern>coverage</exclude-pattern>
 	<exclude-pattern>resources/lib</exclude-pattern>
 	<exclude-pattern>function-schemata</exclude-pattern>
 </ruleset>
diff --git a/composer.json b/composer.json
index 57f9b42..caecf6d 100644
--- a/composer.json
+++ b/composer.json
@@ -5,21 +5,22 @@
 	},
 	"require-dev": {
 		"mediawiki/mediawiki-codesniffer": "37.0.0",
-		"mediawiki/mediawiki-phan-config": "0.10.6",
+		"mediawiki/mediawiki-phan-config": "0.11.0",
 		"mediawiki/minus-x": "1.1.1",
 		"php-parallel-lint/php-console-highlighter": "0.5.0",
-		"php-parallel-lint/php-parallel-lint": "1.3.0"
+		"php-parallel-lint/php-parallel-lint": "1.3.1"
 	},
 	"scripts": {
 		"test": [
 			"parallel-lint . --exclude vendor --exclude node_modules",
-			"phpcs -p -s",
+			"@phpcs",
 			"minus-x check ."
 		],
 		"phan": "phan --allow-polyfill-parser --long-progress-bar",
 		"fix": [
 			"minus-x fix .",
 			"phpcbf"
-		]
+		],
+		"phpcs": "phpcs -sp --cache"
 	}
 }
-- 
2.20.1

Source code is licensed under the AGPL.