mediawiki/extensions/BlueSpiceFlaggedRevsConnector: main (log #948023)

sourcepatches

This run took 32 seconds.

From 8848aec5d89c1d8d6461528d58dede3f2d8b7c73 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Sun, 12 Mar 2023 20:13:11 +0000
Subject: [PATCH] build: Updating dependencies
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

composer:
* mediawiki/mediawiki-codesniffer: 39.0.0 → 41.0.0

npm:
* grunt-stylelint: 0.17.0 → 0.18.0

Change-Id: I256b8d78fe596f551789182f745f507c1cb07953
---
 composer.json                         |  2 +-
 includes/FRCInfobox.class.php         |  3 +--
 includes/FRCPageAssignments.class.php |  1 -
 package-lock.json                     | 20 ++++++++++----------
 package.json                          |  2 +-
 5 files changed, 13 insertions(+), 15 deletions(-)

diff --git a/composer.json b/composer.json
index dd6f3cc..28064f5 100644
--- a/composer.json
+++ b/composer.json
@@ -12,7 +12,7 @@
 		}
 	},
 	"require-dev": {
-		"mediawiki/mediawiki-codesniffer": "39.0.0",
+		"mediawiki/mediawiki-codesniffer": "41.0.0",
 		"mediawiki/minus-x": "1.1.1",
 		"php-parallel-lint/php-console-highlighter": "1.0.0",
 		"php-parallel-lint/php-parallel-lint": "1.3.2"
diff --git a/includes/FRCInfobox.class.php b/includes/FRCInfobox.class.php
index 02227d9..841226e 100644
--- a/includes/FRCInfobox.class.php
+++ b/includes/FRCInfobox.class.php
@@ -114,8 +114,7 @@ class FRCInfobox {
 			$aNamespaceIds = BsNamespaceHelper::getNamespaceIdsFromAmbiguousCSVString( $args['namespaces'] );
 			$aConditions[] = '(SELECT page_namespace FROM ' . $dbr->tableName( 'page' )
 				. ' WHERE page_id = fr_page_id) IN (' . implode( ',', $aNamespaceIds ) . ')';
-		}
-		catch ( BsInvalidNamespaceException $ex ) {
+		} catch ( BsInvalidNamespaceException $ex ) {
 			$sInvalidNamespaces = implode( ', ', $ex->getListOfInvalidNamespaces() );
 			$oErrorListView->addItem( new ViewTagError(
 				wfMessage(
diff --git a/includes/FRCPageAssignments.class.php b/includes/FRCPageAssignments.class.php
index 3a0aa06..cc51dd0 100644
--- a/includes/FRCPageAssignments.class.php
+++ b/includes/FRCPageAssignments.class.php
@@ -1,7 +1,6 @@
 <?php
 
 use BlueSpice\FlaggedRevsConnector\Notifications\PageReview;
-
 use MediaWiki\MediaWikiServices;
 
 // phpcs:ignore MediaWiki.Files.ClassMatchesFilename.NotMatch
diff --git a/package-lock.json b/package-lock.json
index cc013cc..ddfb286 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -10,7 +10,7 @@
 				"grunt": "1.5.3",
 				"grunt-banana-checker": "0.10.0",
 				"grunt-eslint": "24.0.0",
-				"grunt-stylelint": "0.17.0",
+				"grunt-stylelint": "0.18.0",
 				"stylelint-config-wikimedia": "0.13.0"
 			}
 		},
@@ -2269,18 +2269,18 @@
 			}
 		},
 		"node_modules/grunt-stylelint": {
-			"version": "0.17.0",
-			"resolved": "https://registry.npmjs.org/grunt-stylelint/-/grunt-stylelint-0.17.0.tgz",
-			"integrity": "sha512-aVpqPO7h98haGRZKnj9nkMTMGjzmVQWyN/FNB/qkbcVG6pguZ48yZi8YO+ULynzNK9YFqWhWBFgAs71m7ZpK+A==",
+			"version": "0.18.0",
+			"resolved": "https://registry.npmjs.org/grunt-stylelint/-/grunt-stylelint-0.18.0.tgz",
+			"integrity": "sha512-Ks5OfRUCA6E1v5PkCQKYaMErHtoec/Ub0Vb1xvZ0CKm/1zzWKuqEu2ZVtFcQVDqrC5UM6AXaLHpsLiocVKAgbg==",
 			"dev": true,
 			"dependencies": {
-				"chalk": "^4.1.0"
+				"chalk": "^4.1.2"
 			},
 			"engines": {
 				"node": ">=12"
 			},
 			"peerDependencies": {
-				"stylelint": "^14.0.0"
+				"stylelint": "14.x"
 			}
 		},
 		"node_modules/hard-rejection": {
@@ -6358,12 +6358,12 @@
 			}
 		},
 		"grunt-stylelint": {
-			"version": "0.17.0",
-			"resolved": "https://registry.npmjs.org/grunt-stylelint/-/grunt-stylelint-0.17.0.tgz",
-			"integrity": "sha512-aVpqPO7h98haGRZKnj9nkMTMGjzmVQWyN/FNB/qkbcVG6pguZ48yZi8YO+ULynzNK9YFqWhWBFgAs71m7ZpK+A==",
+			"version": "0.18.0",
+			"resolved": "https://registry.npmjs.org/grunt-stylelint/-/grunt-stylelint-0.18.0.tgz",
+			"integrity": "sha512-Ks5OfRUCA6E1v5PkCQKYaMErHtoec/Ub0Vb1xvZ0CKm/1zzWKuqEu2ZVtFcQVDqrC5UM6AXaLHpsLiocVKAgbg==",
 			"dev": true,
 			"requires": {
-				"chalk": "^4.1.0"
+				"chalk": "^4.1.2"
 			}
 		},
 		"hard-rejection": {
diff --git a/package.json b/package.json
index 7857191..b71c6f0 100644
--- a/package.json
+++ b/package.json
@@ -9,7 +9,7 @@
 		"grunt": "1.5.3",
 		"grunt-banana-checker": "0.10.0",
 		"grunt-eslint": "24.0.0",
-		"grunt-stylelint": "0.17.0",
+		"grunt-stylelint": "0.18.0",
 		"stylelint-config-wikimedia": "0.13.0"
 	}
 }
