Skip to content

Commit 7f8a9e9

Browse files
committed
Merge branch '5.1' into 5.2
* 5.1: Remove :void in test function signatures
2 parents 452c3aa + fc3b9cd commit 7f8a9e9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Tests/Compiler/ValidateEnvPlaceholdersPassTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public function testEnvIsNotUnset()
202202
$this->assertSame($expected, $container->resolveEnvPlaceholders($ext->getConfig()));
203203
}
204204

205-
public function testEmptyEnvWhichCannotBeEmptyForScalarNode(): void
205+
public function testEmptyEnvWhichCannotBeEmptyForScalarNode()
206206
{
207207
$container = new ContainerBuilder();
208208
$container->registerExtension($ext = new EnvExtension());
@@ -215,7 +215,7 @@ public function testEmptyEnvWhichCannotBeEmptyForScalarNode(): void
215215
$this->assertSame($expected, $container->resolveEnvPlaceholders($ext->getConfig()));
216216
}
217217

218-
public function testEmptyEnvWhichCannotBeEmptyForScalarNodeWithValidation(): void
218+
public function testEmptyEnvWhichCannotBeEmptyForScalarNodeWithValidation()
219219
{
220220
$this->expectException('Symfony\Component\Config\Definition\Exception\InvalidConfigurationException');
221221
$this->expectExceptionMessage('The path "env_extension.scalar_node_not_empty_validated" cannot contain an environment variable when empty values are not allowed by definition and are validated.');
@@ -229,7 +229,7 @@ public function testEmptyEnvWhichCannotBeEmptyForScalarNodeWithValidation(): voi
229229
$this->doProcess($container);
230230
}
231231

232-
public function testPartialEnvWhichCannotBeEmptyForScalarNode(): void
232+
public function testPartialEnvWhichCannotBeEmptyForScalarNode()
233233
{
234234
$container = new ContainerBuilder();
235235
$container->registerExtension($ext = new EnvExtension());
@@ -242,7 +242,7 @@ public function testPartialEnvWhichCannotBeEmptyForScalarNode(): void
242242
$this->assertSame($expected, $container->resolveEnvPlaceholders($ext->getConfig()));
243243
}
244244

245-
public function testEnvWithVariableNode(): void
245+
public function testEnvWithVariableNode()
246246
{
247247
$container = new ContainerBuilder();
248248
$container->registerExtension($ext = new EnvExtension());
@@ -266,7 +266,7 @@ public function testEmptyConfigFromMoreThanOneSource()
266266
$this->addToAssertionCount(1);
267267
}
268268

269-
public function testDiscardedEnvInConfig(): void
269+
public function testDiscardedEnvInConfig()
270270
{
271271
$container = new ContainerBuilder();
272272
$container->setParameter('env(BOOLISH)', '1');

0 commit comments

Comments
 (0)