diff --git a/src/Bridge/Symfony/Bundle/IrsteaApiMetadataBundle.php b/src/Bridge/Symfony/Bundle/IrsteaApiMetadataBundle.php index 9510c2f060ad89821ae3ce8b780522ac725ccdfc..ea5f90ec9b998150433220b9b6e6ad8242948d51 100644 --- a/src/Bridge/Symfony/Bundle/IrsteaApiMetadataBundle.php +++ b/src/Bridge/Symfony/Bundle/IrsteaApiMetadataBundle.php @@ -27,5 +27,4 @@ use Symfony\Component\HttpKernel\Bundle\Bundle; */ class IrsteaApiMetadataBundle extends Bundle { - } diff --git a/tests/Fixtures/TestKernel.php b/tests/Fixtures/TestKernel.php index df0cf4e0d5d4133a237faa115204cd21a3274600..9e5dce04e1a910eaf14cb5d852e134f7ff40ccfe 100644 --- a/tests/Fixtures/TestKernel.php +++ b/tests/Fixtures/TestKernel.php @@ -22,7 +22,6 @@ namespace Irstea\ApiMetadata\Tests\Fixtures; use ApiPlatform\Core\Bridge\Symfony\Bundle\ApiPlatformBundle; use Doctrine\Bundle\DoctrineBundle\DoctrineBundle; -use Irstea\ApiMetadata\Bridge\Symfony\Bundle\ApiMetadataBundle; use Irstea\ApiMetadata\Bridge\Symfony\Bundle\IrsteaApiMetadataBundle; use Symfony\Bundle\FrameworkBundle\FrameworkBundle; use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait; @@ -96,9 +95,9 @@ class TestKernel extends Kernel $c->loadFromExtension('api_platform', [ 'mapping' => [ 'paths' => [ - __DIR__ . '/Entity' - ] - ] + __DIR__ . '/Entity', + ], + ], ]); } diff --git a/tests/Functional/ReflectionTest.php b/tests/Functional/ReflectionTest.php index b4940666b5ebd18c4317924a1a868c133e7da857..3b2091d5307f8ff98aa48aeb475bb8b8ae7cb61b 100644 --- a/tests/Functional/ReflectionTest.php +++ b/tests/Functional/ReflectionTest.php @@ -1,20 +1,29 @@ <?php declare(strict_types=1); -/** +/* + * This file is part of "irstea/api-metadata". + * * Copyright (C) 2019 IRSTEA - * All rights reserved. * - * @copyright 2019 IRSTEA - * @author guillaume.perreal + * This program is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A + * PARTICULAR PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License and the GNU + * Lesser General Public License along with this program. If not, see + * <https://www.gnu.org/licenses/>. */ - namespace Irstea\ApiMetadata\Tests\Functional; - use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; /** - * Class ReflectionTest + * Class ReflectionTest. * * @covers \Irstea\ApiMetadata\Factory\ResourceTypeFactory * @covers \Irstea\ApiMetadata\DataProvider\ResourceMetadataProvider @@ -31,5 +40,4 @@ class ReflectionTest extends WebTestCase self::assertTrue($response->isOk()); self::assertJson($response->getContent()); } - }