-- 
2.30.2

$ date
--- stdout ---
Sun Mar 12 20:12:45 UTC 2023

--- end ---
$ git clone file:///srv/git/mediawiki-extensions-BlueSpiceFlaggedRevsConnector.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 ---
dd2c9029a8bf512a2d559167c23baa3bad0f5db7 refs/heads/master

--- end ---
$ /usr/bin/npm audit --json --legacy-peer-deps
--- stdout ---
{
  "auditReportVersion": 2,
  "vulnerabilities": {},
  "metadata": {
    "vulnerabilities": {
      "info": 0,
      "low": 0,
      "moderate": 0,
      "high": 0,
      "critical": 0,
      "total": 0
    },
    "dependencies": {
      "prod": 1,
      "dev": 411,
      "optional": 0,
      "peer": 0,
      "peerOptional": 0,
      "total": 411
    }
  }
}

--- end ---
$ /usr/bin/composer install
--- stderr ---
No lock file found. Updating dependencies instead of installing from lock file. Use composer update over composer install if you do not have a lock file.
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Lock file operations: 20 installs, 0 updates, 0 removals
  - Locking composer/installers (v2.2.0)
  - Locking composer/semver (3.3.2)
  - Locking composer/spdx-licenses (1.5.7)
  - Locking mediawiki/mediawiki-codesniffer (v39.0.0)
  - Locking mediawiki/minus-x (1.1.1)
  - Locking php-parallel-lint/php-console-color (v1.0.1)
  - Locking php-parallel-lint/php-console-highlighter (v1.0.0)
  - Locking php-parallel-lint/php-parallel-lint (v1.3.2)
  - Locking psr/container (1.1.2)
  - Locking squizlabs/php_codesniffer (3.6.2)
  - Locking symfony/console (v5.4.21)
  - Locking symfony/deprecation-contracts (v2.5.2)
  - Locking symfony/polyfill-ctype (v1.27.0)
  - Locking symfony/polyfill-intl-grapheme (v1.27.0)
  - Locking symfony/polyfill-intl-normalizer (v1.27.0)
  - Locking symfony/polyfill-mbstring (v1.27.0)
  - Locking symfony/polyfill-php73 (v1.27.0)
  - Locking symfony/polyfill-php80 (v1.27.0)
  - Locking symfony/service-contracts (v2.5.2)
  - Locking symfony/string (v5.4.21)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 20 installs, 0 updates, 0 removals
    0 [>---------------------------]    0 [->--------------------------]    0 [--->------------------------]  - Installing composer/installers (v2.2.0): Extracting archive
  - Installing squizlabs/php_codesniffer (3.6.2): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.27.0): Extracting archive
  - Installing composer/spdx-licenses (1.5.7): Extracting archive
  - Installing composer/semver (3.3.2): Extracting archive
  - Installing mediawiki/mediawiki-codesniffer (v39.0.0): Extracting archive
  - Installing symfony/polyfill-php80 (v1.27.0): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.27.0): Extracting archive
  - Installing symfony/polyfill-intl-grapheme (v1.27.0): Extracting archive
  - Installing symfony/polyfill-ctype (v1.27.0): Extracting archive
  - Installing symfony/string (v5.4.21): Extracting archive
  - Installing symfony/deprecation-contracts (v2.5.2): Extracting archive
  - Installing psr/container (1.1.2): Extracting archive
  - Installing symfony/service-contracts (v2.5.2): Extracting archive
  - Installing symfony/polyfill-php73 (v1.27.0): Extracting archive
  - Installing symfony/console (v5.4.21): Extracting archive
  - Installing mediawiki/minus-x (1.1.1): Extracting archive
  - Installing php-parallel-lint/php-console-color (v1.0.1): Extracting archive
  - Installing php-parallel-lint/php-console-highlighter (v1.0.0): Extracting archive
  - Installing php-parallel-lint/php-parallel-lint (v1.3.2): Extracting archive
  0/10 [>---------------------------]   0%
 10/10 [============================] 100%5 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
