Skip to content

Commit 3c7434d

Browse files
authored
Correct PHPUnit setUp visibility (#390)
1 parent 1e69a4e commit 3c7434d

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

tests/Scoper/ConfigurableScoperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class ConfigurableScoperTest extends TestCase
3838
/**
3939
* @inheritdoc
4040
*/
41-
public function setUp(): void
41+
protected function setUp(): void
4242
{
4343
$this->decoratedScoperProphecy = $this->prophesize(Scoper::class);
4444
$this->decoratedScoper = $this->decoratedScoperProphecy->reveal();

tests/Scoper/FileWhitelistScoperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class FileWhitelistScoperTest extends TestCase
3838
/**
3939
* @inheritdoc
4040
*/
41-
public function setUp(): void
41+
protected function setUp(): void
4242
{
4343
$this->decoratedScoperProphecy = $this->prophesize(Scoper::class);
4444
$this->decoratedScoper = $this->decoratedScoperProphecy->reveal();

tests/Scoper/PatchScoperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class PatchScoperTest extends TestCase
3939
/**
4040
* @inheritdoc
4141
*/
42-
public function setUp(): void
42+
protected function setUp(): void
4343
{
4444
$this->decoratedScoperProphecy = $this->prophesize(Scoper::class);
4545
$this->decoratedScoper = $this->decoratedScoperProphecy->reveal();

tests/Scoper/PhpScoperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class PhpScoperTest extends TestCase
113113
/**
114114
* @inheritdoc
115115
*/
116-
public function setUp(): void
116+
protected function setUp(): void
117117
{
118118
$this->decoratedScoperProphecy = $this->prophesize(Scoper::class);
119119
$this->decoratedScoper = $this->decoratedScoperProphecy->reveal();

tests/Scoper/Symfony/XmlScoperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class XmlScoperTest extends TestCase
4545
/**
4646
* @inheritdoc
4747
*/
48-
public function setUp(): void
48+
protected function setUp(): void
4949
{
5050
$this->decoratedScoperProphecy = $this->prophesize(Scoper::class);
5151
$this->decoratedScoper = $this->decoratedScoperProphecy->reveal();

tests/Scoper/Symfony/YamlScoperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class YamlScoperTest extends TestCase
4545
/**
4646
* @inheritdoc
4747
*/
48-
public function setUp(): void
48+
protected function setUp(): void
4949
{
5050
$this->decoratedScoperProphecy = $this->prophesize(Scoper::class);
5151
$this->decoratedScoper = $this->decoratedScoperProphecy->reveal();

0 commit comments

Comments
 (0)