@@ -206,7 +206,7 @@ public function testEnvIsNotUnset()
206
206
$ this ->assertSame ($ expected , $ container ->resolveEnvPlaceholders ($ ext ->getConfig ()));
207
207
}
208
208
209
- public function testEmptyEnvWhichCannotBeEmptyForScalarNode (): void
209
+ public function testEmptyEnvWhichCannotBeEmptyForScalarNode ()
210
210
{
211
211
$ container = new ContainerBuilder ();
212
212
$ container ->registerExtension ($ ext = new EnvExtension ());
@@ -225,7 +225,7 @@ public function testEmptyEnvWhichCannotBeEmptyForScalarNode(): void
225
225
* @group legacy
226
226
* @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.
227
227
*/
228
- public function testEmptyEnvWhichCannotBeEmptyForScalarNodeWithValidation (): void
228
+ public function testEmptyEnvWhichCannotBeEmptyForScalarNodeWithValidation ()
229
229
{
230
230
$ container = new ContainerBuilder ();
231
231
$ container ->registerExtension ($ ext = new EnvExtension ());
@@ -238,7 +238,7 @@ public function testEmptyEnvWhichCannotBeEmptyForScalarNodeWithValidation(): voi
238
238
$ this ->assertSame ($ expected , $ container ->resolveEnvPlaceholders ($ ext ->getConfig ()));
239
239
}
240
240
241
- public function testPartialEnvWhichCannotBeEmptyForScalarNode (): void
241
+ public function testPartialEnvWhichCannotBeEmptyForScalarNode ()
242
242
{
243
243
$ container = new ContainerBuilder ();
244
244
$ container ->registerExtension ($ ext = new EnvExtension ());
@@ -251,7 +251,7 @@ public function testPartialEnvWhichCannotBeEmptyForScalarNode(): void
251
251
$ this ->assertSame ($ expected , $ container ->resolveEnvPlaceholders ($ ext ->getConfig ()));
252
252
}
253
253
254
- public function testEnvWithVariableNode (): void
254
+ public function testEnvWithVariableNode ()
255
255
{
256
256
$ container = new ContainerBuilder ();
257
257
$ container ->registerExtension ($ ext = new EnvExtension ());
@@ -268,7 +268,7 @@ public function testEnvWithVariableNode(): void
268
268
* @group legacy
269
269
* @expectedDeprecation A tree builder without a root node is deprecated since Symfony 4.2 and will not be supported anymore in 5.0.
270
270
*/
271
- public function testConfigurationWithoutRootNode (): void
271
+ public function testConfigurationWithoutRootNode ()
272
272
{
273
273
$ container = new ContainerBuilder ();
274
274
$ container ->registerExtension (new EnvExtension (new EnvConfigurationWithoutRootNode ()));
@@ -288,7 +288,7 @@ public function testEmptyConfigFromMoreThanOneSource()
288
288
$ this ->addToAssertionCount (1 );
289
289
}
290
290
291
- public function testDiscardedEnvInConfig (): void
291
+ public function testDiscardedEnvInConfig ()
292
292
{
293
293
$ container = new ContainerBuilder ();
294
294
$ container ->setParameter ('env(BOOLISH) ' , '1 ' );
0 commit comments