From e5cb2df0741d4263fe6d4d50fed3f27eb1703d0c Mon Sep 17 00:00:00 2001 From: libraryupgrader Date: Wed, 8 Sep 2021 21:34:56 +0000 Subject: [PATCH] build: Updating composer dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- composer.json | 4 ++-- includes/api/ApiTemplateData.php | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 8554378b..59466203 100644 --- a/composer.json +++ b/composer.json @@ -1,10 +1,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": { "test": [ diff --git a/includes/api/ApiTemplateData.php b/includes/api/ApiTemplateData.php index aa4c929f..0ef6eb2f 100644 --- a/includes/api/ApiTemplateData.php +++ b/includes/api/ApiTemplateData.php @@ -60,7 +60,6 @@ class ApiTemplateData extends ApiBase { $langCode = false; } elseif ( !$services->getLanguageNameUtils()->isValidCode( $params['lang'] ) ) { $this->dieWithError( [ 'apierror-invalidlang', 'lang' ] ); - throw new LogicException(); } else { $langCode = $params['lang']; }