build: Updating composer dependencies

* mediawiki/minus-x: 0.3.2 → 1.0.0
* mediawiki/mediawiki-phan-config: 0.9.0 → 0.9.1

Change-Id: I119f4d56cce674302f34e938e598e6cc6bf28dc0
This commit is contained in:
libraryupgrader 2020-01-28 17:43:26 +00:00 committed by Daimona Eaytoy
parent b497bcf337
commit a14ec744f7
6 changed files with 7 additions and 3 deletions

View file

@ -12,8 +12,8 @@
"jakub-onderka/php-parallel-lint": "1.0.0",
"mediawiki/mediawiki-codesniffer": "29.0.0",
"jakub-onderka/php-console-highlighter": "0.4.0",
"mediawiki/minus-x": "0.3.2",
"mediawiki/mediawiki-phan-config": "0.9.0"
"mediawiki/minus-x": "1.0.0",
"mediawiki/mediawiki-phan-config": "0.9.1"
},
"scripts": {
"fix": [

View file

@ -773,6 +773,7 @@ class AbuseFilterRunner {
$this->user->getName(),
$maxExpiry,
true,
// @phan-suppress-next-line PhanTypeMismatchArgumentNullable
$blockValues[2]
);
$message = [
@ -782,6 +783,7 @@ class AbuseFilterRunner {
];
// Manually add the message. If we're here, there is one.
$messages[] = $message;
// @phan-suppress-next-line PhanTypeMismatchDimAssignment
$actionsTaken[$blockValues[1]][] = 'block';
}

View file

@ -468,6 +468,7 @@ class AbuseFilterViewEdit extends AbuseFilterView {
$out->addHTML( $form );
if ( $history_id ) {
// @phan-suppress-next-line PhanPossiblyUndeclaredVariable
$out->addWikiMsg( $oldWarningMessage, $history_id, $filter );
}
}

View file

@ -181,7 +181,6 @@ class AFPData {
* only returns a boolean, and thus the type of the result has already been decided and cannot
* be changed to be a DUNDEFINED from here.
* @internal
* @suppress PhanSuspiciousValueComparison Lots of false positives for self::DARRAY
*/
public function equals( AFPData $d2, $strict = false ) {
if ( $this->type === self::DUNDEFINED || $d2->type === self::DUNDEFINED ) {

View file

@ -731,6 +731,7 @@ class AFPTreeParser extends AFPTransitionBase {
}
$this->move();
// @phan-suppress-next-next-line PhanPossiblyUndeclaredVariable
// @phan-suppress-next-line PhanTypeMismatchReturnNullable Until phan can understand the switch
return $result;
}

View file

@ -476,6 +476,7 @@ class AbuseFilterParser extends AFPTransitionBase {
*
* @param AFPData &$result
* @throws AFPUserVisibleException
* @suppress PhanPossiblyUndeclaredVariable
*/
protected function doLevelConditions( &$result ) {
if ( $this->mCur->type === AFPToken::TKEYWORD && $this->mCur->value === 'if' ) {