@@ -61,7 +61,7 @@ public function testValidEventSubscriber()
61
61
$ this ->assertEquals ($ expectedCalls , $ eventDispatcherDefinition ->getMethodCalls ());
62
62
}
63
63
64
- public function testAliasedEventSubscriber (): void
64
+ public function testAliasedEventSubscriber ()
65
65
{
66
66
$ builder = new ContainerBuilder ();
67
67
$ builder ->setParameter ('event_dispatcher.event_aliases ' , [AliasedEvent::class => 'aliased_event ' ]);
@@ -210,7 +210,7 @@ public function testInvokableEventListener()
210
210
$ this ->assertEquals ($ expectedCalls , $ definition ->getMethodCalls ());
211
211
}
212
212
213
- public function testAliasedEventListener (): void
213
+ public function testAliasedEventListener ()
214
214
{
215
215
$ container = new ContainerBuilder ();
216
216
$ eventAliases = [AliasedEvent::class => 'aliased_event ' ];
@@ -251,7 +251,7 @@ public function testAliasedEventListener(): void
251
251
$ this ->assertEquals ($ expectedCalls , $ definition ->getMethodCalls ());
252
252
}
253
253
254
- public function testOmitEventNameOnTypedListener (): void
254
+ public function testOmitEventNameOnTypedListener ()
255
255
{
256
256
$ container = new ContainerBuilder ();
257
257
$ container ->setParameter ('event_dispatcher.event_aliases ' , [AliasedEvent::class => 'aliased_event ' ]);
@@ -284,7 +284,7 @@ public function testOmitEventNameOnTypedListener(): void
284
284
$ this ->assertEquals ($ expectedCalls , $ definition ->getMethodCalls ());
285
285
}
286
286
287
- public function testOmitEventNameOnUntypedListener (): void
287
+ public function testOmitEventNameOnUntypedListener ()
288
288
{
289
289
$ container = new ContainerBuilder ();
290
290
$ container ->register ('foo ' , InvokableListenerService::class)->addTag ('kernel.event_listener ' , ['method ' => 'onEvent ' ]);
@@ -297,7 +297,7 @@ public function testOmitEventNameOnUntypedListener(): void
297
297
$ registerListenersPass ->process ($ container );
298
298
}
299
299
300
- public function testOmitEventNameAndMethodOnUntypedListener (): void
300
+ public function testOmitEventNameAndMethodOnUntypedListener ()
301
301
{
302
302
$ container = new ContainerBuilder ();
303
303
$ container ->register ('foo ' , InvokableListenerService::class)->addTag ('kernel.event_listener ' );
@@ -313,7 +313,7 @@ public function testOmitEventNameAndMethodOnUntypedListener(): void
313
313
/**
314
314
* @requires PHP 7.2
315
315
*/
316
- public function testOmitEventNameAndMethodOnGenericListener (): void
316
+ public function testOmitEventNameAndMethodOnGenericListener ()
317
317
{
318
318
$ container = new ContainerBuilder ();
319
319
$ container ->register ('foo ' , GenericListener::class)->addTag ('kernel.event_listener ' );
@@ -326,7 +326,7 @@ public function testOmitEventNameAndMethodOnGenericListener(): void
326
326
$ registerListenersPass ->process ($ container );
327
327
}
328
328
329
- public function testOmitEventNameOnSubscriber (): void
329
+ public function testOmitEventNameOnSubscriber ()
330
330
{
331
331
$ container = new ContainerBuilder ();
332
332
$ container ->register ('subscriber ' , IncompleteSubscriber::class)
0 commit comments