From ca17b08ca1d5fca462d0c55398f3762d5bcefd9a Mon Sep 17 00:00:00 2001 From: jackbravo Date: Mon, 10 Sep 2007 23:08:29 +0000 Subject: [PATCH] Strict standards: GroupTest::run and UnitTest::run should have the same signature --- tests/Test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Test.php b/tests/Test.php index b02fc2534..c305e8fc1 100644 --- a/tests/Test.php +++ b/tests/Test.php @@ -33,7 +33,7 @@ class GroupTest extends UnitTestCase } return true; } - public function run(HtmlReporter $reporter, $filter) + public function run(HtmlReporter $reporter = null, $filter = null) { $reporter->paintHeader(); foreach ($this->_testCases as $k => $testCase) { @@ -160,7 +160,7 @@ class UnitTestCase } $this->_failed++; } - public function run() + public function run(HtmlReporter $reporter = null, $filter = null) { foreach (get_class_methods($this) as $method) { if (substr($method, 0, 4) === 'test') {