Skip to content

Commit ee90911

Browse files
authored
Improve PHPUnit fixtures and right file permission (#38)
1 parent 7a42976 commit ee90911

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

README.md

100755100644
File mode changed.

phpunit.xml.dist

100755100644
File mode changed.

tests/AbstractLoggerMiddlewareTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ abstract class AbstractLoggerMiddlewareTest extends TestCase
4949
*/
5050
protected $stats;
5151

52-
public function setUp(): void
52+
protected function setUp(): void
5353
{
5454
parent::setUp();
5555
$this->mockHandler = new MockHandler();

tests/Handler/MultiRecordArrayHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ final class MultiRecordArrayHandlerTest extends AbstractLoggerMiddlewareTest
1717
*/
1818
private $handler;
1919

20-
public function setUp(): void
20+
protected function setUp(): void
2121
{
2222
parent::setUp();
2323
$this->handler = new MultiRecordArrayHandler();

tests/Handler/StringHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ final class StringHandlerTest extends AbstractLoggerMiddlewareTest
1717
*/
1818
private $handler;
1919

20-
public function setUp(): void
20+
protected function setUp(): void
2121
{
2222
parent::setUp();
2323
$this->handler = new StringHandler();

0 commit comments

Comments
 (0)