mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 15:36:58 +00:00
build: Updating mediawiki/mediawiki-phan-config to 0.10.4
Change-Id: I3c21277a70107abf70599da2c3a4de194c6aad58
This commit is contained in:
parent
e099312c17
commit
7c384798be
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"require-dev": {
|
||||
"mediawiki/mediawiki-codesniffer": "33.0.0",
|
||||
"mediawiki/mediawiki-phan-config": "0.10.3",
|
||||
"mediawiki/mediawiki-phan-config": "0.10.4",
|
||||
"mediawiki/minus-x": "1.1.0",
|
||||
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
||||
"php-parallel-lint/php-parallel-lint": "1.2.0"
|
||||
|
|
|
@ -533,6 +533,7 @@ class GenerateSampleNotifications extends Maintenance {
|
|||
}
|
||||
|
||||
private function generateWikibase( User $user, User $agent ) {
|
||||
// @phan-suppress-next-line PhanUndeclaredClassReference
|
||||
if ( !class_exists( EchoNotificationsHandlers::class ) ) {
|
||||
// should use !ExtensionRegistry::getInstance()->isLoaded( 'Wikibase' ) when possible
|
||||
$this->output( "Skipping Wikibase. Extension not installed.\n" );
|
||||
|
|
|
@ -53,6 +53,7 @@ class RemoveInvalidNotification extends Maintenance {
|
|||
$event = [];
|
||||
$count = 0;
|
||||
foreach ( $res as $row ) {
|
||||
// @phan-suppress-next-line PhanPossiblyUndeclaredVariable
|
||||
if ( !in_array( $row->event_id, $event ) ) {
|
||||
$event[] = $row->event_id;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue