From b571567215fd6044ff511c057d73c7c417fa85cf Mon Sep 17 00:00:00 2001 From: Felix Carmona Date: Tue, 26 Aug 2014 17:11:40 +0200 Subject: [PATCH] fix codestyle according to psr and changed the visibility of the setUp into protected --- tests/TestListenerTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/TestListenerTest.php b/tests/TestListenerTest.php index 8c9c287..13506fc 100644 --- a/tests/TestListenerTest.php +++ b/tests/TestListenerTest.php @@ -7,10 +7,10 @@ class TestListenerTest extends \PHPUnit_Framework_TestCase private $listener; private $dummyTest; - public function setUp() + protected function setUp() { - $this->listener = new TestListener; - $this->dummyTest = new DummyTest; + $this->listener = new TestListener(); + $this->dummyTest = new DummyTest(); } /** @@ -47,4 +47,4 @@ class PHPUnit_Fake extends \PHPUnit_Framework_TestCase class DummyTest extends \PHPUnit_Fake { public $property = 1; -} \ No newline at end of file +}