Remove void return type from test methods
This commit is contained in:
parent
5eeb95726d
commit
f126cf1304
|
@ -71,7 +71,7 @@ class AddSecurityVotersPassTest extends TestCase
|
|||
$this->assertCount(4, $refs);
|
||||
}
|
||||
|
||||
public function testThatVotersAreTraceableInDebugMode(): void
|
||||
public function testThatVotersAreTraceableInDebugMode()
|
||||
{
|
||||
$container = new ContainerBuilder();
|
||||
|
||||
|
@ -103,7 +103,7 @@ class AddSecurityVotersPassTest extends TestCase
|
|||
$this->assertCount(2, $voters, 'Incorrect count of voters');
|
||||
}
|
||||
|
||||
public function testThatVotersAreNotTraceableWithoutDebugMode(): void
|
||||
public function testThatVotersAreNotTraceableWithoutDebugMode()
|
||||
{
|
||||
$container = new ContainerBuilder();
|
||||
$container->setParameter('kernel.debug', false);
|
||||
|
|
|
@ -19,7 +19,7 @@ use Twig\Environment;
|
|||
|
||||
class ExceptionListenerPassTest extends TestCase
|
||||
{
|
||||
public function testExitsWhenTwigIsNotAvailable(): void
|
||||
public function testExitsWhenTwigIsNotAvailable()
|
||||
{
|
||||
$builder = new ContainerBuilder();
|
||||
$builder->register('exception_listener', ExceptionListener::class);
|
||||
|
|
Reference in New Issue