diff --git a/composer.json b/composer.json index f558a7d79..605520f92 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ }, "require-dev": { "mediawiki/mediawiki-codesniffer": "38.0.0", - "mediawiki/mediawiki-phan-config": "0.11.0", + "mediawiki/mediawiki-phan-config": "0.11.1", "mediawiki/minus-x": "1.1.1", "php-parallel-lint/php-console-highlighter": "0.5.0", "php-parallel-lint/php-parallel-lint": "1.3.1" diff --git a/includes/FilterValidator.php b/includes/FilterValidator.php index ffd93e834..b2d563c11 100644 --- a/includes/FilterValidator.php +++ b/includes/FilterValidator.php @@ -252,6 +252,7 @@ class FilterValidator { foreach ( $throttleGroups as $group ) { if ( strpos( $group, ',' ) !== false ) { $subGroups = explode( ',', $group ); + // @phan-suppress-next-line PhanPossiblyUndeclaredVariable if ( $subGroups !== array_unique( $subGroups ) ) { $uniqueSubGroups = false; break;