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

Change-Id: I759468d63803b310d5385af517589e70db75c62c
This commit is contained in:
libraryupgrader 2021-09-08 21:34:56 +00:00 committed by Daimona Eaytoy
parent d253fa4e28
commit e5cb2df074
2 changed files with 2 additions and 3 deletions

View file

@ -1,10 +1,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": {
"test": [ "test": [

View file

@ -60,7 +60,6 @@ class ApiTemplateData extends ApiBase {
$langCode = false; $langCode = false;
} elseif ( !$services->getLanguageNameUtils()->isValidCode( $params['lang'] ) ) { } elseif ( !$services->getLanguageNameUtils()->isValidCode( $params['lang'] ) ) {
$this->dieWithError( [ 'apierror-invalidlang', 'lang' ] ); $this->dieWithError( [ 'apierror-invalidlang', 'lang' ] );
throw new LogicException();
} else { } else {
$langCode = $params['lang']; $langCode = $params['lang'];
} }