From 3dea122b986b8099a5b3f3ce537298ec0a19733a Mon Sep 17 00:00:00 2001 From: Piotr Antosik Date: Tue, 10 Nov 2015 01:27:09 +0100 Subject: [PATCH] fix comment in tests --- Tests/Command/DumpCommandTest.php | 9 +++++++++ Tests/Controller/ApiDocControllerTest.php | 13 ++++++++----- Tests/Extractor/CachingApiDocExtractorTest.php | 9 +++++++++ Tests/Extractor/CollectionDirectiveTest.php | 9 +++++++++ Tests/Extractor/Handler/FosRestHandlerTest.php | 1 + .../Handler/SensioFrameworkExtraHandlerTest.php | 1 + Tests/Extractor/TestExtractor.php | 9 +++++++++ Tests/Fixtures/Controller/ResourceController.php | 1 + Tests/Fixtures/Form/CompoundType.php | 9 +++++++++ Tests/Fixtures/Form/ImprovedTestType.php | 9 +++++++++ Tests/Fixtures/Form/RequiredType.php | 9 +++++++++ Tests/Fixtures/Form/SimpleType.php | 9 +++++++++ Tests/Fixtures/Model/JmsChild.php | 10 ++++++++++ Tests/Fixtures/Model/JmsInline.php | 9 +++++++++ Tests/Fixtures/Model/JmsNested.php | 10 ++++++++++ Tests/Fixtures/Model/JmsTest.php | 9 +++++++++ .../JsonSerializableOptionalConstructorTest.php | 10 ++++++++-- .../JsonSerializableRequiredConstructorTest.php | 10 ++++++++-- Tests/Fixtures/Model/JsonSerializableTest.php | 10 ++++++++-- Tests/Fixtures/Model/MultipleTest.php | 9 +++++++++ Tests/Parser/FormTypeParserTest.php | 10 ++++++++++ Tests/Parser/JmsMetadataParserTest.php | 10 ++++++++++ Tests/Parser/JsonSerializableParserTest.php | 10 ++++++++-- Tests/Parser/ValidationParserTest.php | 10 ++++++++++ 24 files changed, 192 insertions(+), 13 deletions(-) diff --git a/Tests/Command/DumpCommandTest.php b/Tests/Command/DumpCommandTest.php index b2ce41b..3c24033 100644 --- a/Tests/Command/DumpCommandTest.php +++ b/Tests/Command/DumpCommandTest.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace NelmioApiDocBundle\Tests\Command; use Nelmio\ApiDocBundle\Tests\WebTestCase; diff --git a/Tests/Controller/ApiDocControllerTest.php b/Tests/Controller/ApiDocControllerTest.php index 12863c6..564eb34 100644 --- a/Tests/Controller/ApiDocControllerTest.php +++ b/Tests/Controller/ApiDocControllerTest.php @@ -1,9 +1,12 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ namespace NelmioApiDocBundle\Tests\Controller; diff --git a/Tests/Extractor/CachingApiDocExtractorTest.php b/Tests/Extractor/CachingApiDocExtractorTest.php index 8303121..1fe97c0 100644 --- a/Tests/Extractor/CachingApiDocExtractorTest.php +++ b/Tests/Extractor/CachingApiDocExtractorTest.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Nelmio\ApiDocBundle\Tests\Extractor; use Nelmio\ApiDocBundle\Annotation\ApiDoc; diff --git a/Tests/Extractor/CollectionDirectiveTest.php b/Tests/Extractor/CollectionDirectiveTest.php index 34deef8..d00e13d 100644 --- a/Tests/Extractor/CollectionDirectiveTest.php +++ b/Tests/Extractor/CollectionDirectiveTest.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Nelmio\ApiDocBundle\Tests\Extractor; class CollectionDirectiveTest extends \PHPUnit_Framework_TestCase diff --git a/Tests/Extractor/Handler/FosRestHandlerTest.php b/Tests/Extractor/Handler/FosRestHandlerTest.php index 0614a03..500cc31 100644 --- a/Tests/Extractor/Handler/FosRestHandlerTest.php +++ b/Tests/Extractor/Handler/FosRestHandlerTest.php @@ -1,4 +1,5 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Nelmio\ApiDocBundle\Tests\Extractor; use Nelmio\ApiDocBundle\Extractor\ApiDocExtractor; diff --git a/Tests/Fixtures/Controller/ResourceController.php b/Tests/Fixtures/Controller/ResourceController.php index 9a25a00..e1e0053 100644 --- a/Tests/Fixtures/Controller/ResourceController.php +++ b/Tests/Fixtures/Controller/ResourceController.php @@ -10,6 +10,7 @@ */ namespace Nelmio\ApiDocBundle\Tests\Fixtures\Controller; + use Nelmio\ApiDocBundle\Annotation\ApiDoc; class ResourceController diff --git a/Tests/Fixtures/Form/CompoundType.php b/Tests/Fixtures/Form/CompoundType.php index 63d6675..5526663 100644 --- a/Tests/Fixtures/Form/CompoundType.php +++ b/Tests/Fixtures/Form/CompoundType.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Nelmio\ApiDocBundle\Tests\Fixtures\Form; use Symfony\Component\Form\AbstractType; diff --git a/Tests/Fixtures/Form/ImprovedTestType.php b/Tests/Fixtures/Form/ImprovedTestType.php index 336b61e..8c70b0e 100644 --- a/Tests/Fixtures/Form/ImprovedTestType.php +++ b/Tests/Fixtures/Form/ImprovedTestType.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Nelmio\ApiDocBundle\Tests\Fixtures\Form; use Symfony\Component\Form\AbstractType; diff --git a/Tests/Fixtures/Form/RequiredType.php b/Tests/Fixtures/Form/RequiredType.php index c0e2ec5..dce97aa 100644 --- a/Tests/Fixtures/Form/RequiredType.php +++ b/Tests/Fixtures/Form/RequiredType.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Nelmio\ApiDocBundle\Tests\Fixtures\Form; use Symfony\Component\Form\AbstractType; diff --git a/Tests/Fixtures/Form/SimpleType.php b/Tests/Fixtures/Form/SimpleType.php index bb7886a..107c5e4 100644 --- a/Tests/Fixtures/Form/SimpleType.php +++ b/Tests/Fixtures/Form/SimpleType.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Nelmio\ApiDocBundle\Tests\Fixtures\Form; use Symfony\Component\Form\AbstractType; diff --git a/Tests/Fixtures/Model/JmsChild.php b/Tests/Fixtures/Model/JmsChild.php index 5244e81..8105807 100644 --- a/Tests/Fixtures/Model/JmsChild.php +++ b/Tests/Fixtures/Model/JmsChild.php @@ -1,4 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Nelmio\ApiDocBundle\Tests\Fixtures\Model; use JMS\Serializer\Annotation as JMS; diff --git a/Tests/Fixtures/Model/JmsInline.php b/Tests/Fixtures/Model/JmsInline.php index 254a004..7a0e8a7 100644 --- a/Tests/Fixtures/Model/JmsInline.php +++ b/Tests/Fixtures/Model/JmsInline.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Nelmio\ApiDocBundle\Tests\Fixtures\Model; use JMS\Serializer\Annotation as JMS; diff --git a/Tests/Fixtures/Model/JmsNested.php b/Tests/Fixtures/Model/JmsNested.php index bfc946b..ac9dab3 100644 --- a/Tests/Fixtures/Model/JmsNested.php +++ b/Tests/Fixtures/Model/JmsNested.php @@ -1,4 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Nelmio\ApiDocBundle\Tests\Fixtures\Model; use JMS\Serializer\Annotation as JMS; diff --git a/Tests/Fixtures/Model/JmsTest.php b/Tests/Fixtures/Model/JmsTest.php index 4c2351d..5fe2ae1 100644 --- a/Tests/Fixtures/Model/JmsTest.php +++ b/Tests/Fixtures/Model/JmsTest.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Nelmio\ApiDocBundle\Tests\Fixtures\Model; use JMS\Serializer\Annotation as JMS; diff --git a/Tests/Fixtures/Model/JsonSerializableOptionalConstructorTest.php b/Tests/Fixtures/Model/JsonSerializableOptionalConstructorTest.php index ad631af..bb43f8d 100644 --- a/Tests/Fixtures/Model/JsonSerializableOptionalConstructorTest.php +++ b/Tests/Fixtures/Model/JsonSerializableOptionalConstructorTest.php @@ -1,6 +1,12 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ namespace Nelmio\ApiDocBundle\Tests\Fixtures\Model; diff --git a/Tests/Fixtures/Model/JsonSerializableRequiredConstructorTest.php b/Tests/Fixtures/Model/JsonSerializableRequiredConstructorTest.php index 055f30b..5dfcc6b 100644 --- a/Tests/Fixtures/Model/JsonSerializableRequiredConstructorTest.php +++ b/Tests/Fixtures/Model/JsonSerializableRequiredConstructorTest.php @@ -1,6 +1,12 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ namespace Nelmio\ApiDocBundle\Tests\Fixtures\Model; diff --git a/Tests/Fixtures/Model/JsonSerializableTest.php b/Tests/Fixtures/Model/JsonSerializableTest.php index bb6bbcb..c4dd807 100644 --- a/Tests/Fixtures/Model/JsonSerializableTest.php +++ b/Tests/Fixtures/Model/JsonSerializableTest.php @@ -1,6 +1,12 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ namespace Nelmio\ApiDocBundle\Tests\Fixtures\Model; diff --git a/Tests/Fixtures/Model/MultipleTest.php b/Tests/Fixtures/Model/MultipleTest.php index 2a4b3e0..5d9fddd 100644 --- a/Tests/Fixtures/Model/MultipleTest.php +++ b/Tests/Fixtures/Model/MultipleTest.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Nelmio\ApiDocBundle\Tests\Fixtures\Model; use JMS\Serializer\Annotation as JMS; diff --git a/Tests/Parser/FormTypeParserTest.php b/Tests/Parser/FormTypeParserTest.php index 3f1bd93..75b60d6 100644 --- a/Tests/Parser/FormTypeParserTest.php +++ b/Tests/Parser/FormTypeParserTest.php @@ -1,4 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace NelmioApiDocBundle\Tests\Parser; use Nelmio\ApiDocBundle\DataTypes; diff --git a/Tests/Parser/JmsMetadataParserTest.php b/Tests/Parser/JmsMetadataParserTest.php index e4a66fc..b11f5ec 100644 --- a/Tests/Parser/JmsMetadataParserTest.php +++ b/Tests/Parser/JmsMetadataParserTest.php @@ -1,4 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace NelmioApiDocBundle\Tests\Parser; use Nelmio\ApiDocBundle\DataTypes; diff --git a/Tests/Parser/JsonSerializableParserTest.php b/Tests/Parser/JsonSerializableParserTest.php index 88d4e98..f3438af 100644 --- a/Tests/Parser/JsonSerializableParserTest.php +++ b/Tests/Parser/JsonSerializableParserTest.php @@ -1,6 +1,12 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ namespace NelmioApiDocBundle\Tests\Parser; diff --git a/Tests/Parser/ValidationParserTest.php b/Tests/Parser/ValidationParserTest.php index b68287a..bf219b3 100644 --- a/Tests/Parser/ValidationParserTest.php +++ b/Tests/Parser/ValidationParserTest.php @@ -1,4 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace NelmioApiDocBundle\Tests\Parser; use Nelmio\ApiDocBundle\DataTypes;