build: Updating mediawiki/mediawiki-codesniffer to 38.0.0

Change-Id: Ic16a1f89fc5ccae3eddd31b1d566128e60592b90
This commit is contained in:
Umherirrender 2021-11-13 19:01:31 +01:00
parent 4982868628
commit 0c154bba36
2 changed files with 9 additions and 9 deletions

View file

@ -33,7 +33,7 @@
"installer-name": "Vector"
},
"require-dev": {
"mediawiki/mediawiki-codesniffer": "37.0.0",
"mediawiki/mediawiki-codesniffer": "38.0.0",
"mediawiki/mediawiki-phan-config": "0.11.0",
"mediawiki/minus-x": "1.1.1",
"php-parallel-lint/php-console-highlighter": "0.5.0",

View file

@ -54,13 +54,13 @@ class SkinVersionLookupTest extends \MediaWikiIntegrationTestCase {
$skinVersionLookup = new SkinVersionLookup( $request, $user, $config );
$this->assertSame(
$skinVersionLookup->getVersion(),
'alpha',
$skinVersionLookup->getVersion(),
'Query parameter is the first priority.'
);
$this->assertSame(
$skinVersionLookup->isLegacy(),
false,
$skinVersionLookup->isLegacy(),
'Version is non-Legacy.'
);
}
@ -93,13 +93,13 @@ class SkinVersionLookupTest extends \MediaWikiIntegrationTestCase {
$skinVersionLookup = new SkinVersionLookup( $request, $user, $config );
$this->assertSame(
$skinVersionLookup->getVersion(),
'beta',
$skinVersionLookup->getVersion(),
'User preference is the second priority.'
);
$this->assertSame(
$skinVersionLookup->isLegacy(),
false,
$skinVersionLookup->isLegacy(),
'Version is non-Legacy.'
);
}
@ -132,13 +132,13 @@ class SkinVersionLookupTest extends \MediaWikiIntegrationTestCase {
$skinVersionLookup = new SkinVersionLookup( $request, $user, $config );
$this->assertSame(
$skinVersionLookup->getVersion(),
'1',
$skinVersionLookup->getVersion(),
'Config is the third priority and distinguishes logged in users from anonymous users.'
);
$this->assertSame(
$skinVersionLookup->isLegacy(),
true,
$skinVersionLookup->isLegacy(),
'Version is Legacy.'
);
}
@ -171,13 +171,13 @@ class SkinVersionLookupTest extends \MediaWikiIntegrationTestCase {
$skinVersionLookup = new SkinVersionLookup( $request, $user, $config );
$this->assertSame(
$skinVersionLookup->getVersion(),
'2',
$skinVersionLookup->getVersion(),
'Config is the third priority and distinguishes anonymous users from logged in users.'
);
$this->assertSame(
$skinVersionLookup->isLegacy(),
false,
$skinVersionLookup->isLegacy(),
'Version is non-Legacy.'
);
}