@@ -39,7 +39,7 @@ final class EventDispatchingPassTest extends TestCase
3939 * @test
4040 * @group DependencyInjection
4141 */
42- public function testProcessFullConfiguration ()
42+ public function testProcessFullConfiguration (): void
4343 {
4444 $ container = new ContainerBuilder ();
4545 $ container ->setParameter ('kernel.debug ' , true );
@@ -74,7 +74,7 @@ public function testProcessFullConfiguration()
7474 * @test
7575 * @group DependencyInjection
7676 */
77- public function testProcessFullConfigurationWithSingleLogItemDisabled ()
77+ public function testProcessFullConfigurationWithSingleLogItemDisabled (): void
7878 {
7979 $ container = $ this ->containerWithConfig ([
8080 'log ' => [
@@ -129,7 +129,7 @@ public function testProcessMinimalConfiguration()
129129 * @test
130130 * @group DependencyInjection
131131 */
132- public function testBearerToken ()
132+ public function testBearerToken (): void
133133 {
134134 $ container = $ this ->containerWithConfig (['options ' => ['bearer_token ' => 'foobar ' ]]);
135135
@@ -141,7 +141,7 @@ public function testBearerToken()
141141 * @test
142142 * @group DependencyInjection
143143 */
144- public function testWithFaultyAdapter ()
144+ public function testWithFaultyAdapter (): void
145145 {
146146 $ this ->expectException (\RuntimeException::class);
147147
@@ -152,7 +152,7 @@ public function testWithFaultyAdapter()
152152 * @test
153153 * @group DependencyInjection
154154 */
155- public function testWithFaultyFormatter ()
155+ public function testWithFaultyFormatter (): void
156156 {
157157 $ this ->expectException (\RuntimeException::class);
158158
@@ -163,7 +163,7 @@ public function testWithFaultyFormatter()
163163 * @test
164164 * @group DependencyInjection
165165 */
166- public function testWithFaultyListener ()
166+ public function testWithFaultyListener (): void
167167 {
168168 $ this ->expectException (\RuntimeException::class);
169169
@@ -174,7 +174,7 @@ public function testWithFaultyListener()
174174 * @test
175175 * @group DependencyInjection
176176 */
177- public function testWithLogItemAliases ()
177+ public function testWithLogItemAliases (): void
178178 {
179179 $ container = new ContainerBuilder ();
180180 $ container ->setParameter ('kernel.debug ' , true );
@@ -209,7 +209,7 @@ public function testWithLogItemAliases()
209209 * @param array $faulty
210210 * @return ContainerBuilder
211211 */
212- private function containerWithConfig (array $ faulty = [])
212+ private function containerWithConfig (array $ faulty = []): ContainerBuilder
213213 {
214214 $ container = new ContainerBuilder ();
215215 $ container ->setParameter ('kernel.debug ' , true );
@@ -235,7 +235,7 @@ private function containerWithConfig(array $faulty = [])
235235 /**
236236 * @param ContainerBuilder $container
237237 */
238- protected function registerBasicServices (ContainerBuilder $ container )
238+ protected function registerBasicServices (ContainerBuilder $ container ): void
239239 {
240240 $ container ->register (EventDispatcher::class, EventDispatcher::class)->addTag (
241241 TmdbSymfonyBundle::PSR14_EVENT_DISPATCHERS
@@ -279,7 +279,7 @@ protected function registerBasicServices(ContainerBuilder $container)
279279 /**
280280 * @param ContainerBuilder $container
281281 */
282- protected function registerListenerServices (ContainerBuilder $ container )
282+ protected function registerListenerServices (ContainerBuilder $ container ): void
283283 {
284284 $ container ->register (RequestListener::class, RequestListener::class);
285285 $ container ->register (Psr6CachedRequestListener::class, Psr6CachedRequestListener::class);
@@ -306,7 +306,8 @@ protected function doAssertCountListenersRegistered(
306306 int $ httpClientExceptionEventCount = 0 ,
307307 int $ tmdbExceptionEventCount = 0 ,
308308 int $ beforeHydrationEventCount = 0
309- ) {
309+ ): void
310+ {
310311 /** @var Client $client */
311312 $ client = $ container ->get (Client::class);
312313
0 commit comments