build: Updating dependencies

composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1

Additional changes:
* Added the "composer phan" command to conveniently run phan.

Change-Id: I2e27a8ae5547829501c25402da5b72b390897ca1
This commit is contained in:
libraryupgrader 2021-01-29 04:06:56 +00:00
parent f9d63d51a1
commit be7f1b3bd7
60 changed files with 675 additions and 538 deletions

View file

@ -1,8 +1,8 @@
{
"require-dev": {
"mediawiki/mediawiki-codesniffer": "34.0.0",
"mediawiki/mediawiki-codesniffer": "35.0.0",
"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"
},
@ -15,6 +15,7 @@
"fix": [
"minus-x fix .",
"phpcbf"
]
],
"phan": "phan -d . --long-progress-bar"
}
}

1040
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -14,7 +14,7 @@
"@wdio/mocha-framework": "6.1.14",
"@wdio/spec-reporter": "6.1.14",
"@wdio/sync": "6.1.14",
"eslint-config-wikimedia": "0.17.0",
"eslint-config-wikimedia": "0.18.1",
"grunt": "1.3.0",
"grunt-banana-checker": "0.9.0",
"grunt-eslint": "23.0.0",

View file

@ -50,7 +50,7 @@ class ReferenceStackTest extends \MediaWikiUnitTestCase {
...$refs[$i]
);
$this->assertTrue( array_key_exists( $i, $expectedOutputs ),
$this->assertArrayHasKey( $i, $expectedOutputs,
'Bad test, not enough expected outputs in fixture.' );
$this->assertSame( $expectedOutputs[$i], $result );
}