Skip to content

Commit d29a939

Browse files
author
libraryupgrader
committed
build: Updating mediawiki/mediawiki-codesniffer to 28.0.0
Change-Id: I38a41cafe4785bb9052f78035a821443ef0c2c7c
1 parent 6f4955b commit d29a939

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"require-dev": {
3232
"jakub-onderka/php-parallel-lint": "1.0.0",
3333
"jakub-onderka/php-console-highlighter": "0.3.2",
34-
"mediawiki/mediawiki-codesniffer": "26.0.0",
34+
"mediawiki/mediawiki-codesniffer": "28.0.0",
3535
"mediawiki/minus-x": "0.3.1",
3636
"ockcyp/covers-validator": "0.5.1 || 0.6.1",
3737
"phpunit/phpunit": "4.8.36 || ^6.5"

tests/CdbTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class CdbTest extends \PHPUnit\Framework\TestCase {
1212
/** @var string */
1313
private $phpCdbFile, $dbaCdbFile;
1414

15-
protected function setUp() {
15+
protected function setUp() : void {
1616
parent::setUp();
1717
if ( !Reader::haveExtension() ) {
1818
$this->markTestSkipped( 'Native CDB support is not available.' );
@@ -25,7 +25,7 @@ protected function setUp() {
2525
$this->dbaCdbFile = tempnam( $temp, get_class( $this ) . '_' );
2626
}
2727

28-
protected function tearDown() {
28+
protected function tearDown() : void {
2929
unlink( $this->phpCdbFile );
3030
unlink( $this->dbaCdbFile );
3131
parent::tearDown();

tests/Reader/DBATest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*/
1111
class DBATest extends \PHPUnit\Framework\TestCase {
1212

13-
protected function setUp() {
13+
protected function setUp() : void {
1414
parent::setUp();
1515
if ( !Reader::haveExtension() ) {
1616
$this->markTestSkipped( 'Native CDB support is not available.' );

tests/Reader/PHPTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class PHPTest extends \PHPUnit\Framework\TestCase {
1111
/** @var string */
1212
private $cdbFile;
1313

14-
protected function setUp() {
14+
protected function setUp() : void {
1515
parent::setUp();
1616
$temp = sys_get_temp_dir();
1717
if ( !is_writable( $temp ) ) {
@@ -20,7 +20,7 @@ protected function setUp() {
2020
$this->cdbFile = tempnam( $temp, get_class( $this ) . '_' );
2121
}
2222

23-
protected function tearDown() {
23+
protected function tearDown() : void {
2424
unlink( $this->cdbFile );
2525
parent::tearDown();
2626
}

0 commit comments

Comments
 (0)