From bc26c2d3fe9eeb3e0fcd482bd96c2849cf88117f Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Thu, 4 Mar 2021 18:15:44 +0000
Subject: [PATCH] build: Updating mediawiki/minus-x to 1.1.1
Additional changes:
* Dropped .php5 and .inc files from .phpcs.xml (T200956).
* Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222).
Change-Id: Ia3b73345e02ebf0d6399da1d0fc2c3617931f8ea
---
.eslintrc.json | 3 ++-
.phpcs.xml | 2 +-
composer.json | 2 +-
3 files changed, 4 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/.phpcs.xml b/.phpcs.xml
index 3c69313..b915cf8 100644
--- a/.phpcs.xml
+++ b/.phpcs.xml
@@ -2,6 +2,6 @@
<ruleset>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki" />
<file>.</file>
- <arg name="extensions" value="php,php5,inc"/>
+ <arg name="extensions" value="php"/>
<arg name="encoding" value="UTF-8"/>
</ruleset>
diff --git a/composer.json b/composer.json
index c41aa6d..1ad1afa 100644
--- a/composer.json
+++ b/composer.json
@@ -1,7 +1,7 @@
{
"require-dev": {
"mediawiki/mediawiki-codesniffer": "35.0.0",
- "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"
},
--
2.20.1
$ date
Thu Mar 4 18:15:16 UTC 2021
$ git clone file:///srv/git/mediawiki-extensions-AutoCreateCategoryPages.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
28db01ebf85c5f94aad8bdb2aa66c8cad2461745 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: 18 installs, 0 updates, 0 removals
- Installing squizlabs/php_codesniffer (3.5.8): Loading from cache
- Installing composer/spdx-licenses (1.5.5): Loading from cache
- Installing composer/semver (3.2.4): Loading from cache
- Installing mediawiki/mediawiki-codesniffer (v35.0.0): Loading from cache
- 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.4): Downloading (connecting...)Downloading (0%) Downloading (10%)Downloading (20%)Downloading (30%)Downloading (85%)Downloading (95%)Downloading (100%)
- 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.4): Downloading (connecting...)Downloading (0%) Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
- 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
symfony/console suggests installing psr/log (For using the console logger)
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
.. 2/2 (100 %)
Checked 2 files in 0 seconds
No syntax error found
> minus-x check .
MinusX
======
Processing /src/repo...
.............................................................
..........................................
All good!
> phpcs -sp
.. 2 / 2 (100%)
Time: 281ms; Memory: 8MB
$ git add .
$ git commit -F /tmp/tmpgwtc5ukw
[master bc26c2d] build: Updating mediawiki/minus-x to 1.1.1
3 files changed, 4 insertions(+), 3 deletions(-)
$ git format-patch HEAD~1 --stdout
From bc26c2d3fe9eeb3e0fcd482bd96c2849cf88117f Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Thu, 4 Mar 2021 18:15:44 +0000
Subject: [PATCH] build: Updating mediawiki/minus-x to 1.1.1
Additional changes:
* Dropped .php5 and .inc files from .phpcs.xml (T200956).
* Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222).
Change-Id: Ia3b73345e02ebf0d6399da1d0fc2c3617931f8ea
---
.eslintrc.json | 3 ++-
.phpcs.xml | 2 +-
composer.json | 2 +-
3 files changed, 4 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/.phpcs.xml b/.phpcs.xml
index 3c69313..b915cf8 100644
--- a/.phpcs.xml
+++ b/.phpcs.xml
@@ -2,6 +2,6 @@
<ruleset>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki" />
<file>.</file>
- <arg name="extensions" value="php,php5,inc"/>
+ <arg name="extensions" value="php"/>
<arg name="encoding" value="UTF-8"/>
</ruleset>
diff --git a/composer.json b/composer.json
index c41aa6d..1ad1afa 100644
--- a/composer.json
+++ b/composer.json
@@ -1,7 +1,7 @@
{
"require-dev": {
"mediawiki/mediawiki-codesniffer": "35.0.0",
- "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"
},
--
2.20.1
.