diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index b8e14f420..6f2414a32 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -20,5 +20,6 @@ file that was distributed with this source code. HEADER ], + 'trailing_comma_in_multiline' => false, ]) ->setFinder($finder); diff --git a/tests/Functional/ControllerTest.php b/tests/Functional/ControllerTest.php index 62db61d4b..0019cf36f 100644 --- a/tests/Functional/ControllerTest.php +++ b/tests/Functional/ControllerTest.php @@ -14,7 +14,6 @@ use OpenApi\Annotations as OA; use Symfony\Component\HttpKernel\Attribute\MapRequestPayload; use Symfony\Component\HttpKernel\Kernel; -use Symfony\Component\HttpKernel\KernelInterface; use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator; /** @@ -30,16 +29,6 @@ final class ControllerTest extends WebTestCase protected function setUp(): void { $this->configurableContainerFactory = new ConfigurableContainerFactory(); - - static::createClient([], ['HTTP_HOST' => 'api.example.com']); - } - - /** - * @param array $options - */ - protected static function createKernel(array $options = []): KernelInterface - { - return new NelmioKernel([], null, []); } protected function getOpenApiDefinition(string $area = 'default'): OA\OpenApi