13 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
--- stdout ---

--- end ---
Upgrading n:grunt-stylelint from 0.17.0 -> 0.18.0
$ /usr/bin/npm install
--- stdout ---

added 411 packages, and audited 412 packages in 4s

40 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

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

--- end ---
$ /usr/bin/npm ci --legacy-peer-deps
--- stdout ---

added 411 packages, and audited 412 packages in 4s

40 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

--- end ---
$ /usr/bin/npm test
--- stdout ---

> test
> grunt test

Running "stylelint:all" (stylelint) task
>> Linted 5 files without errors

Running "eslint:src" (eslint) task

/src/repo/resources/BS.FlaggedRevsConnector/dialog/Review.js
  0:0  warning  File ignored because of a matching ignore pattern. Use "--no-ignore" to override

/src/repo/resources/BS.FlaggedRevsConnector/flyout/Base.js
  0:0  warning  File ignored because of a matching ignore pattern. Use "--no-ignore" to override

/src/repo/resources/BS.FlaggedRevsConnector/grid/FlaggedPages.js
  0:0  warning  File ignored because of a matching ignore pattern. Use "--no-ignore" to override

/src/repo/resources/bluespice.flaggedRevsConnector.js
  0:0  warning  File ignored because of a matching ignore pattern. Use "--no-ignore" to override

/src/repo/resources/bluespice.flaggedRevsConnector.pageassignmentintegration.js
  0:0  warning  File ignored because of a matching ignore pattern. Use "--no-ignore" to override

/src/repo/resources/bluespice.flaggedrevsconnector.alert.js
  0:0  warning  File ignored because of a matching ignore pattern. Use "--no-ignore" to override

✖ 6 problems (0 errors, 6 warnings)


Running "banana:BlueSpiceFlaggedRevsConnector" (banana) task
>> 1 message directory checked.

Running "banana:FRCFlaggedRevs" (banana) task
>> 1 message directory checked.

Done.

--- end ---
Upgrading c:mediawiki/mediawiki-codesniffer from 39.0.0 -> 41.0.0
$ /usr/bin/composer update
--- stderr ---
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Lock file operations: 0 installs, 2 updates, 0 removals
  - Upgrading mediawiki/mediawiki-codesniffer (v39.0.0 => v41.0.0)
  - Upgrading squizlabs/php_codesniffer (3.6.2 => 3.7.2)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 2 updates, 0 removals
    0 [>---------------------------]    0 [->--------------------------]    0 [--->------------------------]  - Upgrading squizlabs/php_codesniffer (3.6.2 => 3.7.2): Extracting archive
  - Upgrading mediawiki/mediawiki-codesniffer (v39.0.0 => v41.0.0): Extracting archive
 0/2 [>---------------------------]   0%
 1/2 [==============>-------------]  50%
 2/2 [============================] 100%Generating autoload files
