From aeddcd1b963c2e0e0bcb37c8f0f565086d38fba3 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Thu, 4 Mar 2021 11:11:38 +0000
Subject: [PATCH] build: Updating mediawiki/minus-x to 1.1.1
Additional changes:
* Added the "composer phan" command to conveniently run phan.
* Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222).
Change-Id: Ia255d355cec0b457d432d4a600719776254a0ffb
---
.eslintrc.json | 3 ++-
composer.json | 5 +++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/.eslintrc.json b/.eslintrc.json
index 7c24d80..292935a 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -1,6 +1,7 @@
{
"root": true,
"extends": [
- "wikimedia/client"
+ "wikimedia/client",
+ "wikimedia/mediawiki"
]
}
diff --git a/composer.json b/composer.json
index b6b0395..9163a7e 100644
--- a/composer.json
+++ b/composer.json
@@ -1,7 +1,7 @@
{
"require-dev": {
"mediawiki/mediawiki-phan-config": "0.10.6",
- "mediawiki/minus-x": "1.1.0",
+ "mediawiki/minus-x": "1.1.1",
"php-parallel-lint/php-console-highlighter": "0.5.0",
"php-parallel-lint/php-parallel-lint": "1.2.0"
},
@@ -12,6 +12,7 @@
],
"fix": [
"minus-x fix ."
- ]
+ ],
+ "phan": "phan -d . --long-progress-bar"
}
}
--
2.20.1
$ date
Thu Mar 4 11:11:21 UTC 2021
$ git clone file:///srv/git/mediawiki-skins-Splash.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
1c8ad78b2b65883afdc3dc2f5e47692abb9d8aa7 refs/heads/master
$ composer install
Loading composer repositories with package information
Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2 is now available and you should upgrade. See https://getcomposer.org/2
Updating dependencies (including require-dev)
Package operations: 28 installs, 0 updates, 0 removals
- Installing symfony/polyfill-php80 (v1.22.1): Loading from cache
- Installing symfony/polyfill-mbstring (v1.22.1): Loading from cache
- Installing symfony/polyfill-intl-normalizer (v1.22.1): Loading from cache
- Installing symfony/polyfill-intl-grapheme (v1.22.1): Loading from cache
- Installing symfony/polyfill-ctype (v1.22.1): Loading from cache
- Installing symfony/string (v5.2.3): Loading from cache
- Installing psr/container (1.0.0): Loading from cache
- Installing symfony/service-contracts (v2.2.0): Loading from cache
- Installing symfony/polyfill-php73 (v1.22.1): Loading from cache
- Installing symfony/console (v5.2.3): Loading from cache
- Installing psr/log (1.1.3): Loading from cache
- Installing sabre/event (5.1.2): Loading from cache
- Installing netresearch/jsonmapper (v2.1.0): 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.9.1): 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.0): Loading from cache
- Installing composer/xdebug-handler (1.4.5): Loading from cache
- Installing composer/semver (3.2.4): 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.0): 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.2.0): Loading 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
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
11 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Upgrading c:mediawiki/minus-x from 1.1.0 -> 1.1.1
$ composer update
Loading composer repositories with package information
Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2 is now available and you should upgrade. See https://getcomposer.org/2
Updating dependencies (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
- Updating mediawiki/minus-x (1.1.0 => 1.1.1): Loading from cache
Writing lock file
Generating autoload files
11 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
11 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.19 | 10 parallel jobs
... 3/3 (100 %)
Checked 3 files in 0 seconds
No syntax error found
> minus-x check .
MinusX
======
Processing /src/repo...
.............................................................
.............................................................
.............................................................
..........
All good!
$ git add .
$ git commit -F /tmp/tmpgqgt02hr
[master aeddcd1] build: Updating mediawiki/minus-x to 1.1.1
2 files changed, 5 insertions(+), 3 deletions(-)
$ git format-patch HEAD~1 --stdout
From aeddcd1b963c2e0e0bcb37c8f0f565086d38fba3 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Thu, 4 Mar 2021 11:11:38 +0000
Subject: [PATCH] build: Updating mediawiki/minus-x to 1.1.1
Additional changes:
* Added the "composer phan" command to conveniently run phan.
* Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222).
Change-Id: Ia255d355cec0b457d432d4a600719776254a0ffb
---
.eslintrc.json | 3 ++-
composer.json | 5 +++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/.eslintrc.json b/.eslintrc.json
index 7c24d80..292935a 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -1,6 +1,7 @@
{
"root": true,
"extends": [
- "wikimedia/client"
+ "wikimedia/client",
+ "wikimedia/mediawiki"
]
}
diff --git a/composer.json b/composer.json
index b6b0395..9163a7e 100644
--- a/composer.json
+++ b/composer.json
@@ -1,7 +1,7 @@
{
"require-dev": {
"mediawiki/mediawiki-phan-config": "0.10.6",
- "mediawiki/minus-x": "1.1.0",
+ "mediawiki/minus-x": "1.1.1",
"php-parallel-lint/php-console-highlighter": "0.5.0",
"php-parallel-lint/php-parallel-lint": "1.2.0"
},
@@ -12,6 +12,7 @@
],
"fix": [
"minus-x fix ."
- ]
+ ],
+ "phan": "phan -d . --long-progress-bar"
}
}
--
2.20.1
.