mediawiki/extensions/SemanticGenealogy (main)

sourcepatches
From 0907e2c60115fbad13928c3d0fbc820675f01b84 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Sat, 20 Nov 2021 03:11:51 +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: 37.0.0 → 38.0.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: I7dc86270cfb0b938ec3170fe8b93116b4bd4c3fb
---
 composer.json | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/composer.json b/composer.json
index a3cfe21..273d8e0 100644
--- a/composer.json
+++ b/composer.json
@@ -26,21 +26,22 @@
 		"mediawiki/semantic-media-wiki": ">=1.7"
 	},
 	"require-dev": {
-		"mediawiki/mediawiki-codesniffer": "37.0.0",
+		"mediawiki/mediawiki-codesniffer": "38.0.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 --exclude extensions",
-			"phpcs -p -s",
+			"@phpcs",
 			"minus-x check ."
 		],
 		"fix": [
 			"minus-x fix .",
 			"phpcbf"
-		]
+		],
+		"phpcs": "phpcs -sp --cache"
 	},
 	"autoload": {
 		"files": [],
-- 
2.20.1

$ date
Sat Nov 20 03:10:52 UTC 2021

$ git clone file:///srv/git/mediawiki-extensions-SemanticGenealogy.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

$ grr init
Installed commit-msg hook.

$ git show-ref refs/heads/master
9f357e9c4972faa42622126cd064312e910e7ee5 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: 44 installs, 0 updates, 0 removals
  - Installing composer/installers (1.x-dev d20a64e): Cloning d20a64ed3c from cache
  - Installing squizlabs/php_codesniffer (3.6.0): Loading from cache
  - Installing sebastian/diff (3.0.x-dev 14f72dd): Cloning 14f72dd46e from cache
  - Installing composer/spdx-licenses (1.5.6): Loading from cache
  - Installing composer/semver (dev-main 83e511e): Cloning 83e511e247 from cache
  - Installing mediawiki/mediawiki-codesniffer (v37.0.0): Loading from cache
  - Installing symfony/polyfill-mbstring (dev-main 11b9acb): Cloning 11b9acb5e8 from cache
  - Installing symfony/polyfill-intl-normalizer (dev-main 8590a5f): Cloning 8590a5f561 from cache
  - Installing symfony/polyfill-intl-grapheme (dev-main 5911fe4): Cloning 5911fe42c2 from cache
  - Installing symfony/polyfill-ctype (dev-main 3088518): Cloning 30885182c9 from cache
  - Installing symfony/polyfill-php80 (dev-main 57b712b): Cloning 57b712b08e from cache
  - Installing symfony/string (5.4.x-dev dad92b1): Cloning dad92b16d8 from cache
  - Installing psr/container (1.1.x-dev 8622567): Cloning 8622567409 from cache
  - Installing symfony/service-contracts (2.5.x-dev 56b990c): Cloning 56b990c181 from cache
  - Installing symfony/polyfill-php73 (dev-main cc5db0e): Cloning cc5db0e22b from cache
  - Installing symfony/deprecation-contracts (2.5.x-dev 6f981ee): Cloning 6f981ee24c from cache
  - Installing psr/log (1.1.4): Loading from cache
  - Installing symfony/console (5.4.x-dev bea7632): Cloning bea7632e3b 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
  - Installing jeroen/file-fetcher (dev-master eab32f8): Cloning eab32f80cc from cache
  - Installing serialization/serialization (dev-master cc3d73b): Cloning cc3d73b0d0 from cache
  - Installing justinrainbow/json-schema (5.x-dev 384f945): Cloning 384f94595c from cache
  - Installing seld/jsonlint (1.8.3): Loading from cache
  - Installing symfony/css-selector (3.4.x-dev da3d9da): Cloning da3d9da2ce from cache
  - Installing onoi/shared-resources (0.4.3): Loading from cache
  - Installing wikimedia/textcat (1.3.0): Loading from cache
  - Installing wikimedia/cdb (1.4.1): Loading from cache
  - Installing onoi/tesa (0.1.0): Loading from cache
  - Installing onoi/callback-container (dev-master 70d2266): Cloning 70d2266c19 from cache
  - Installing onoi/cache (dev-master 9a8e3ea): Cloning 9a8e3ea27f from cache
  - Installing onoi/http-request (dev-master bc731f0): Cloning bc731f0b70 from cache
  - Installing onoi/blob-store (dev-master 7753172): Cloning 77531727be from cache
  - Installing onoi/event-dispatcher (dev-master 2af64e3): Cloning 2af64e3997 from cache
  - Installing onoi/message-reporter (dev-master 5381702): Cloning 5381702fc1 from cache
  - Installing data-values/interfaces (1.0.0): Loading from cache
  - Installing data-values/data-values (dev-master 2007e9a): Cloning 2007e9a039 from cache
  - Installing data-values/validators (1.0.0): Loading from cache
  - Installing data-values/common (dev-master 8d2ee85): Cloning 8d2ee85c28 from cache
  - Installing param-processor/param-processor (dev-master 0850dc2): Cloning 0850dc2af7 from cache
  - Installing mediawiki/parser-hooks (dev-master bbd6737): Cloning bbd6737186 from cache
  - Installing mediawiki/semantic-media-wiki (dev-master f37966a): Cloning f37966ad28 from cache
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
jeroen/file-fetcher suggests installing jeroen/file-fetcher-cache (Provides a SimpleCache (PSR-16) decorator for file fetchers)
jeroen/file-fetcher suggests installing jeroen/file-fetcher-stopwatch (Provides a Symfony Stopwatch decorator for file fetchers)
mediawiki/semantic-media-wiki suggests installing mediawiki/semantic-result-formats (Provides additional result formats for queries of structured data)
Writing lock file
Generating autoload files
22 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

Upgrading c:mediawiki/mediawiki-codesniffer from 37.0.0 -> 38.0.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: 0 installs, 3 updates, 1 removal
  - Removing sebastian/diff (3.0.x-dev)
  - Updating squizlabs/php_codesniffer (3.6.0 => 3.6.1): Loading from cache
  - Updating mediawiki/mediawiki-codesniffer (v37.0.0 => v38.0.0): Loading from cache
  - Updating php-parallel-lint/php-parallel-lint (v1.3.0 => v1.3.1): Loading from cache
Writing lock file
Generating autoload files
21 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

{'MediaWiki.Files.ClassMatchesFilename.NotMatch', 'MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage', 'MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic', 'MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate', 'MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate', 'PSR12.Properties.ConstantVisibility.NotFound', 'MediaWiki.Usage.ExtendClassUsage.FunctionVarUsage', 'MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected'}
Tests fail!
$ git checkout .phpcs.xml

$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files
21 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 --exclude extensions
PHP 7.3.29 | 10 parallel jobs
....................                                         20/20 (100 %)


Checked 20 files in 0.2 seconds
No syntax error found
> phpcs -p -s
.................... 20 / 20 (100%)


Time: 398ms; Memory: 10MB

> 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/tmpd2k7owcb
[master 0907e2c] build: Updating composer dependencies
 1 file changed, 5 insertions(+), 4 deletions(-)

$ git format-patch HEAD~1 --stdout
From 0907e2c60115fbad13928c3d0fbc820675f01b84 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Sat, 20 Nov 2021 03:11:51 +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: 37.0.0 → 38.0.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: I7dc86270cfb0b938ec3170fe8b93116b4bd4c3fb
---
 composer.json | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/composer.json b/composer.json
index a3cfe21..273d8e0 100644
--- a/composer.json
+++ b/composer.json
@@ -26,21 +26,22 @@
 		"mediawiki/semantic-media-wiki": ">=1.7"
 	},
 	"require-dev": {
-		"mediawiki/mediawiki-codesniffer": "37.0.0",
+		"mediawiki/mediawiki-codesniffer": "38.0.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 --exclude extensions",
-			"phpcs -p -s",
+			"@phpcs",
 			"minus-x check ."
 		],
 		"fix": [
 			"minus-x fix .",
 			"phpcbf"
-		]
+		],
+		"phpcs": "phpcs -sp --cache"
 	},
 	"autoload": {
 		"files": [],
-- 
2.20.1

composer dependencies

Dependencies
Development dependencies

npm dependencies

Development dependencies

Logs

Source code is licensed under the AGPL.