mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-27 09:10:12 +00:00
build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0
Change-Id: Ie03e1cdbf7f3a18c4e02e08fbd81c148f7da4d5a
This commit is contained in:
parent
2cac61da34
commit
d60c797629
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"require-dev": {
|
||||
"mediawiki/mediawiki-codesniffer": "41.0.0",
|
||||
"mediawiki/mediawiki-codesniffer": "43.0.0",
|
||||
"mediawiki/mediawiki-phan-config": "0.14.0",
|
||||
"mediawiki/minus-x": "1.1.1",
|
||||
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
||||
|
@ -18,5 +18,10 @@
|
|||
],
|
||||
"phan": "phan -d . --long-progress-bar",
|
||||
"phpcs": "phpcs -sp --cache"
|
||||
},
|
||||
"config": {
|
||||
"allow-plugins": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -52,38 +52,38 @@ class NotificationServiceClientUnitTest extends MediaWikiUnitTestCase {
|
|||
$subscriptions[] = Subscription::newFromRow( $row );
|
||||
|
||||
return [
|
||||
[
|
||||
1,
|
||||
[ $subscriptions[0], $subscriptions[1] ],
|
||||
[
|
||||
1,
|
||||
[ $subscriptions[0], $subscriptions[1] ],
|
||||
[
|
||||
'fcm',
|
||||
[
|
||||
'fcm',
|
||||
[
|
||||
'deviceTokens' => [ "JKL123", 'DEF456' ],
|
||||
'messageType' => 'checkEchoV1'
|
||||
]
|
||||
'deviceTokens' => [ "JKL123", 'DEF456' ],
|
||||
'messageType' => 'checkEchoV1'
|
||||
]
|
||||
]
|
||||
],
|
||||
]
|
||||
],
|
||||
[
|
||||
2,
|
||||
$subscriptions,
|
||||
[
|
||||
2,
|
||||
$subscriptions,
|
||||
[
|
||||
'fcm',
|
||||
[
|
||||
'fcm',
|
||||
[
|
||||
'deviceTokens' => [ "JKL123", 'DEF456' ],
|
||||
'messageType' => 'checkEchoV1'
|
||||
]
|
||||
],
|
||||
[
|
||||
'apns',
|
||||
[
|
||||
'deviceTokens' => [ 'GHI789' ],
|
||||
'messageType' => 'checkEchoV1',
|
||||
'topic' => 'test'
|
||||
]
|
||||
'deviceTokens' => [ "JKL123", 'DEF456' ],
|
||||
'messageType' => 'checkEchoV1'
|
||||
]
|
||||
],
|
||||
[
|
||||
'apns',
|
||||
[
|
||||
'deviceTokens' => [ 'GHI789' ],
|
||||
'messageType' => 'checkEchoV1',
|
||||
'topic' => 'test'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue