mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/LoginNotify
synced 2024-11-11 16:49:30 +00:00
build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: Ide491f1971a4fe323f82eb5812a42fce990ddbd5
This commit is contained in:
parent
c5c9a60d15
commit
e4d9f1ea3e
|
@ -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" />
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"description": "MediaWiki extension to notify users if someone tries to login to their account",
|
||||
"require-dev": {
|
||||
"jakub-onderka/php-parallel-lint": "1.0.0",
|
||||
"mediawiki/mediawiki-codesniffer": "26.0.0",
|
||||
"mediawiki/mediawiki-codesniffer": "28.0.0",
|
||||
"jakub-onderka/php-console-highlighter": "0.3.2",
|
||||
"mediawiki/minus-x": "0.3.1",
|
||||
"mediawiki/mediawiki-phan-config": "0.6.1"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
use LoginNotify\LoginNotify;
|
||||
use \Psr\Log\NullLogger;
|
||||
use Psr\Log\NullLogger;
|
||||
use Wikimedia\TestingAccessWrapper;
|
||||
|
||||
/**
|
||||
|
@ -36,7 +36,7 @@ class LoginNotifyTest extends MediaWikiTestCase {
|
|||
$this->inst->setLogger( new NullLogger );
|
||||
}
|
||||
|
||||
public function setUp() {
|
||||
public function setUp() : void {
|
||||
parent::setUp();
|
||||
$this->setUpLoginNotify();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue