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

Change-Id: Ic9ce791f7f206839c170e507dbc0850d734692a4
This commit is contained in:
libraryupgrader 2020-12-20 01:39:15 +00:00 committed by Umherirrender
parent 580d8c1529
commit e623b8e8a0
2 changed files with 2 additions and 1 deletions

View file

@ -1,7 +1,7 @@
{
"require-dev": {
"mediawiki/mediawiki-codesniffer": "34.0.0",
"mediawiki/mediawiki-phan-config": "0.10.5",
"mediawiki/mediawiki-phan-config": "0.10.6",
"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

@ -303,6 +303,7 @@ class SpecialReplaceText extends SpecialPage {
if ( $title == null ) {
continue;
}
// @phan-suppress-next-line SecurityCheck-ReDoS target could be a regex from user
$context = $this->extractContext( $row->old_text, $this->target, $this->use_regex );
$titles_for_edit[] = [ $title, $context ];
}