From 916b265cd580b45e14be1dc37458697ea0e679a6 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Thu, 24 Apr 2014 16:42:28 +0200 Subject: [PATCH] Normalise testcleanuplistener.php indentation and end of file. --- tests/testcleanuplistener.php | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/tests/testcleanuplistener.php b/tests/testcleanuplistener.php index e3f250fdca..b544c8fbe4 100644 --- a/tests/testcleanuplistener.php +++ b/tests/testcleanuplistener.php @@ -16,31 +16,31 @@ class TestCleanupListener implements PHPUnit_Framework_TestListener { $this->verbosity = $verbosity; } - public function addError(PHPUnit_Framework_Test $test, Exception $e, $time) { - } + public function addError(PHPUnit_Framework_Test $test, Exception $e, $time) { + } - public function addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time) { - } + public function addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time) { + } - public function addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time) { - } + public function addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time) { + } public function addRiskyTest(PHPUnit_Framework_Test $test, Exception $e, $time) { } - public function addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time) { - } + public function addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time) { + } - public function startTest(PHPUnit_Framework_Test $test) { - } + public function startTest(PHPUnit_Framework_Test $test) { + } - public function endTest(PHPUnit_Framework_Test $test, $time) { - } + public function endTest(PHPUnit_Framework_Test $test, $time) { + } - public function startTestSuite(PHPUnit_Framework_TestSuite $suite) { - } + public function startTestSuite(PHPUnit_Framework_TestSuite $suite) { + } - public function endTestSuite(PHPUnit_Framework_TestSuite $suite) { + public function endTestSuite(PHPUnit_Framework_TestSuite $suite) { if ($this->cleanStrayDataFiles() && $this->isShowSuiteWarning()) { printf("TestSuite '%s': Did not clean up data dir\n", $suite->getName()); } @@ -50,7 +50,7 @@ class TestCleanupListener implements PHPUnit_Framework_TestListener { if ($this->cleanProxies() && $this->isShowSuiteWarning()) { printf("TestSuite '%s': Did not clean up proxies\n", $suite->getName()); } - } + } private function isShowSuiteWarning() { return $this->verbosity === 'suite' || $this->verbosity === 'detail'; @@ -143,4 +143,3 @@ class TestCleanupListener implements PHPUnit_Framework_TestListener { return count($proxies) > 0; } } -?>