From e81e2f9f10acf5c80a541f09c3a939ed794d82e8 Mon Sep 17 00:00:00 2001
From: Perreal Guillaume <guillaume.perreal@irstea.fr>
Date: Wed, 24 Apr 2019 11:25:44 +0200
Subject: [PATCH] CS.

---
 .../Bundle/IrsteaApiMetadataBundle.php        |  1 -
 tests/Fixtures/TestKernel.php                 |  7 +++---
 tests/Functional/ReflectionTest.php           | 24 ++++++++++++-------
 3 files changed, 19 insertions(+), 13 deletions(-)

diff --git a/src/Bridge/Symfony/Bundle/IrsteaApiMetadataBundle.php b/src/Bridge/Symfony/Bundle/IrsteaApiMetadataBundle.php
index 9510c2f..ea5f90e 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 df0cf4e..9e5dce0 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 b494066..3b2091d 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());
     }
-
 }
-- 
GitLab