mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/PageImages
synced 2024-11-24 00:13:27 +00:00
build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: Ic742e7cde506b7d0c1865453cc8895faefe10e90
This commit is contained in:
parent
0665baacc3
commit
a9518ea914
|
@ -1,6 +1,9 @@
|
|||
<?xml version="1.0"?>
|
||||
<ruleset>
|
||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki" />
|
||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
||||
<exclude name="PSR12.Properties.ConstantVisibility.NotFound" />
|
||||
</rule>
|
||||
|
||||
<file>.</file>
|
||||
<arg name="extensions" value="php,php5,inc" />
|
||||
<arg name="encoding" value="UTF-8" />
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"require-dev": {
|
||||
"jakub-onderka/php-parallel-lint": "1.0.0",
|
||||
"jakub-onderka/php-console-highlighter": "0.3.2",
|
||||
"mediawiki/mediawiki-codesniffer": "26.0.0",
|
||||
"mediawiki/mediawiki-codesniffer": "28.0.0",
|
||||
"mediawiki/minus-x": "0.3.1",
|
||||
"mediawiki/mediawiki-phan-config": "0.6.1"
|
||||
},
|
||||
|
|
|
@ -21,13 +21,13 @@ use Wikimedia\TestingAccessWrapper;
|
|||
*/
|
||||
class LinksUpdateHookHandlerTest extends MediaWikiTestCase {
|
||||
|
||||
public function tearDown() {
|
||||
public function tearDown() : void {
|
||||
// remove mock added in testGetMetadata()
|
||||
RepoGroup::destroySingleton();
|
||||
parent::tearDown();
|
||||
}
|
||||
|
||||
public function setUp() {
|
||||
public function setUp() : void {
|
||||
parent::setUp();
|
||||
|
||||
// Force LinksUpdateHookHandler::getPageImageCanditates to look at all
|
||||
|
|
Loading…
Reference in a new issue