Skip to content

Commit 3860f64

Browse files
committed
Remove :void in test function signatures
1 parent 1190f98 commit 3860f64

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Tests/Compiler/ValidateEnvPlaceholdersPassTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public function testEnvIsNotUnset()
206206
$this->assertSame($expected, $container->resolveEnvPlaceholders($ext->getConfig()));
207207
}
208208

209-
public function testEmptyEnvWhichCannotBeEmptyForScalarNode(): void
209+
public function testEmptyEnvWhichCannotBeEmptyForScalarNode()
210210
{
211211
$container = new ContainerBuilder();
212212
$container->registerExtension($ext = new EnvExtension());
@@ -225,7 +225,7 @@ public function testEmptyEnvWhichCannotBeEmptyForScalarNode(): void
225225
* @group legacy
226226
* @expectedDeprecation Setting path "env_extension.scalar_node_not_empty_validated" to an environment variable is deprecated since Symfony 4.3. Remove "cannotBeEmpty()", "validate()" or include a prefix/suffix value instead.
227227
*/
228-
public function testEmptyEnvWhichCannotBeEmptyForScalarNodeWithValidation(): void
228+
public function testEmptyEnvWhichCannotBeEmptyForScalarNodeWithValidation()
229229
{
230230
$container = new ContainerBuilder();
231231
$container->registerExtension($ext = new EnvExtension());
@@ -238,7 +238,7 @@ public function testEmptyEnvWhichCannotBeEmptyForScalarNodeWithValidation(): voi
238238
$this->assertSame($expected, $container->resolveEnvPlaceholders($ext->getConfig()));
239239
}
240240

241-
public function testPartialEnvWhichCannotBeEmptyForScalarNode(): void
241+
public function testPartialEnvWhichCannotBeEmptyForScalarNode()
242242
{
243243
$container = new ContainerBuilder();
244244
$container->registerExtension($ext = new EnvExtension());
@@ -251,7 +251,7 @@ public function testPartialEnvWhichCannotBeEmptyForScalarNode(): void
251251
$this->assertSame($expected, $container->resolveEnvPlaceholders($ext->getConfig()));
252252
}
253253

254-
public function testEnvWithVariableNode(): void
254+
public function testEnvWithVariableNode()
255255
{
256256
$container = new ContainerBuilder();
257257
$container->registerExtension($ext = new EnvExtension());
@@ -268,7 +268,7 @@ public function testEnvWithVariableNode(): void
268268
* @group legacy
269269
* @expectedDeprecation A tree builder without a root node is deprecated since Symfony 4.2 and will not be supported anymore in 5.0.
270270
*/
271-
public function testConfigurationWithoutRootNode(): void
271+
public function testConfigurationWithoutRootNode()
272272
{
273273
$container = new ContainerBuilder();
274274
$container->registerExtension(new EnvExtension(new EnvConfigurationWithoutRootNode()));
@@ -288,7 +288,7 @@ public function testEmptyConfigFromMoreThanOneSource()
288288
$this->addToAssertionCount(1);
289289
}
290290

291-
public function testDiscardedEnvInConfig(): void
291+
public function testDiscardedEnvInConfig()
292292
{
293293
$container = new ContainerBuilder();
294294
$container->setParameter('env(BOOLISH)', '1');

0 commit comments

Comments
 (0)