From 3a4d9cb185b1bc0bb4982de6af5c6479144a53d7 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sat, 2 Oct 2010 12:42:31 +0200 Subject: [PATCH] [Validation] fixed license --- src/Symfony/Component/Validator/Constraint.php | 9 +++++++++ .../Component/Validator/ConstraintValidator.php | 9 +++++++++ .../Validator/ConstraintValidatorFactory.php | 9 +++++++++ .../ConstraintValidatorFactoryInterface.php | 11 ++++++++++- .../Validator/ConstraintValidatorInterface.php | 11 ++++++++++- .../Component/Validator/ConstraintViolation.php | 9 +++++++++ .../Validator/ConstraintViolationList.php | 9 +++++++++ .../Component/Validator/Constraints/All.php | 9 +++++++++ .../Validator/Constraints/AllValidator.php | 9 +++++++++ .../Validator/Constraints/AssertFalse.php | 9 +++++++++ .../Constraints/AssertFalseValidator.php | 9 +++++++++ .../Validator/Constraints/AssertTrue.php | 9 +++++++++ .../Constraints/AssertTrueValidator.php | 9 +++++++++ .../Validator/Constraints/AssertType.php | 9 +++++++++ .../Constraints/AssertTypeValidator.php | 9 +++++++++ .../Component/Validator/Constraints/Blank.php | 9 +++++++++ .../Validator/Constraints/BlankValidator.php | 9 +++++++++ .../Component/Validator/Constraints/Choice.php | 7 ++++--- .../Validator/Constraints/ChoiceValidator.php | 17 +++++++++-------- .../Validator/Constraints/Collection.php | 9 +++++++++ .../Constraints/CollectionValidator.php | 9 +++++++++ .../Component/Validator/Constraints/Date.php | 9 +++++++++ .../Validator/Constraints/DateTime.php | 9 +++++++++ .../Validator/Constraints/DateTimeValidator.php | 9 +++++++++ .../Validator/Constraints/DateValidator.php | 9 +++++++++ .../Component/Validator/Constraints/Email.php | 9 +++++++++ .../Validator/Constraints/EmailValidator.php | 9 +++++++++ .../Component/Validator/Constraints/File.php | 9 +++++++++ .../Validator/Constraints/FileValidator.php | 9 +++++++++ .../Component/Validator/Constraints/Max.php | 9 +++++++++ .../Validator/Constraints/MaxLength.php | 9 +++++++++ .../Constraints/MaxLengthValidator.php | 9 +++++++++ .../Validator/Constraints/MaxValidator.php | 9 +++++++++ .../Component/Validator/Constraints/Min.php | 9 +++++++++ .../Validator/Constraints/MinLength.php | 9 +++++++++ .../Constraints/MinLengthValidator.php | 9 +++++++++ .../Validator/Constraints/MinValidator.php | 9 +++++++++ .../Validator/Constraints/NotBlank.php | 9 +++++++++ .../Validator/Constraints/NotBlankValidator.php | 9 +++++++++ .../Component/Validator/Constraints/NotNull.php | 9 +++++++++ .../Validator/Constraints/NotNullValidator.php | 9 +++++++++ .../Component/Validator/Constraints/Null.php | 9 +++++++++ .../Validator/Constraints/NullValidator.php | 9 +++++++++ .../Component/Validator/Constraints/Regex.php | 9 +++++++++ .../Validator/Constraints/RegexValidator.php | 9 +++++++++ .../Component/Validator/Constraints/Time.php | 9 +++++++++ .../Validator/Constraints/TimeValidator.php | 9 +++++++++ .../Component/Validator/Constraints/Url.php | 9 +++++++++ .../Validator/Constraints/UrlValidator.php | 9 +++++++++ .../Component/Validator/Constraints/Valid.php | 9 +++++++++ .../Validator/Constraints/ValidValidator.php | 9 +++++++++ .../Validator/Constraints/Validation.php | 9 +++++++++ .../Exception/ConstraintDefinitionException.php | 9 +++++++++ .../Exception/InvalidOptionsException.php | 9 +++++++++ .../Validator/Exception/MappingException.php | 9 +++++++++ .../Exception/MissingOptionsException.php | 9 +++++++++ .../Exception/UnexpectedTypeException.php | 9 +++++++++ .../Validator/Exception/ValidatorException.php | 9 +++++++++ .../DependencyInjectionValidatorFactory.php | 9 +++++++++ src/Symfony/Component/Validator/GraphWalker.php | 9 +++++++++ src/Symfony/Component/Validator/GroupChain.php | 9 +++++++++ .../Validator/Mapping/Cache/CacheInterface.php | 9 +++++++++ .../Validator/Mapping/ClassMetadata.php | 9 +++++++++ .../Validator/Mapping/ClassMetadataFactory.php | 9 +++++++++ .../Mapping/ClassMetadataFactoryInterface.php | 9 +++++++++ .../Validator/Mapping/ElementMetadata.php | 9 +++++++++ .../Validator/Mapping/GetterMetadata.php | 9 +++++++++ .../Mapping/Loader/AnnotationLoader.php | 9 +++++++++ .../Validator/Mapping/Loader/FileLoader.php | 9 +++++++++ .../Validator/Mapping/Loader/FilesLoader.php | 9 +++++++++ .../Validator/Mapping/Loader/LoaderChain.php | 9 +++++++++ .../Mapping/Loader/LoaderInterface.php | 9 +++++++++ .../Mapping/Loader/StaticMethodLoader.php | 9 +++++++++ .../Validator/Mapping/Loader/XmlFileLoader.php | 9 +++++++++ .../Validator/Mapping/Loader/XmlFilesLoader.php | 9 +++++++++ .../Validator/Mapping/Loader/YamlFileLoader.php | 9 +++++++++ .../Mapping/Loader/YamlFilesLoader.php | 9 +++++++++ .../Validator/Mapping/MemberMetadata.php | 9 +++++++++ .../Validator/Mapping/PropertyMetadata.php | 9 +++++++++ .../Component/Validator/ValidationContext.php | 9 +++++++++ src/Symfony/Component/Validator/Validator.php | 9 +++++++++ .../Component/Validator/ValidatorInterface.php | 9 +++++++++ 82 files changed, 735 insertions(+), 13 deletions(-) diff --git a/src/Symfony/Component/Validator/Constraint.php b/src/Symfony/Component/Validator/Constraint.php index aeb5a95ca0..fa7d0ba0ee 100644 --- a/src/Symfony/Component/Validator/Constraint.php +++ b/src/Symfony/Component/Validator/Constraint.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Exception\InvalidOptionsException; use Symfony\Component\Validator\Exception\MissingOptionsException; use Symfony\Component\Validator\Exception\ConstraintDefinitionException; diff --git a/src/Symfony/Component/Validator/ConstraintValidator.php b/src/Symfony/Component/Validator/ConstraintValidator.php index 917da9330e..69ed6a3dcb 100644 --- a/src/Symfony/Component/Validator/ConstraintValidator.php +++ b/src/Symfony/Component/Validator/ConstraintValidator.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + abstract class ConstraintValidator implements ConstraintValidatorInterface { protected $context; diff --git a/src/Symfony/Component/Validator/ConstraintValidatorFactory.php b/src/Symfony/Component/Validator/ConstraintValidatorFactory.php index fc2fe7e580..613860884d 100644 --- a/src/Symfony/Component/Validator/ConstraintValidatorFactory.php +++ b/src/Symfony/Component/Validator/ConstraintValidatorFactory.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\ConstraintValidatorFactoryInterface; use Symfony\Component\Validator\Constraint; diff --git a/src/Symfony/Component/Validator/ConstraintValidatorFactoryInterface.php b/src/Symfony/Component/Validator/ConstraintValidatorFactoryInterface.php index 363200ffa4..5be3c62c62 100644 --- a/src/Symfony/Component/Validator/ConstraintValidatorFactoryInterface.php +++ b/src/Symfony/Component/Validator/ConstraintValidatorFactoryInterface.php @@ -2,9 +2,18 @@ namespace Symfony\Component\Validator; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Constraint; interface ConstraintValidatorFactoryInterface { public function getInstance(Constraint $constraint); -} \ No newline at end of file +} diff --git a/src/Symfony/Component/Validator/ConstraintValidatorInterface.php b/src/Symfony/Component/Validator/ConstraintValidatorInterface.php index 96e7d66f1f..9e22e22fb0 100644 --- a/src/Symfony/Component/Validator/ConstraintValidatorInterface.php +++ b/src/Symfony/Component/Validator/ConstraintValidatorInterface.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + interface ConstraintValidatorInterface { public function initialize(ValidationContext $context); @@ -11,4 +20,4 @@ interface ConstraintValidatorInterface public function getMessageTemplate(); public function getMessageParameters(); -} \ No newline at end of file +} diff --git a/src/Symfony/Component/Validator/ConstraintViolation.php b/src/Symfony/Component/Validator/ConstraintViolation.php index 181744ebe1..9b9cb2a0d8 100644 --- a/src/Symfony/Component/Validator/ConstraintViolation.php +++ b/src/Symfony/Component/Validator/ConstraintViolation.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class ConstraintViolation { protected $messageTemplate; diff --git a/src/Symfony/Component/Validator/ConstraintViolationList.php b/src/Symfony/Component/Validator/ConstraintViolationList.php index 7b112e0a64..aaf3da37ea 100644 --- a/src/Symfony/Component/Validator/ConstraintViolationList.php +++ b/src/Symfony/Component/Validator/ConstraintViolationList.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class ConstraintViolationList implements \IteratorAggregate, \Countable { protected $violations = array(); diff --git a/src/Symfony/Component/Validator/Constraints/All.php b/src/Symfony/Component/Validator/Constraints/All.php index 8aa964cb13..04e40fecfe 100644 --- a/src/Symfony/Component/Validator/Constraints/All.php +++ b/src/Symfony/Component/Validator/Constraints/All.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class All extends \Symfony\Component\Validator\Constraint { public $constraints = array(); diff --git a/src/Symfony/Component/Validator/Constraints/AllValidator.php b/src/Symfony/Component/Validator/Constraints/AllValidator.php index 1aafb66838..89ebd67c94 100644 --- a/src/Symfony/Component/Validator/Constraints/AllValidator.php +++ b/src/Symfony/Component/Validator/Constraints/AllValidator.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; diff --git a/src/Symfony/Component/Validator/Constraints/AssertFalse.php b/src/Symfony/Component/Validator/Constraints/AssertFalse.php index a894acc01a..a69eb950e9 100644 --- a/src/Symfony/Component/Validator/Constraints/AssertFalse.php +++ b/src/Symfony/Component/Validator/Constraints/AssertFalse.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class AssertFalse extends \Symfony\Component\Validator\Constraint { public $message = 'This value should be false'; diff --git a/src/Symfony/Component/Validator/Constraints/AssertFalseValidator.php b/src/Symfony/Component/Validator/Constraints/AssertFalseValidator.php index d9682278cd..b5cd9f01f0 100644 --- a/src/Symfony/Component/Validator/Constraints/AssertFalseValidator.php +++ b/src/Symfony/Component/Validator/Constraints/AssertFalseValidator.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; diff --git a/src/Symfony/Component/Validator/Constraints/AssertTrue.php b/src/Symfony/Component/Validator/Constraints/AssertTrue.php index 1a51801f5c..d16466c3a6 100644 --- a/src/Symfony/Component/Validator/Constraints/AssertTrue.php +++ b/src/Symfony/Component/Validator/Constraints/AssertTrue.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class AssertTrue extends \Symfony\Component\Validator\Constraint { public $message = 'This value should be true'; diff --git a/src/Symfony/Component/Validator/Constraints/AssertTrueValidator.php b/src/Symfony/Component/Validator/Constraints/AssertTrueValidator.php index 64d5c04841..8bdca310e8 100644 --- a/src/Symfony/Component/Validator/Constraints/AssertTrueValidator.php +++ b/src/Symfony/Component/Validator/Constraints/AssertTrueValidator.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; diff --git a/src/Symfony/Component/Validator/Constraints/AssertType.php b/src/Symfony/Component/Validator/Constraints/AssertType.php index 1a4658e6d7..a8539eef4e 100644 --- a/src/Symfony/Component/Validator/Constraints/AssertType.php +++ b/src/Symfony/Component/Validator/Constraints/AssertType.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class AssertType extends \Symfony\Component\Validator\Constraint { public $message = 'This value should be of type {{ type }}'; diff --git a/src/Symfony/Component/Validator/Constraints/AssertTypeValidator.php b/src/Symfony/Component/Validator/Constraints/AssertTypeValidator.php index f490521f76..c91ff17974 100644 --- a/src/Symfony/Component/Validator/Constraints/AssertTypeValidator.php +++ b/src/Symfony/Component/Validator/Constraints/AssertTypeValidator.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; diff --git a/src/Symfony/Component/Validator/Constraints/Blank.php b/src/Symfony/Component/Validator/Constraints/Blank.php index 714a731ae2..4d80972480 100644 --- a/src/Symfony/Component/Validator/Constraints/Blank.php +++ b/src/Symfony/Component/Validator/Constraints/Blank.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class Blank extends \Symfony\Component\Validator\Constraint { public $message = 'This value should be blank'; diff --git a/src/Symfony/Component/Validator/Constraints/BlankValidator.php b/src/Symfony/Component/Validator/Constraints/BlankValidator.php index 2826ea54e3..c578fa2958 100644 --- a/src/Symfony/Component/Validator/Constraints/BlankValidator.php +++ b/src/Symfony/Component/Validator/Constraints/BlankValidator.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; diff --git a/src/Symfony/Component/Validator/Constraints/Choice.php b/src/Symfony/Component/Validator/Constraints/Choice.php index 5d0d929e6f..123f7b2d3b 100644 --- a/src/Symfony/Component/Validator/Constraints/Choice.php +++ b/src/Symfony/Component/Validator/Constraints/Choice.php @@ -3,11 +3,12 @@ namespace Symfony\Component\Validator\Constraints; /* - * This file is part of the symfony package. + * This file is part of the Symfony framework. + * * (c) Fabien Potencier * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. */ class Choice extends \Symfony\Component\Validator\Constraint diff --git a/src/Symfony/Component/Validator/Constraints/ChoiceValidator.php b/src/Symfony/Component/Validator/Constraints/ChoiceValidator.php index 016c4c524a..1d8e0458e3 100644 --- a/src/Symfony/Component/Validator/Constraints/ChoiceValidator.php +++ b/src/Symfony/Component/Validator/Constraints/ChoiceValidator.php @@ -2,19 +2,20 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\ConstraintDefinitionException; use Symfony\Component\Validator\Exception\UnexpectedTypeException; -/* - * This file is part of the symfony package. - * (c) Fabien Potencier - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - /** * ChoiceValidator validates that the value is one of the expected values. * diff --git a/src/Symfony/Component/Validator/Constraints/Collection.php b/src/Symfony/Component/Validator/Constraints/Collection.php index 0cd404b975..375973d67d 100644 --- a/src/Symfony/Component/Validator/Constraints/Collection.php +++ b/src/Symfony/Component/Validator/Constraints/Collection.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class Collection extends \Symfony\Component\Validator\Constraint { public $fields; diff --git a/src/Symfony/Component/Validator/Constraints/CollectionValidator.php b/src/Symfony/Component/Validator/Constraints/CollectionValidator.php index cf0d181dd4..9f00f72326 100644 --- a/src/Symfony/Component/Validator/Constraints/CollectionValidator.php +++ b/src/Symfony/Component/Validator/Constraints/CollectionValidator.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\ConstraintDefinitionException; diff --git a/src/Symfony/Component/Validator/Constraints/Date.php b/src/Symfony/Component/Validator/Constraints/Date.php index b3391d795d..2696624594 100644 --- a/src/Symfony/Component/Validator/Constraints/Date.php +++ b/src/Symfony/Component/Validator/Constraints/Date.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class Date extends \Symfony\Component\Validator\Constraint { public $message = 'This value is not a valid date'; diff --git a/src/Symfony/Component/Validator/Constraints/DateTime.php b/src/Symfony/Component/Validator/Constraints/DateTime.php index fe326d0c52..1e1c093c89 100644 --- a/src/Symfony/Component/Validator/Constraints/DateTime.php +++ b/src/Symfony/Component/Validator/Constraints/DateTime.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class DateTime extends \Symfony\Component\Validator\Constraint { public $message = 'This value is not a valid datetime'; diff --git a/src/Symfony/Component/Validator/Constraints/DateTimeValidator.php b/src/Symfony/Component/Validator/Constraints/DateTimeValidator.php index 5c153dbc8c..8b27f34bc7 100644 --- a/src/Symfony/Component/Validator/Constraints/DateTimeValidator.php +++ b/src/Symfony/Component/Validator/Constraints/DateTimeValidator.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; diff --git a/src/Symfony/Component/Validator/Constraints/DateValidator.php b/src/Symfony/Component/Validator/Constraints/DateValidator.php index dc2a830a45..df855626cd 100644 --- a/src/Symfony/Component/Validator/Constraints/DateValidator.php +++ b/src/Symfony/Component/Validator/Constraints/DateValidator.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; diff --git a/src/Symfony/Component/Validator/Constraints/Email.php b/src/Symfony/Component/Validator/Constraints/Email.php index c86335b54e..8f08bcb85a 100644 --- a/src/Symfony/Component/Validator/Constraints/Email.php +++ b/src/Symfony/Component/Validator/Constraints/Email.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class Email extends \Symfony\Component\Validator\Constraint { public $message = 'This value is not a valid email address'; diff --git a/src/Symfony/Component/Validator/Constraints/EmailValidator.php b/src/Symfony/Component/Validator/Constraints/EmailValidator.php index c697200708..5f24ffd40d 100644 --- a/src/Symfony/Component/Validator/Constraints/EmailValidator.php +++ b/src/Symfony/Component/Validator/Constraints/EmailValidator.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; diff --git a/src/Symfony/Component/Validator/Constraints/File.php b/src/Symfony/Component/Validator/Constraints/File.php index e9d29052b8..670e0b0c67 100644 --- a/src/Symfony/Component/Validator/Constraints/File.php +++ b/src/Symfony/Component/Validator/Constraints/File.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class File extends \Symfony\Component\Validator\Constraint { public $maxSize = null; diff --git a/src/Symfony/Component/Validator/Constraints/FileValidator.php b/src/Symfony/Component/Validator/Constraints/FileValidator.php index 6edf514aec..e188e55bfd 100644 --- a/src/Symfony/Component/Validator/Constraints/FileValidator.php +++ b/src/Symfony/Component/Validator/Constraints/FileValidator.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\ConstraintDefinitionException; diff --git a/src/Symfony/Component/Validator/Constraints/Max.php b/src/Symfony/Component/Validator/Constraints/Max.php index 2271f3ffcd..cb5f81b061 100644 --- a/src/Symfony/Component/Validator/Constraints/Max.php +++ b/src/Symfony/Component/Validator/Constraints/Max.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class Max extends \Symfony\Component\Validator\Constraint { public $message = 'This value should be {{ limit }} or less'; diff --git a/src/Symfony/Component/Validator/Constraints/MaxLength.php b/src/Symfony/Component/Validator/Constraints/MaxLength.php index 0d0b18b3bd..0c76751203 100644 --- a/src/Symfony/Component/Validator/Constraints/MaxLength.php +++ b/src/Symfony/Component/Validator/Constraints/MaxLength.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class MaxLength extends \Symfony\Component\Validator\Constraint { public $message = 'This value is too long. It should have {{ limit }} characters or less'; diff --git a/src/Symfony/Component/Validator/Constraints/MaxLengthValidator.php b/src/Symfony/Component/Validator/Constraints/MaxLengthValidator.php index 19b3d8486d..90268ca50e 100644 --- a/src/Symfony/Component/Validator/Constraints/MaxLengthValidator.php +++ b/src/Symfony/Component/Validator/Constraints/MaxLengthValidator.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; diff --git a/src/Symfony/Component/Validator/Constraints/MaxValidator.php b/src/Symfony/Component/Validator/Constraints/MaxValidator.php index 3f7bb25755..0c739bf214 100644 --- a/src/Symfony/Component/Validator/Constraints/MaxValidator.php +++ b/src/Symfony/Component/Validator/Constraints/MaxValidator.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; diff --git a/src/Symfony/Component/Validator/Constraints/Min.php b/src/Symfony/Component/Validator/Constraints/Min.php index a17f3bd0da..ee32b9c788 100644 --- a/src/Symfony/Component/Validator/Constraints/Min.php +++ b/src/Symfony/Component/Validator/Constraints/Min.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class Min extends \Symfony\Component\Validator\Constraint { public $message = 'This value should be {{ limit }} or more'; diff --git a/src/Symfony/Component/Validator/Constraints/MinLength.php b/src/Symfony/Component/Validator/Constraints/MinLength.php index eca3f46339..1a69d3156e 100644 --- a/src/Symfony/Component/Validator/Constraints/MinLength.php +++ b/src/Symfony/Component/Validator/Constraints/MinLength.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class MinLength extends \Symfony\Component\Validator\Constraint { public $message = 'This value is too short. It should have {{ limit }} characters or more'; diff --git a/src/Symfony/Component/Validator/Constraints/MinLengthValidator.php b/src/Symfony/Component/Validator/Constraints/MinLengthValidator.php index bfc55475b7..f12d95d7d9 100644 --- a/src/Symfony/Component/Validator/Constraints/MinLengthValidator.php +++ b/src/Symfony/Component/Validator/Constraints/MinLengthValidator.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; diff --git a/src/Symfony/Component/Validator/Constraints/MinValidator.php b/src/Symfony/Component/Validator/Constraints/MinValidator.php index 73925470a9..fbae35be7e 100644 --- a/src/Symfony/Component/Validator/Constraints/MinValidator.php +++ b/src/Symfony/Component/Validator/Constraints/MinValidator.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; diff --git a/src/Symfony/Component/Validator/Constraints/NotBlank.php b/src/Symfony/Component/Validator/Constraints/NotBlank.php index 9fab3b7163..2963185ee4 100644 --- a/src/Symfony/Component/Validator/Constraints/NotBlank.php +++ b/src/Symfony/Component/Validator/Constraints/NotBlank.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class NotBlank extends \Symfony\Component\Validator\Constraint { public $message = 'This value should not be blank'; diff --git a/src/Symfony/Component/Validator/Constraints/NotBlankValidator.php b/src/Symfony/Component/Validator/Constraints/NotBlankValidator.php index fae1f875af..f7abe30f42 100644 --- a/src/Symfony/Component/Validator/Constraints/NotBlankValidator.php +++ b/src/Symfony/Component/Validator/Constraints/NotBlankValidator.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; diff --git a/src/Symfony/Component/Validator/Constraints/NotNull.php b/src/Symfony/Component/Validator/Constraints/NotNull.php index 816ace17d5..9129c6c18c 100644 --- a/src/Symfony/Component/Validator/Constraints/NotNull.php +++ b/src/Symfony/Component/Validator/Constraints/NotNull.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class NotNull extends \Symfony\Component\Validator\Constraint { public $message = 'This value should not be null'; diff --git a/src/Symfony/Component/Validator/Constraints/NotNullValidator.php b/src/Symfony/Component/Validator/Constraints/NotNullValidator.php index aa22e418a6..51ff549a4f 100644 --- a/src/Symfony/Component/Validator/Constraints/NotNullValidator.php +++ b/src/Symfony/Component/Validator/Constraints/NotNullValidator.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; diff --git a/src/Symfony/Component/Validator/Constraints/Null.php b/src/Symfony/Component/Validator/Constraints/Null.php index c042a4277b..4d85ccfba4 100644 --- a/src/Symfony/Component/Validator/Constraints/Null.php +++ b/src/Symfony/Component/Validator/Constraints/Null.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class Null extends \Symfony\Component\Validator\Constraint { public $message = 'This value should be null'; diff --git a/src/Symfony/Component/Validator/Constraints/NullValidator.php b/src/Symfony/Component/Validator/Constraints/NullValidator.php index 265e1f4367..ada6271a2f 100644 --- a/src/Symfony/Component/Validator/Constraints/NullValidator.php +++ b/src/Symfony/Component/Validator/Constraints/NullValidator.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; diff --git a/src/Symfony/Component/Validator/Constraints/Regex.php b/src/Symfony/Component/Validator/Constraints/Regex.php index af74749d94..7685584f41 100644 --- a/src/Symfony/Component/Validator/Constraints/Regex.php +++ b/src/Symfony/Component/Validator/Constraints/Regex.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class Regex extends \Symfony\Component\Validator\Constraint { public $message = 'This value is not valid'; diff --git a/src/Symfony/Component/Validator/Constraints/RegexValidator.php b/src/Symfony/Component/Validator/Constraints/RegexValidator.php index a04beb7fa1..6f60e336f7 100644 --- a/src/Symfony/Component/Validator/Constraints/RegexValidator.php +++ b/src/Symfony/Component/Validator/Constraints/RegexValidator.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; diff --git a/src/Symfony/Component/Validator/Constraints/Time.php b/src/Symfony/Component/Validator/Constraints/Time.php index 26e07cefab..77aa4ee24f 100644 --- a/src/Symfony/Component/Validator/Constraints/Time.php +++ b/src/Symfony/Component/Validator/Constraints/Time.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class Time extends \Symfony\Component\Validator\Constraint { public $message = 'This value is not a valid time'; diff --git a/src/Symfony/Component/Validator/Constraints/TimeValidator.php b/src/Symfony/Component/Validator/Constraints/TimeValidator.php index 96c6faf6ee..062a1cef89 100644 --- a/src/Symfony/Component/Validator/Constraints/TimeValidator.php +++ b/src/Symfony/Component/Validator/Constraints/TimeValidator.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; diff --git a/src/Symfony/Component/Validator/Constraints/Url.php b/src/Symfony/Component/Validator/Constraints/Url.php index 080dd5e02d..8a645b31b6 100644 --- a/src/Symfony/Component/Validator/Constraints/Url.php +++ b/src/Symfony/Component/Validator/Constraints/Url.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class Url extends \Symfony\Component\Validator\Constraint { public $message = 'This value is not a valid URL'; diff --git a/src/Symfony/Component/Validator/Constraints/UrlValidator.php b/src/Symfony/Component/Validator/Constraints/UrlValidator.php index 151df2e85f..c3e3586a75 100644 --- a/src/Symfony/Component/Validator/Constraints/UrlValidator.php +++ b/src/Symfony/Component/Validator/Constraints/UrlValidator.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; diff --git a/src/Symfony/Component/Validator/Constraints/Valid.php b/src/Symfony/Component/Validator/Constraints/Valid.php index 53a5b5664a..dbef4b1d3f 100644 --- a/src/Symfony/Component/Validator/Constraints/Valid.php +++ b/src/Symfony/Component/Validator/Constraints/Valid.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class Valid extends \Symfony\Component\Validator\Constraint { public $message = 'This value should be instance of class {{ class }}'; diff --git a/src/Symfony/Component/Validator/Constraints/ValidValidator.php b/src/Symfony/Component/Validator/Constraints/ValidValidator.php index 286d774e7e..aef0ca2824 100644 --- a/src/Symfony/Component/Validator/Constraints/ValidValidator.php +++ b/src/Symfony/Component/Validator/Constraints/ValidValidator.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\ConstraintDefinitionException; diff --git a/src/Symfony/Component/Validator/Constraints/Validation.php b/src/Symfony/Component/Validator/Constraints/Validation.php index 79075d6dd7..08b027f052 100644 --- a/src/Symfony/Component/Validator/Constraints/Validation.php +++ b/src/Symfony/Component/Validator/Constraints/Validation.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Constraints; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class Validation { public $constraints; diff --git a/src/Symfony/Component/Validator/Exception/ConstraintDefinitionException.php b/src/Symfony/Component/Validator/Exception/ConstraintDefinitionException.php index b4d7667c9e..4a5d67d7cb 100644 --- a/src/Symfony/Component/Validator/Exception/ConstraintDefinitionException.php +++ b/src/Symfony/Component/Validator/Exception/ConstraintDefinitionException.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Exception; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class ConstraintDefinitionException extends ValidatorException { } \ No newline at end of file diff --git a/src/Symfony/Component/Validator/Exception/InvalidOptionsException.php b/src/Symfony/Component/Validator/Exception/InvalidOptionsException.php index ffc267137d..3fb6af8005 100644 --- a/src/Symfony/Component/Validator/Exception/InvalidOptionsException.php +++ b/src/Symfony/Component/Validator/Exception/InvalidOptionsException.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Exception; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class InvalidOptionsException extends ValidatorException { private $options; diff --git a/src/Symfony/Component/Validator/Exception/MappingException.php b/src/Symfony/Component/Validator/Exception/MappingException.php index 6275aace57..1725f9d482 100644 --- a/src/Symfony/Component/Validator/Exception/MappingException.php +++ b/src/Symfony/Component/Validator/Exception/MappingException.php @@ -2,4 +2,13 @@ namespace Symfony\Component\Validator\Exception; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class MappingException extends ValidatorException {} \ No newline at end of file diff --git a/src/Symfony/Component/Validator/Exception/MissingOptionsException.php b/src/Symfony/Component/Validator/Exception/MissingOptionsException.php index 055111bb5c..daf0ab08bd 100644 --- a/src/Symfony/Component/Validator/Exception/MissingOptionsException.php +++ b/src/Symfony/Component/Validator/Exception/MissingOptionsException.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Exception; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class MissingOptionsException extends ValidatorException { private $options; diff --git a/src/Symfony/Component/Validator/Exception/UnexpectedTypeException.php b/src/Symfony/Component/Validator/Exception/UnexpectedTypeException.php index 47edf20b40..e4b4eba1ee 100644 --- a/src/Symfony/Component/Validator/Exception/UnexpectedTypeException.php +++ b/src/Symfony/Component/Validator/Exception/UnexpectedTypeException.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Exception; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class UnexpectedTypeException extends ValidatorException { public function __construct($value, $expectedType) diff --git a/src/Symfony/Component/Validator/Exception/ValidatorException.php b/src/Symfony/Component/Validator/Exception/ValidatorException.php index ac480926e5..44447feb6c 100644 --- a/src/Symfony/Component/Validator/Exception/ValidatorException.php +++ b/src/Symfony/Component/Validator/Exception/ValidatorException.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Exception; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + class ValidatorException extends \RuntimeException { } \ No newline at end of file diff --git a/src/Symfony/Component/Validator/Extension/DependencyInjectionValidatorFactory.php b/src/Symfony/Component/Validator/Extension/DependencyInjectionValidatorFactory.php index 127d35f938..84d97c7838 100644 --- a/src/Symfony/Component/Validator/Extension/DependencyInjectionValidatorFactory.php +++ b/src/Symfony/Component/Validator/Extension/DependencyInjectionValidatorFactory.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Extension; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\Validator\ConstraintValidatorFactoryInterface; use Symfony\Component\Validator\Constraint; diff --git a/src/Symfony/Component/Validator/GraphWalker.php b/src/Symfony/Component/Validator/GraphWalker.php index 87578b1574..2effa7e3b3 100644 --- a/src/Symfony/Component/Validator/GraphWalker.php +++ b/src/Symfony/Component/Validator/GraphWalker.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\ConstraintValidatorFactoryInterface; use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\Constraints\All; diff --git a/src/Symfony/Component/Validator/GroupChain.php b/src/Symfony/Component/Validator/GroupChain.php index a1a22848b8..b436bec050 100644 --- a/src/Symfony/Component/Validator/GroupChain.php +++ b/src/Symfony/Component/Validator/GroupChain.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Mapping\ClassMetadata; class GroupChain diff --git a/src/Symfony/Component/Validator/Mapping/Cache/CacheInterface.php b/src/Symfony/Component/Validator/Mapping/Cache/CacheInterface.php index b12c25cc13..dcabe333c5 100644 --- a/src/Symfony/Component/Validator/Mapping/Cache/CacheInterface.php +++ b/src/Symfony/Component/Validator/Mapping/Cache/CacheInterface.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Mapping\Cache; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Mapping\ClassMetadata; /** diff --git a/src/Symfony/Component/Validator/Mapping/ClassMetadata.php b/src/Symfony/Component/Validator/Mapping/ClassMetadata.php index ef36354f83..21b87fcc47 100644 --- a/src/Symfony/Component/Validator/Mapping/ClassMetadata.php +++ b/src/Symfony/Component/Validator/Mapping/ClassMetadata.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Mapping; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\Exception\ValidatorException; diff --git a/src/Symfony/Component/Validator/Mapping/ClassMetadataFactory.php b/src/Symfony/Component/Validator/Mapping/ClassMetadataFactory.php index fa190a0a3b..3d07c7f484 100644 --- a/src/Symfony/Component/Validator/Mapping/ClassMetadataFactory.php +++ b/src/Symfony/Component/Validator/Mapping/ClassMetadataFactory.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Mapping; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Mapping\Loader\LoaderInterface; use Symfony\Component\Validator\Mapping\Cache\CacheInterface; diff --git a/src/Symfony/Component/Validator/Mapping/ClassMetadataFactoryInterface.php b/src/Symfony/Component/Validator/Mapping/ClassMetadataFactoryInterface.php index dc210f811b..9ab04b5721 100644 --- a/src/Symfony/Component/Validator/Mapping/ClassMetadataFactoryInterface.php +++ b/src/Symfony/Component/Validator/Mapping/ClassMetadataFactoryInterface.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Mapping; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + interface ClassMetadataFactoryInterface { function getClassMetadata($class); diff --git a/src/Symfony/Component/Validator/Mapping/ElementMetadata.php b/src/Symfony/Component/Validator/Mapping/ElementMetadata.php index 839707ceb6..54bd18c215 100644 --- a/src/Symfony/Component/Validator/Mapping/ElementMetadata.php +++ b/src/Symfony/Component/Validator/Mapping/ElementMetadata.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Mapping; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Constraint; abstract class ElementMetadata diff --git a/src/Symfony/Component/Validator/Mapping/GetterMetadata.php b/src/Symfony/Component/Validator/Mapping/GetterMetadata.php index 83e4705301..a08a4d1d1f 100644 --- a/src/Symfony/Component/Validator/Mapping/GetterMetadata.php +++ b/src/Symfony/Component/Validator/Mapping/GetterMetadata.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Mapping; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Exception\ValidatorException; class GetterMetadata extends MemberMetadata diff --git a/src/Symfony/Component/Validator/Mapping/Loader/AnnotationLoader.php b/src/Symfony/Component/Validator/Mapping/Loader/AnnotationLoader.php index e7476ebf83..5a4535f5e8 100644 --- a/src/Symfony/Component/Validator/Mapping/Loader/AnnotationLoader.php +++ b/src/Symfony/Component/Validator/Mapping/Loader/AnnotationLoader.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Mapping\Loader; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Exception\MappingException; use Symfony\Component\Validator\Mapping\ClassMetadata; use Doctrine\Common\Annotations\AnnotationReader; diff --git a/src/Symfony/Component/Validator/Mapping/Loader/FileLoader.php b/src/Symfony/Component/Validator/Mapping/Loader/FileLoader.php index cb700c59eb..3f0df3408e 100644 --- a/src/Symfony/Component/Validator/Mapping/Loader/FileLoader.php +++ b/src/Symfony/Component/Validator/Mapping/Loader/FileLoader.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Mapping\Loader; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Exception\MappingException; use Symfony\Component\Validator\Mapping\ClassMetadata; use Symfony\Component\Validator\Mapping\GroupMetadata; diff --git a/src/Symfony/Component/Validator/Mapping/Loader/FilesLoader.php b/src/Symfony/Component/Validator/Mapping/Loader/FilesLoader.php index bd4e82dc28..a67aaf7e7d 100644 --- a/src/Symfony/Component/Validator/Mapping/Loader/FilesLoader.php +++ b/src/Symfony/Component/Validator/Mapping/Loader/FilesLoader.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Mapping\Loader; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + /** * Creates mapping loaders for array of files. * diff --git a/src/Symfony/Component/Validator/Mapping/Loader/LoaderChain.php b/src/Symfony/Component/Validator/Mapping/Loader/LoaderChain.php index 2969afe55c..15d21377f7 100644 --- a/src/Symfony/Component/Validator/Mapping/Loader/LoaderChain.php +++ b/src/Symfony/Component/Validator/Mapping/Loader/LoaderChain.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Mapping\Loader; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Exception\MappingException; use Symfony\Component\Validator\Mapping\ClassMetadata; diff --git a/src/Symfony/Component/Validator/Mapping/Loader/LoaderInterface.php b/src/Symfony/Component/Validator/Mapping/Loader/LoaderInterface.php index 9fee416bf5..89cb369e4b 100644 --- a/src/Symfony/Component/Validator/Mapping/Loader/LoaderInterface.php +++ b/src/Symfony/Component/Validator/Mapping/Loader/LoaderInterface.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Mapping\Loader; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Mapping\ClassMetadata; interface LoaderInterface diff --git a/src/Symfony/Component/Validator/Mapping/Loader/StaticMethodLoader.php b/src/Symfony/Component/Validator/Mapping/Loader/StaticMethodLoader.php index 4543587837..0d1e9441da 100644 --- a/src/Symfony/Component/Validator/Mapping/Loader/StaticMethodLoader.php +++ b/src/Symfony/Component/Validator/Mapping/Loader/StaticMethodLoader.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Mapping\Loader; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Exception\MappingException; use Symfony\Component\Validator\Mapping\ClassMetadata; diff --git a/src/Symfony/Component/Validator/Mapping/Loader/XmlFileLoader.php b/src/Symfony/Component/Validator/Mapping/Loader/XmlFileLoader.php index fd0d3dbfcd..f1e119fcc7 100644 --- a/src/Symfony/Component/Validator/Mapping/Loader/XmlFileLoader.php +++ b/src/Symfony/Component/Validator/Mapping/Loader/XmlFileLoader.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Mapping\Loader; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Exception\MappingException; use Symfony\Component\Validator\Mapping\ClassMetadata; diff --git a/src/Symfony/Component/Validator/Mapping/Loader/XmlFilesLoader.php b/src/Symfony/Component/Validator/Mapping/Loader/XmlFilesLoader.php index f55ea72d09..35558b831d 100644 --- a/src/Symfony/Component/Validator/Mapping/Loader/XmlFilesLoader.php +++ b/src/Symfony/Component/Validator/Mapping/Loader/XmlFilesLoader.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Mapping\Loader; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + /** * Loads multiple xml mapping files * @see Symfony\Component\Validator\Mapping\Loader\FilesLoader diff --git a/src/Symfony/Component/Validator/Mapping/Loader/YamlFileLoader.php b/src/Symfony/Component/Validator/Mapping/Loader/YamlFileLoader.php index 208d3624b9..3e7e8e97ce 100644 --- a/src/Symfony/Component/Validator/Mapping/Loader/YamlFileLoader.php +++ b/src/Symfony/Component/Validator/Mapping/Loader/YamlFileLoader.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Mapping\Loader; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Exception\MappingException; use Symfony\Component\Validator\Mapping\ClassMetadata; use Symfony\Component\Yaml\Yaml; diff --git a/src/Symfony/Component/Validator/Mapping/Loader/YamlFilesLoader.php b/src/Symfony/Component/Validator/Mapping/Loader/YamlFilesLoader.php index 3ee1ef97d0..27cf01048c 100644 --- a/src/Symfony/Component/Validator/Mapping/Loader/YamlFilesLoader.php +++ b/src/Symfony/Component/Validator/Mapping/Loader/YamlFilesLoader.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Mapping\Loader; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + /** * Loads multiple yaml mapping files * @see Symfony\Component\Validator\Mapping\Loader\FilesLoader diff --git a/src/Symfony/Component/Validator/Mapping/MemberMetadata.php b/src/Symfony/Component/Validator/Mapping/MemberMetadata.php index 0845f6bade..1468db3656 100644 --- a/src/Symfony/Component/Validator/Mapping/MemberMetadata.php +++ b/src/Symfony/Component/Validator/Mapping/MemberMetadata.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Mapping; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Exception\ValidatorException; abstract class MemberMetadata extends ElementMetadata diff --git a/src/Symfony/Component/Validator/Mapping/PropertyMetadata.php b/src/Symfony/Component/Validator/Mapping/PropertyMetadata.php index ca3dd73166..2388d319ab 100644 --- a/src/Symfony/Component/Validator/Mapping/PropertyMetadata.php +++ b/src/Symfony/Component/Validator/Mapping/PropertyMetadata.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator\Mapping; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Exception\ValidatorException; class PropertyMetadata extends MemberMetadata diff --git a/src/Symfony/Component/Validator/ValidationContext.php b/src/Symfony/Component/Validator/ValidationContext.php index d3e6b005e3..92f59a2a87 100644 --- a/src/Symfony/Component/Validator/ValidationContext.php +++ b/src/Symfony/Component/Validator/ValidationContext.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Mapping\ClassMetadataFactoryInterface; class ValidationContext diff --git a/src/Symfony/Component/Validator/Validator.php b/src/Symfony/Component/Validator/Validator.php index 885d65e25d..0f902e6215 100644 --- a/src/Symfony/Component/Validator/Validator.php +++ b/src/Symfony/Component/Validator/Validator.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Mapping\ElementMetadata; use Symfony\Component\Validator\Mapping\ClassMetadata; use Symfony\Component\Validator\Mapping\ClassMetadataFactoryInterface; diff --git a/src/Symfony/Component/Validator/ValidatorInterface.php b/src/Symfony/Component/Validator/ValidatorInterface.php index 821330bd65..5235de6405 100644 --- a/src/Symfony/Component/Validator/ValidatorInterface.php +++ b/src/Symfony/Component/Validator/ValidatorInterface.php @@ -2,6 +2,15 @@ namespace Symfony\Component\Validator; +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + use Symfony\Component\Validator\Constraint; /**