Skip to content

Commit a71912d

Browse files
committed
minor symfony#39541 Remove void return type from test methods (OskarStark)
This PR was merged into the 4.4 branch. Discussion ---------- Remove void return type from test methods | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | --- | License | MIT | Doc PR | --- cc @nicolas-grekas Commits ------- f126cf1 Remove void return type from test methods
2 parents 5eeb957 + f126cf1 commit a71912d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Compiler/AddSecurityVotersPassTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function testThatSecurityVotersAreProcessedInPriorityOrder()
7171
$this->assertCount(4, $refs);
7272
}
7373

74-
public function testThatVotersAreTraceableInDebugMode(): void
74+
public function testThatVotersAreTraceableInDebugMode()
7575
{
7676
$container = new ContainerBuilder();
7777

@@ -103,7 +103,7 @@ public function testThatVotersAreTraceableInDebugMode(): void
103103
$this->assertCount(2, $voters, 'Incorrect count of voters');
104104
}
105105

106-
public function testThatVotersAreNotTraceableWithoutDebugMode(): void
106+
public function testThatVotersAreNotTraceableWithoutDebugMode()
107107
{
108108
$container = new ContainerBuilder();
109109
$container->setParameter('kernel.debug', false);

src/Symfony/Bundle/TwigBundle/Tests/DependencyInjection/Compiler/ExceptionListenerPassTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
class ExceptionListenerPassTest extends TestCase
2121
{
22-
public function testExitsWhenTwigIsNotAvailable(): void
22+
public function testExitsWhenTwigIsNotAvailable()
2323
{
2424
$builder = new ContainerBuilder();
2525
$builder->register('exception_listener', ExceptionListener::class);

0 commit comments

Comments
 (0)