apply more cs rules for php-cs

This commit is contained in:
2023-10-17 13:27:03 +02:00
parent 0b0cbed9db
commit bc2041cbdd
1485 changed files with 8169 additions and 9620 deletions

View File

@@ -17,6 +17,7 @@ use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
/**
* @internal
*
* @coversNothing
*/
class ClosingMotiveRenderTest extends KernelTestCase
@@ -31,7 +32,6 @@ class ClosingMotiveRenderTest extends KernelTestCase
/**
* @dataProvider provideClosingMotiveWithRenderString
* @return void
*/
public function testRenderString(ClosingMotive $closingMotive, string $expected): void
{
@@ -42,14 +42,12 @@ class ClosingMotiveRenderTest extends KernelTestCase
/**
* @dataProvider provideClosingMotiveWithRenderString
* @return void
*/
public function testRenderBox(ClosingMotive $closingMotive, string $expectedContent): void
{
$actual = strip_tags(self::$closingMotiveRender->renderBox($closingMotive, []));
self::assertStringContainsString($expectedContent, $actual);
}
public function provideClosingMotiveWithRenderString(): iterable
@@ -73,9 +71,5 @@ class ClosingMotiveRenderTest extends KernelTestCase
$closingMotiveParent->addChildren($closingMotive);
yield [$closingMotive, 'Parent > Children (annulé)'];
}
}