build: Updating mediawiki/mediawiki-phan-config to 0.10.4

Change-Id: I0476384b99c41102ddca5928fbb068c45c139d56
This commit is contained in:
libraryupgrader 2020-11-20 09:26:10 +00:00 committed by Daimona Eaytoy
parent dc007663b2
commit da3c9edb26
2 changed files with 2 additions and 4 deletions

View file

@ -1,7 +1,7 @@
{
"require-dev": {
"mediawiki/mediawiki-codesniffer": "33.0.0",
"mediawiki/mediawiki-phan-config": "0.10.3",
"mediawiki/mediawiki-phan-config": "0.10.4",
"mediawiki/minus-x": "1.1.0",
"php-parallel-lint/php-console-highlighter": "0.5.0",
"php-parallel-lint/php-parallel-lint": "1.2.0"

View file

@ -61,9 +61,7 @@ class MathWikibaseConnector {
$entityRevision = $entityRevisionLookup->getEntityRevision( $entityId );
} catch ( EntityIdParsingException $e ) {
throw new InvalidArgumentException( "Invalid Wikibase ID." );
} catch ( RevisionedUnresolvedRedirectException $e ) {
throw new InvalidArgumentException( "Non-existing Wikibase ID." );
} catch ( StorageException $e ) {
} catch ( RevisionedUnresolvedRedirectException | StorageException $e ) {
throw new InvalidArgumentException( "Non-existing Wikibase ID." );
}