Skip to content

Commit adba84a

Browse files
Revert "Fixing current tests"
This reverts commit aa85a13.
1 parent 93d53a5 commit adba84a

5 files changed

+10
-10
lines changed

tests/Configurator/CopyDirectoryFromPackageConfiguratorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function testConfigureDirectory()
5555
}
5656
}
5757

58-
protected function setUp(): void
58+
protected function setUp()
5959
{
6060
parent::setUp();
6161

@@ -94,7 +94,7 @@ protected function setUp(): void
9494
$this->cleanUpTargetFiles();
9595
}
9696

97-
protected function tearDown(): void
97+
protected function tearDown()
9898
{
9999
parent::tearDown();
100100

tests/Configurator/CopyFromPackageConfiguratorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public function testNoFilesRemoved()
123123
$this->createConfigurator()->unconfigure($this->recipe, [$this->sourceFileRelativePath => $this->targetFileRelativePath], $lock);
124124
}
125125

126-
protected function setUp(): void
126+
protected function setUp()
127127
{
128128
parent::setUp();
129129

@@ -156,7 +156,7 @@ protected function setUp(): void
156156
$this->cleanUpTargetFiles();
157157
}
158158

159-
protected function tearDown(): void
159+
protected function tearDown()
160160
{
161161
parent::tearDown();
162162

tests/Configurator/CopyFromRecipeConfiguratorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public function testNoFilesRemoved()
134134
$this->createConfigurator()->unconfigure($this->recipe, [$this->sourceFileRelativePath => $this->targetFileRelativePath], $lock);
135135
}
136136

137-
protected function setUp(): void
137+
protected function setUp()
138138
{
139139
parent::setUp();
140140

@@ -158,7 +158,7 @@ protected function setUp(): void
158158
$this->cleanUpTargetFiles();
159159
}
160160

161-
protected function tearDown(): void
161+
protected function tearDown()
162162
{
163163
parent::tearDown();
164164

tests/Configurator/DockerComposeConfiguratorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class DockerComposeConfiguratorTest extends TestCase
101101
/** @var DockerComposeConfigurator */
102102
private $configurator;
103103

104-
public function setUp(string $name = null, array $data = [], string $dataName = ''): void
104+
public function setUp(string $name = null, array $data = [], string $dataName = '')
105105
{
106106
@mkdir(FLEX_TEST_DIR);
107107

@@ -126,7 +126,7 @@ public function setUp(string $name = null, array $data = [], string $dataName =
126126
);
127127
}
128128

129-
protected function tearDown(): void
129+
protected function tearDown()
130130
{
131131
@unlink(FLEX_TEST_DIR.'/docker-compose.yml');
132132
@unlink(FLEX_TEST_DIR.'/docker-compose.yaml');

tests/Configurator/DockerfileConfiguratorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121

2222
class DockerfileConfiguratorTest extends TestCase
2323
{
24-
public function setUp(): void
24+
public function setUp()
2525
{
2626
@mkdir(FLEX_TEST_DIR);
2727
}
2828

29-
protected function tearDown(): void
29+
protected function tearDown()
3030
{
3131
@unlink(FLEX_TEST_DIR.'/Dockerfile');
3232
}

0 commit comments

Comments
 (0)