Skip to content

Commit 58f6579

Browse files
committed
Merge pull request #3 from felixcarmona/codestyleAndProtectedSetUp
fix codestyle according to psr and changed the visibility of the setUp into protected
2 parents 7e4f443 + b571567 commit 58f6579

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/TestListenerTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ class TestListenerTest extends \PHPUnit_Framework_TestCase
77
private $listener;
88
private $dummyTest;
99

10-
public function setUp()
10+
protected function setUp()
1111
{
12-
$this->listener = new TestListener;
13-
$this->dummyTest = new DummyTest;
12+
$this->listener = new TestListener();
13+
$this->dummyTest = new DummyTest();
1414
}
1515

1616
/**
@@ -47,4 +47,4 @@ class PHPUnit_Fake extends \PHPUnit_Framework_TestCase
4747
class DummyTest extends \PHPUnit_Fake
4848
{
4949
public $property = 1;
50-
}
50+
}

0 commit comments

Comments
 (0)