13 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
--- stdout ---

--- end ---
{'MediaWiki.Commenting.FunctionComment.ObjectTypeHintParam', 'MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic', 'MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected', 'MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName'}
Tests fail!
$ vendor/bin/phpcbf
--- stdout ---

PHPCBF RESULT SUMMARY
----------------------------------------------------------------------
FILE                                                  FIXED  REMAINING
----------------------------------------------------------------------
/src/repo/includes/FRCPageAssignments.class.php       1      0
/src/repo/includes/FRCInfobox.class.php               1      3
----------------------------------------------------------------------
A TOTAL OF 2 ERRORS WERE FIXED IN 2 FILES
----------------------------------------------------------------------

Time: 841ms; Memory: 12MB



--- end ---
$ 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
13 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 --exclude node_modules
> minus-x check .
> phpcs -sp --cache
--- stdout ---
PHP 7.4.33 | 10 parallel jobs
............................................................ 60/88 (68 %)
............................                                 88/88 (100 %)


Checked 88 files in 0.3 seconds
No syntax error found
MinusX
======
Processing /src/repo...
.............................................................
.............................................................
.............................................................
............
All good!
............................................................ 60 / 88 (68%)
............................                                 88 / 88 (100%)


Time: 72ms; Memory: 10MB


--- end ---
$ /usr/bin/npm audit --json --legacy-peer-deps
--- stdout ---
{
  "auditReportVersion": 2,
  "vulnerabilities": {},
  "metadata": {
    "vulnerabilities": {
      "info": 0,
      "low": 0,
      "moderate": 0,
      "high": 0,
      "critical": 0,
      "total": 0
    },
    "dependencies": {
      "prod": 1,
      "dev": 411,
      "optional": 0,
      "peer": 0,
      "peerOptional": 0,
      "total": 411
    }
  }
}

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

--- end ---
build: Updating dependencies

composer:
* mediawiki/mediawiki-codesniffer: 39.0.0 → 41.0.0

npm:
* grunt-stylelint: 0.17.0 → 0.18.0


$ git add .
--- stdout ---

--- end ---
$ git commit -F /tmp/tmpyxufozaf
--- stdout ---
[master 8848aec] build: Updating dependencies
 5 files changed, 13 insertions(+), 15 deletions(-)

--- end ---
$ git format-patch HEAD~1 --stdout
--- stdout ---
From 8848aec5d89c1d8d6461528d58dede3f2d8b7c73 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Sun, 12 Mar 2023 20:13:11 +0000
Subject: [PATCH] build: Updating dependencies
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

composer:
* mediawiki/mediawiki-codesniffer: 39.0.0 → 41.0.0

npm:
* grunt-stylelint: 0.17.0 → 0.18.0

Change-Id: I256b8d78fe596f551789182f745f507c1cb07953
---
 composer.json                         |  2 +-
 includes/FRCInfobox.class.php         |  3 +--
 includes/FRCPageAssignments.class.php |  1 -
 package-lock.json                     | 20 ++++++++++----------
 package.json                          |  2 +-
 5 files changed, 13 insertions(+), 15 deletions(-)

