build: Upgrade mediawiki-phan-config to 0.11.1

Somehow LibUp-Bot is not doing this. The last run for Abusefilter was a
month ago.

Change-Id: Id9ee5a73f403d8391937d699727470cb78e959aa
This commit is contained in:
Alexander Vorwerk 2021-12-05 02:32:07 +01:00 committed by Zabe
parent 3cb985ad7e
commit e0b781e32e
2 changed files with 2 additions and 1 deletions

View file

@ -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"

View file

@ -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;