build: Updating composer dependencies

* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: Icdd62e1e68c64f0137b11d1aeae5def531abac1d
This commit is contained in:
libraryupgrader 2021-09-10 13:32:31 +00:00 committed by Umherirrender
parent 2cbaa646ac
commit 1a54f2daa8
2 changed files with 6 additions and 4 deletions

View File

@ -34,10 +34,10 @@
},
"require-dev": {
"mediawiki/mediawiki-codesniffer": "37.0.0",
"mediawiki/mediawiki-phan-config": "0.10.6",
"mediawiki/mediawiki-phan-config": "0.11.0",
"mediawiki/minus-x": "1.1.1",
"php-parallel-lint/php-console-highlighter": "0.5.0",
"php-parallel-lint/php-parallel-lint": "1.3.0"
"php-parallel-lint/php-parallel-lint": "1.3.1"
},
"scripts": {
"fix": [
@ -46,9 +46,10 @@
],
"test": [
"parallel-lint . --exclude node_modules --exclude vendor",
"phpcs -p -s",
"@phpcs",
"minus-x check ."
],
"phan": "phan -d . --long-progress-bar"
"phan": "phan -d . --long-progress-bar",
"phpcs": "phpcs -sp --cache"
}
}

View File

@ -226,6 +226,7 @@ final class Constants {
/**
* This class is for namespacing constants only. Forbid construction.
* @throws FatalError
* @return never
*/
private function __construct() {
throw new FatalError( "Cannot construct a utility class." );