diff --git a/composer.json b/composer.json
index dd6f3cc..28064f5 100644
--- a/composer.json
+++ b/composer.json
@@ -12,7 +12,7 @@
 		}
 	},
 	"require-dev": {
-		"mediawiki/mediawiki-codesniffer": "39.0.0",
+		"mediawiki/mediawiki-codesniffer": "41.0.0",
 		"mediawiki/minus-x": "1.1.1",
 		"php-parallel-lint/php-console-highlighter": "1.0.0",
 		"php-parallel-lint/php-parallel-lint": "1.3.2"
diff --git a/includes/FRCInfobox.class.php b/includes/FRCInfobox.class.php
index 02227d9..841226e 100644
--- a/includes/FRCInfobox.class.php
+++ b/includes/FRCInfobox.class.php
@@ -114,8 +114,7 @@ class FRCInfobox {
 			$aNamespaceIds = BsNamespaceHelper::getNamespaceIdsFromAmbiguousCSVString( $args['namespaces'] );
 			$aConditions[] = '(SELECT page_namespace FROM ' . $dbr->tableName( 'page' )
 				. ' WHERE page_id = fr_page_id) IN (' . implode( ',', $aNamespaceIds ) . ')';
-		}
-		catch ( BsInvalidNamespaceException $ex ) {
+		} catch ( BsInvalidNamespaceException $ex ) {
 			$sInvalidNamespaces = implode( ', ', $ex->getListOfInvalidNamespaces() );
 			$oErrorListView->addItem( new ViewTagError(
 				wfMessage(
diff --git a/includes/FRCPageAssignments.class.php b/includes/FRCPageAssignments.class.php
index 3a0aa06..cc51dd0 100644
--- a/includes/FRCPageAssignments.class.php
+++ b/includes/FRCPageAssignments.class.php
@@ -1,7 +1,6 @@
 <?php
 
 use BlueSpice\FlaggedRevsConnector\Notifications\PageReview;
-
 use MediaWiki\MediaWikiServices;
 
 // phpcs:ignore MediaWiki.Files.ClassMatchesFilename.NotMatch
diff --git a/package-lock.json b/package-lock.json
index cc013cc..ddfb286 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -10,7 +10,7 @@
 				"grunt": "1.5.3",
 				"grunt-banana-checker": "0.10.0",
 				"grunt-eslint": "24.0.0",
-				"grunt-stylelint": "0.17.0",
+				"grunt-stylelint": "0.18.0",
 				"stylelint-config-wikimedia": "0.13.0"
 			}
 		},
@@ -2269,18 +2269,18 @@
 			}
 		},
 		"node_modules/grunt-stylelint": {
-			"version": "0.17.0",
-			"resolved": "https://registry.npmjs.org/grunt-stylelint/-/grunt-stylelint-0.17.0.tgz",
-			"integrity": "sha512-aVpqPO7h98haGRZKnj9nkMTMGjzmVQWyN/FNB/qkbcVG6pguZ48yZi8YO+ULynzNK9YFqWhWBFgAs71m7ZpK+A==",
+			"version": "0.18.0",
+			"resolved": "https://registry.npmjs.org/grunt-stylelint/-/grunt-stylelint-0.18.0.tgz",
+			"integrity": "sha512-Ks5OfRUCA6E1v5PkCQKYaMErHtoec/Ub0Vb1xvZ0CKm/1zzWKuqEu2ZVtFcQVDqrC5UM6AXaLHpsLiocVKAgbg==",
 			"dev": true,
 			"dependencies": {
-				"chalk": "^4.1.0"
+				"chalk": "^4.1.2"
 			},
 			"engines": {
 				"node": ">=12"
 			},
 			"peerDependencies": {
-				"stylelint": "^14.0.0"
+				"stylelint": "14.x"
 			}
 		},
 		"node_modules/hard-rejection": {
@@ -6358,12 +6358,12 @@
 			}
 		},
 		"grunt-stylelint": {
-			"version": "0.17.0",
-			"resolved": "https://registry.npmjs.org/grunt-stylelint/-/grunt-stylelint-0.17.0.tgz",
-			"integrity": "sha512-aVpqPO7h98haGRZKnj9nkMTMGjzmVQWyN/FNB/qkbcVG6pguZ48yZi8YO+ULynzNK9YFqWhWBFgAs71m7ZpK+A==",
+			"version": "0.18.0",
+			"resolved": "https://registry.npmjs.org/grunt-stylelint/-/grunt-stylelint-0.18.0.tgz",
+			"integrity": "sha512-Ks5OfRUCA6E1v5PkCQKYaMErHtoec/Ub0Vb1xvZ0CKm/1zzWKuqEu2ZVtFcQVDqrC5UM6AXaLHpsLiocVKAgbg==",
 			"dev": true,
 			"requires": {
-				"chalk": "^4.1.0"
+				"chalk": "^4.1.2"
 			}
 		},
 		"hard-rejection": {
diff --git a/package.json b/package.json
index 7857191..b71c6f0 100644
--- a/package.json
+++ b/package.json
@@ -9,7 +9,7 @@
 		"grunt": "1.5.3",
 		"grunt-banana-checker": "0.10.0",
 		"grunt-eslint": "24.0.0",
-		"grunt-stylelint": "0.17.0",
+		"grunt-stylelint": "0.18.0",
 		"stylelint-config-wikimedia": "0.13.0"
 	}
 }
-- 
2.30.2


--- end ---
Source code is licensed under the AGPL.