From 6c069e37b228a1bc7f74f3b4db25f383bbf46f13 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Tue, 27 Jun 2017 20:13:04 +0200 Subject: [PATCH] Remove space after cast One remaining file was fixed Change-Id: I95f77028219046e14c887cd2e0d5f6ffe98b9cd8 --- phpcs.xml | 3 --- tests/phpunit/includes/OutputPageTest.php | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/phpcs.xml b/phpcs.xml index 197cc7860b..7fb7299de4 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -49,9 +49,6 @@ 0 - - 0 - node_modules/ vendor/ ^extensions/ diff --git a/tests/phpunit/includes/OutputPageTest.php b/tests/phpunit/includes/OutputPageTest.php index 32fa46887d..ad545443cf 100644 --- a/tests/phpunit/includes/OutputPageTest.php +++ b/tests/phpunit/includes/OutputPageTest.php @@ -531,11 +531,11 @@ class OutputPageTest extends MediaWikiTestCase { */ public function testGetCategories() { $fakeResultWrapper = new FakeResultWrapper( [ - (object) [ + (object)[ 'pp_value' => 1, 'page_title' => 'Test' ], - (object) [ + (object)[ 'page_title' => 'Test2' ] ] ); -- 2.20.1