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:
parent
2cbaa646ac
commit
1a54f2daa8
|
@ -34,10 +34,10 @@
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"mediawiki/mediawiki-codesniffer": "37.0.0",
|
"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",
|
"mediawiki/minus-x": "1.1.1",
|
||||||
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
"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": {
|
"scripts": {
|
||||||
"fix": [
|
"fix": [
|
||||||
|
@ -46,9 +46,10 @@
|
||||||
],
|
],
|
||||||
"test": [
|
"test": [
|
||||||
"parallel-lint . --exclude node_modules --exclude vendor",
|
"parallel-lint . --exclude node_modules --exclude vendor",
|
||||||
"phpcs -p -s",
|
"@phpcs",
|
||||||
"minus-x check ."
|
"minus-x check ."
|
||||||
],
|
],
|
||||||
"phan": "phan -d . --long-progress-bar"
|
"phan": "phan -d . --long-progress-bar",
|
||||||
|
"phpcs": "phpcs -sp --cache"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -226,6 +226,7 @@ final class Constants {
|
||||||
/**
|
/**
|
||||||
* This class is for namespacing constants only. Forbid construction.
|
* This class is for namespacing constants only. Forbid construction.
|
||||||
* @throws FatalError
|
* @throws FatalError
|
||||||
|
* @return never
|
||||||
*/
|
*/
|
||||||
private function __construct() {
|
private function __construct() {
|
||||||
throw new FatalError( "Cannot construct a utility class." );
|
throw new FatalError( "Cannot construct a utility class." );
|
||||||
|
|
Loading…
Reference in a new issue