build: Updating dependencies

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

npm:
* stylelint-config-wikimedia: 0.10.3 → 0.11.1

Change-Id: I82e56565364f0502b0e70fe7414057ae876c0b98
This commit is contained in:
libraryupgrader 2021-09-09 22:24:04 +00:00 committed by jenkins-bot
parent 1a24ade06c
commit 5c63190944
6 changed files with 539 additions and 756 deletions

View file

@ -2,10 +2,10 @@
"require-dev": {
"mediawiki/lua-sandbox": "3.0.1",
"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"
},
"repositories": [
{

View file

@ -175,6 +175,7 @@ abstract class ScribuntoEngineBase {
$this->modules[$finalKey] = $this->newModule( $text, $finalKey );
}
// Almost certainly $key === $finalKey, but just in case...
// @phan-suppress-next-line PhanTypeMismatchProperty
$this->modules[$key] = $this->modules[$finalKey];
}
return $this->modules[$key];

View file

@ -78,6 +78,7 @@ abstract class Scribunto_LuaEngine extends ScribuntoEngineBase {
unset( $options['factory'] );
// @phan-suppress-next-line PhanTypeMismatchReturnSuperType
return Scribunto::newEngine( $options + $wgScribuntoEngineConf[$engine] );
}

View file

@ -394,6 +394,7 @@ class Scribunto_LuaStandaloneInterpreter extends Scribunto_LuaInterpreter {
* Converts the encoded Lua error to an appropriate exception and throws it.
*
* @param array $message
* @return never
*/
protected function handleError( $message ) {
$opts = [];
@ -427,7 +428,7 @@ class Scribunto_LuaStandaloneInterpreter extends Scribunto_LuaInterpreter {
break;
case 'error':
$this->handleError( $msgFromLua );
return [];
// handleError prevents continuation
default:
$this->logger->error( __METHOD__ . ": invalid response op \"{$msgFromLua['op']}\"" );
throw $this->engine->newException( 'scribunto-luastandalone-decode-error' );

1276
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -9,6 +9,6 @@
"grunt-banana-checker": "0.9.0",
"grunt-eslint": "23.0.0",
"grunt-stylelint": "0.16.0",
"stylelint-config-wikimedia": "0.10.3"
"stylelint-config-wikimedia": "0.11.1"
}
}