diff --git a/composer.json b/composer.json index 45aa8aaea..ea3433915 100644 --- a/composer.json +++ b/composer.json @@ -3,8 +3,8 @@ "jakub-onderka/php-console-highlighter": "0.4.0", "jakub-onderka/php-parallel-lint": "1.0.0", "mediawiki/mediawiki-codesniffer": "29.0.0", - "mediawiki/mediawiki-phan-config": "0.9.0", - "mediawiki/minus-x": "0.3.2" + "mediawiki/mediawiki-phan-config": "0.9.1", + "mediawiki/minus-x": "1.0.0" }, "scripts": { "test": [ diff --git a/src/ReferenceStack.php b/src/ReferenceStack.php index 4e21ca4c6..ba89101b1 100644 --- a/src/ReferenceStack.php +++ b/src/ReferenceStack.php @@ -106,6 +106,7 @@ class ReferenceStack { * @param ?string $dir ref direction * * @return ?array ref structure, or null if nothing was pushed + * @suppress PhanTypePossiblyInvalidDimOffset To many complaints about array indizes */ public function pushRef( Parser $parser, @@ -233,7 +234,6 @@ class ReferenceStack { } } - // @phan-suppress-next-line PhanTypePossiblyInvalidDimOffset "key" is guaranteed to be set $this->refCallStack[] = [ $action, $ref['key'], $group, $name, $extends, $text, $argv ]; return $ref; }