build: Updating dependencies

composer:
* mediawiki/mediawiki-codesniffer: 41.0.0 → 43.0.0
* php-parallel-lint/php-parallel-lint: 1.3.2 → 1.4.0

npm:
* eslint-config-wikimedia: 0.25.0 → 0.27.0
* grunt-banana-checker: 0.10.0 → 0.11.1
* grunt-eslint: 24.0.1 → 24.3.0

Change-Id: Iee9ef20b4984ad7459d77cc77c59394667954370
This commit is contained in:
libraryupgrader 2024-04-22 02:10:18 +00:00
parent 645c945994
commit 548a1f177c
4 changed files with 1487 additions and 1030 deletions

View file

@ -1,9 +1,9 @@
{ {
"require-dev": { "require-dev": {
"mediawiki/mediawiki-codesniffer": "41.0.0", "mediawiki/mediawiki-codesniffer": "43.0.0",
"mediawiki/minus-x": "1.1.1", "mediawiki/minus-x": "1.1.1",
"php-parallel-lint/php-console-highlighter": "1.0.0", "php-parallel-lint/php-console-highlighter": "1.0.0",
"php-parallel-lint/php-parallel-lint": "1.3.2" "php-parallel-lint/php-parallel-lint": "1.4.0"
}, },
"scripts": { "scripts": {
"fix": [ "fix": [
@ -16,5 +16,10 @@
"minus-x check ." "minus-x check ."
], ],
"phpcs": "phpcs -sp --cache" "phpcs": "phpcs -sp --cache"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
} }
} }

2504
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -5,9 +5,9 @@
"test": "grunt test" "test": "grunt test"
}, },
"devDependencies": { "devDependencies": {
"eslint-config-wikimedia": "0.25.0", "eslint-config-wikimedia": "0.27.0",
"grunt": "1.6.1", "grunt": "1.6.1",
"grunt-banana-checker": "0.10.0", "grunt-banana-checker": "0.11.1",
"grunt-eslint": "24.0.1" "grunt-eslint": "24.3.0"
} }
} }

View file

@ -391,7 +391,7 @@ class ContributionScores extends IncludableSpecialPage {
$out->addWikiMsg( 'contributionscores-info' ); $out->addWikiMsg( 'contributionscores-info' );
foreach ( $wgContribScoreReports as $scoreReport ) { foreach ( $wgContribScoreReports as $scoreReport ) {
list( $days, $revs ) = $scoreReport; [ $days, $revs ] = $scoreReport;
if ( $days > 0 ) { if ( $days > 0 ) {
$reportTitle = $this->msg( 'contributionscores-days' )->numParams( $days )->text(); $reportTitle = $this->msg( 'contributionscores-days' )->numParams( $days )->text();
} else { } else {