mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Gadgets
synced 2024-11-23 23:13:27 +00:00
build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: I61896470e0dc9cffd3e8fff8b45e2231ef4265f3
This commit is contained in:
parent
db80002484
commit
ed181c2db0
|
@ -4,6 +4,7 @@
|
|||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" />
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
||||
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
|
||||
<exclude name="PSR12.Properties.ConstantVisibility.NotFound" />
|
||||
</rule>
|
||||
<file>.</file>
|
||||
<arg name="extensions" value="php,php5,inc" />
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
|
@ -11,7 +11,7 @@ class GadgetHooksTest extends MediaWikiIntegrationTestCase {
|
|||
*/
|
||||
protected $user;
|
||||
|
||||
public function setUp() {
|
||||
public function setUp() : void {
|
||||
global $wgGroupPermissions;
|
||||
|
||||
parent::setUp();
|
||||
|
@ -22,7 +22,7 @@ class GadgetHooksTest extends MediaWikiIntegrationTestCase {
|
|||
$this->user = $this->getTestUser( [ 'unittesters' ] )->getUser();
|
||||
}
|
||||
|
||||
public function tearDown() {
|
||||
public function tearDown() : void {
|
||||
GadgetRepo::setSingleton();
|
||||
parent::tearDown();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue