From 07ff3debe51490867d48e5a19defcc138a09ee27 Mon Sep 17 00:00:00 2001 From: Daimona Eaytoy Date: Tue, 14 Jan 2020 15:56:49 +0000 Subject: [PATCH] Stop using PHPUnit deprecated methods Change-Id: I77eefbd6f8b76620257c68be1c299868b5f5ff88 --- .phpcs.xml | 1 - tests/phpunit/EchoSummaryParserTest.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.phpcs.xml b/.phpcs.xml index 22c74e179..7b35dd056 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -9,7 +9,6 @@ - diff --git a/tests/phpunit/EchoSummaryParserTest.php b/tests/phpunit/EchoSummaryParserTest.php index b68af89f5..7fc7a9bf9 100644 --- a/tests/phpunit/EchoSummaryParserTest.php +++ b/tests/phpunit/EchoSummaryParserTest.php @@ -27,7 +27,7 @@ class EchoSummaryParserTest extends MediaWikiTestCase { $users = $parser->parse( $summary ); foreach ( $users as $name => $user ) { - $this->assertType( User::class, $user ); + $this->assertInstanceof( User::class, $user ); $this->assertEquals( $name, $user->getName() ); }