From 80a8a8e85c55bcdaffd77251fba1beccdd83ccd3 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Thu, 24 Apr 2014 17:05:10 +0200 Subject: [PATCH] Pass phpcs-strict on some test files (5/x) Change-Id: I690645cd8a9b1165dcc8271b201c695ea9391226 --- tests/phpunit/includes/XmlTest.php | 17 +++- tests/phpunit/includes/api/ApiLoginTest.php | 8 +- tests/phpunit/includes/api/ApiOptionsTest.php | 7 +- tests/phpunit/includes/api/ApiParseTest.php | 8 +- tests/phpunit/includes/api/ApiPurgeTest.php | 7 +- tests/phpunit/includes/api/ApiTestCase.php | 14 ++- .../includes/api/ApiTestCaseUpload.php | 13 ++- tests/phpunit/includes/api/ApiUploadTest.php | 30 ++++--- .../includes/api/RandomImageGenerator.php | 88 ++++++++++++------- .../api/query/ApiQueryContinueTestBase.php | 6 +- 10 files changed, 136 insertions(+), 62 deletions(-) diff --git a/tests/phpunit/includes/XmlTest.php b/tests/phpunit/includes/XmlTest.php index 86b4c3556b..6a8ae87a7e 100644 --- a/tests/phpunit/includes/XmlTest.php +++ b/tests/phpunit/includes/XmlTest.php @@ -151,7 +151,11 @@ class XmlTest extends MediaWikiTestCase { } $this->assertEquals( - ' ' . + ' ' . + ' ' . + ' ' . + ' ' . + ' ' . + '