build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0

Change-Id: Ie03e1cdbf7f3a18c4e02e08fbd81c148f7da4d5a
This commit is contained in:
Umherirrender 2024-03-10 19:22:36 +01:00
parent 2cac61da34
commit d60c797629
2 changed files with 29 additions and 24 deletions

View file

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

View file

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