From 64e1cf22186fa7dd1814253ad4fb828f6c371f19 Mon Sep 17 00:00:00 2001 From: Dominique Bongiraud Date: Sat, 15 Jan 2011 14:29:43 +0100 Subject: [PATCH] normalized license messages in PHP files --- Constraint.php | 10 +++++----- ConstraintValidator.php | 10 +++++----- ConstraintValidatorFactory.php | 10 +++++----- ConstraintValidatorFactoryInterface.php | 10 +++++----- ConstraintValidatorInterface.php | 10 +++++----- ConstraintViolation.php | 10 +++++----- ConstraintViolationList.php | 10 +++++----- Constraints/All.php | 10 +++++----- Constraints/AllValidator.php | 10 +++++----- Constraints/AssertFalse.php | 10 +++++----- Constraints/AssertFalseValidator.php | 10 +++++----- Constraints/AssertTrue.php | 10 +++++----- Constraints/AssertTrueValidator.php | 10 +++++----- Constraints/AssertType.php | 10 +++++----- Constraints/AssertTypeValidator.php | 10 +++++----- Constraints/Blank.php | 10 +++++----- Constraints/BlankValidator.php | 10 +++++----- Constraints/Choice.php | 10 +++++----- Constraints/ChoiceValidator.php | 10 +++++----- Constraints/Collection.php | 10 +++++----- Constraints/CollectionValidator.php | 10 +++++----- Constraints/Country.php | 10 +++++----- Constraints/CountryValidator.php | 10 +++++----- Constraints/Date.php | 10 +++++----- Constraints/DateTime.php | 10 +++++----- Constraints/DateTimeValidator.php | 10 +++++----- Constraints/DateValidator.php | 10 +++++----- Constraints/Email.php | 10 +++++----- Constraints/EmailValidator.php | 10 +++++----- Constraints/File.php | 10 +++++----- Constraints/FileValidator.php | 10 +++++----- Constraints/GroupSequence.php | 10 +++++----- Constraints/Image.php | 10 +++++----- Constraints/Ip.php | 10 +++++----- Constraints/IpValidator.php | 10 +++++----- Constraints/Language.php | 10 +++++----- Constraints/LanguageValidator.php | 10 +++++----- Constraints/Locale.php | 10 +++++----- Constraints/LocaleValidator.php | 10 +++++----- Constraints/Max.php | 10 +++++----- Constraints/MaxLength.php | 10 +++++----- Constraints/MaxLengthValidator.php | 10 +++++----- Constraints/MaxValidator.php | 10 +++++----- Constraints/Min.php | 10 +++++----- Constraints/MinLength.php | 10 +++++----- Constraints/MinLengthValidator.php | 10 +++++----- Constraints/MinValidator.php | 10 +++++----- Constraints/NotBlank.php | 10 +++++----- Constraints/NotBlankValidator.php | 10 +++++----- Constraints/NotNull.php | 10 +++++----- Constraints/NotNullValidator.php | 10 +++++----- Constraints/Null.php | 10 +++++----- Constraints/NullValidator.php | 10 +++++----- Constraints/Regex.php | 10 +++++----- Constraints/RegexValidator.php | 10 +++++----- Constraints/Set.php | 10 +++++----- Constraints/Time.php | 10 +++++----- Constraints/TimeValidator.php | 10 +++++----- Constraints/Url.php | 10 +++++----- Constraints/UrlValidator.php | 10 +++++----- Constraints/Valid.php | 10 +++++----- Exception/ConstraintDefinitionException.php | 10 +++++----- Exception/GroupDefinitionException.php | 10 +++++----- Exception/InvalidOptionsException.php | 10 +++++----- Exception/MappingException.php | 10 +++++----- Exception/MissingOptionsException.php | 10 +++++----- Exception/UnexpectedTypeException.php | 10 +++++----- Exception/ValidatorException.php | 10 +++++----- GraphWalker.php | 10 +++++----- GroupChain.php | 10 +++++----- Mapping/Cache/CacheInterface.php | 10 +++++----- Mapping/ClassMetadata.php | 10 +++++----- Mapping/ClassMetadataFactory.php | 10 +++++----- Mapping/ClassMetadataFactoryInterface.php | 10 +++++----- Mapping/ElementMetadata.php | 10 +++++----- Mapping/GetterMetadata.php | 10 +++++----- Mapping/Loader/AnnotationLoader.php | 10 +++++----- Mapping/Loader/FileLoader.php | 10 +++++----- Mapping/Loader/FilesLoader.php | 10 +++++----- Mapping/Loader/LoaderChain.php | 10 +++++----- Mapping/Loader/LoaderInterface.php | 10 +++++----- Mapping/Loader/StaticMethodLoader.php | 10 +++++----- Mapping/Loader/XmlFileLoader.php | 10 +++++----- Mapping/Loader/XmlFilesLoader.php | 10 +++++----- Mapping/Loader/YamlFileLoader.php | 10 +++++----- Mapping/Loader/YamlFilesLoader.php | 10 +++++----- Mapping/MemberMetadata.php | 10 +++++----- Mapping/PropertyMetadata.php | 10 +++++----- ValidationContext.php | 10 +++++----- Validator.php | 10 +++++----- ValidatorInterface.php | 10 +++++----- 91 files changed, 455 insertions(+), 455 deletions(-) diff --git a/Constraint.php b/Constraint.php index 0f15094b0..5a64ff1bb 100644 --- a/Constraint.php +++ b/Constraint.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator; + use Symfony\Component\Validator\Exception\InvalidOptionsException; use Symfony\Component\Validator\Exception\MissingOptionsException; use Symfony\Component\Validator\Exception\ConstraintDefinitionException; diff --git a/ConstraintValidator.php b/ConstraintValidator.php index 95f17c02b..07373fc4a 100644 --- a/ConstraintValidator.php +++ b/ConstraintValidator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator; + abstract class ConstraintValidator implements ConstraintValidatorInterface { protected $context; diff --git a/ConstraintValidatorFactory.php b/ConstraintValidatorFactory.php index 764715d98..0e803cd05 100644 --- a/ConstraintValidatorFactory.php +++ b/ConstraintValidatorFactory.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator; + use Symfony\Component\Validator\ConstraintValidatorFactoryInterface; use Symfony\Component\Validator\Constraint; diff --git a/ConstraintValidatorFactoryInterface.php b/ConstraintValidatorFactoryInterface.php index 3e1ebe489..c5ec36bc0 100644 --- a/ConstraintValidatorFactoryInterface.php +++ b/ConstraintValidatorFactoryInterface.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator; + use Symfony\Component\Validator\Constraint; /** diff --git a/ConstraintValidatorInterface.php b/ConstraintValidatorInterface.php index 5a5b17f3a..4b423be96 100644 --- a/ConstraintValidatorInterface.php +++ b/ConstraintValidatorInterface.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator; + interface ConstraintValidatorInterface { /** diff --git a/ConstraintViolation.php b/ConstraintViolation.php index 51c4e5662..4703e7e86 100644 --- a/ConstraintViolation.php +++ b/ConstraintViolation.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator; + /** * Represents a single violation of a constraint. */ diff --git a/ConstraintViolationList.php b/ConstraintViolationList.php index e12c1c5a2..6e8440840 100644 --- a/ConstraintViolationList.php +++ b/ConstraintViolationList.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator; + /** * An array-acting object that holds many ConstrainViolation instances. */ diff --git a/Constraints/All.php b/Constraints/All.php index 04e40fecf..4b1d7fa90 100644 --- a/Constraints/All.php +++ b/Constraints/All.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + class All extends \Symfony\Component\Validator\Constraint { public $constraints = array(); diff --git a/Constraints/AllValidator.php b/Constraints/AllValidator.php index f29ef5a47..d2ad505e7 100644 --- a/Constraints/AllValidator.php +++ b/Constraints/AllValidator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; diff --git a/Constraints/AssertFalse.php b/Constraints/AssertFalse.php index a69eb950e..d38d1a377 100644 --- a/Constraints/AssertFalse.php +++ b/Constraints/AssertFalse.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + class AssertFalse extends \Symfony\Component\Validator\Constraint { public $message = 'This value should be false'; diff --git a/Constraints/AssertFalseValidator.php b/Constraints/AssertFalseValidator.php index 5a94fba7b..effbaea79 100644 --- a/Constraints/AssertFalseValidator.php +++ b/Constraints/AssertFalseValidator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; diff --git a/Constraints/AssertTrue.php b/Constraints/AssertTrue.php index d16466c3a..c4d8de440 100644 --- a/Constraints/AssertTrue.php +++ b/Constraints/AssertTrue.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + class AssertTrue extends \Symfony\Component\Validator\Constraint { public $message = 'This value should be true'; diff --git a/Constraints/AssertTrueValidator.php b/Constraints/AssertTrueValidator.php index 71ac282c1..bb5774338 100644 --- a/Constraints/AssertTrueValidator.php +++ b/Constraints/AssertTrueValidator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; diff --git a/Constraints/AssertType.php b/Constraints/AssertType.php index a8539eef4..d2fdbe9eb 100644 --- a/Constraints/AssertType.php +++ b/Constraints/AssertType.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + class AssertType extends \Symfony\Component\Validator\Constraint { public $message = 'This value should be of type {{ type }}'; diff --git a/Constraints/AssertTypeValidator.php b/Constraints/AssertTypeValidator.php index c2ca4a816..4d51dd8b6 100644 --- a/Constraints/AssertTypeValidator.php +++ b/Constraints/AssertTypeValidator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; diff --git a/Constraints/Blank.php b/Constraints/Blank.php index 4d8097248..ba7542518 100644 --- a/Constraints/Blank.php +++ b/Constraints/Blank.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + class Blank extends \Symfony\Component\Validator\Constraint { public $message = 'This value should be blank'; diff --git a/Constraints/BlankValidator.php b/Constraints/BlankValidator.php index 3c45110e7..f51ae0bf6 100644 --- a/Constraints/BlankValidator.php +++ b/Constraints/BlankValidator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; diff --git a/Constraints/Choice.php b/Constraints/Choice.php index 123f7b2d3..ad0eecef1 100644 --- a/Constraints/Choice.php +++ b/Constraints/Choice.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + class Choice extends \Symfony\Component\Validator\Constraint { public $choices; diff --git a/Constraints/ChoiceValidator.php b/Constraints/ChoiceValidator.php index d2e62771b..ffdce6eaf 100644 --- a/Constraints/ChoiceValidator.php +++ b/Constraints/ChoiceValidator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\ConstraintDefinitionException; diff --git a/Constraints/Collection.php b/Constraints/Collection.php index 375973d67..2fb5e9f7b 100644 --- a/Constraints/Collection.php +++ b/Constraints/Collection.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + class Collection extends \Symfony\Component\Validator\Constraint { public $fields; diff --git a/Constraints/CollectionValidator.php b/Constraints/CollectionValidator.php index 192f95927..b24f74e51 100644 --- a/Constraints/CollectionValidator.php +++ b/Constraints/CollectionValidator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\ConstraintDefinitionException; diff --git a/Constraints/Country.php b/Constraints/Country.php index 1c0f20778..8275c870c 100644 --- a/Constraints/Country.php +++ b/Constraints/Country.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + class Country extends \Symfony\Component\Validator\Constraint { public $message = 'This value is not a valid country'; diff --git a/Constraints/CountryValidator.php b/Constraints/CountryValidator.php index 20c244b9e..c6435be5f 100644 --- a/Constraints/CountryValidator.php +++ b/Constraints/CountryValidator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; diff --git a/Constraints/Date.php b/Constraints/Date.php index 269662459..2f734b095 100644 --- a/Constraints/Date.php +++ b/Constraints/Date.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + class Date extends \Symfony\Component\Validator\Constraint { public $message = 'This value is not a valid date'; diff --git a/Constraints/DateTime.php b/Constraints/DateTime.php index 1e1c093c8..6a8c6be94 100644 --- a/Constraints/DateTime.php +++ b/Constraints/DateTime.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + class DateTime extends \Symfony\Component\Validator\Constraint { public $message = 'This value is not a valid datetime'; diff --git a/Constraints/DateTimeValidator.php b/Constraints/DateTimeValidator.php index 87530e70c..152bf8203 100644 --- a/Constraints/DateTimeValidator.php +++ b/Constraints/DateTimeValidator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; diff --git a/Constraints/DateValidator.php b/Constraints/DateValidator.php index f1af81f30..0c6bf5fb0 100644 --- a/Constraints/DateValidator.php +++ b/Constraints/DateValidator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; diff --git a/Constraints/Email.php b/Constraints/Email.php index 8f08bcb85..4c4ff2f28 100644 --- a/Constraints/Email.php +++ b/Constraints/Email.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + class Email extends \Symfony\Component\Validator\Constraint { public $message = 'This value is not a valid email address'; diff --git a/Constraints/EmailValidator.php b/Constraints/EmailValidator.php index b25aa2299..5c82ec829 100644 --- a/Constraints/EmailValidator.php +++ b/Constraints/EmailValidator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; diff --git a/Constraints/File.php b/Constraints/File.php index 670e0b0c6..c8f3258d6 100644 --- a/Constraints/File.php +++ b/Constraints/File.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + class File extends \Symfony\Component\Validator\Constraint { public $maxSize = null; diff --git a/Constraints/FileValidator.php b/Constraints/FileValidator.php index b76fe5dd7..a7e179347 100644 --- a/Constraints/FileValidator.php +++ b/Constraints/FileValidator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\ConstraintDefinitionException; diff --git a/Constraints/GroupSequence.php b/Constraints/GroupSequence.php index f0b12408f..d4c0ae497 100644 --- a/Constraints/GroupSequence.php +++ b/Constraints/GroupSequence.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + /** * Annotation for group sequences * diff --git a/Constraints/Image.php b/Constraints/Image.php index 8875f6c03..4dda2544e 100644 --- a/Constraints/Image.php +++ b/Constraints/Image.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + class Image extends File { public $mimeTypes = array( diff --git a/Constraints/Ip.php b/Constraints/Ip.php index 0c9f056ad..4d2abf748 100644 --- a/Constraints/Ip.php +++ b/Constraints/Ip.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Exception\ConstraintDefinitionException; /** diff --git a/Constraints/IpValidator.php b/Constraints/IpValidator.php index 7510adc2f..069cfbd74 100644 --- a/Constraints/IpValidator.php +++ b/Constraints/IpValidator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; diff --git a/Constraints/Language.php b/Constraints/Language.php index 3e74e483a..412dcaed8 100644 --- a/Constraints/Language.php +++ b/Constraints/Language.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + class Language extends \Symfony\Component\Validator\Constraint { public $message = 'This value is not a valid language'; diff --git a/Constraints/LanguageValidator.php b/Constraints/LanguageValidator.php index 28a471373..d36c77b9e 100644 --- a/Constraints/LanguageValidator.php +++ b/Constraints/LanguageValidator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; diff --git a/Constraints/Locale.php b/Constraints/Locale.php index b1bcc92a9..63eac5cdd 100644 --- a/Constraints/Locale.php +++ b/Constraints/Locale.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + class Locale extends \Symfony\Component\Validator\Constraint { public $message = 'This value is not a valid locale'; diff --git a/Constraints/LocaleValidator.php b/Constraints/LocaleValidator.php index cda27f700..cc631633e 100644 --- a/Constraints/LocaleValidator.php +++ b/Constraints/LocaleValidator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; diff --git a/Constraints/Max.php b/Constraints/Max.php index cb5f81b06..e606f5673 100644 --- a/Constraints/Max.php +++ b/Constraints/Max.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + class Max extends \Symfony\Component\Validator\Constraint { public $message = 'This value should be {{ limit }} or less'; diff --git a/Constraints/MaxLength.php b/Constraints/MaxLength.php index 0c7675120..4e83d24d0 100644 --- a/Constraints/MaxLength.php +++ b/Constraints/MaxLength.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + class MaxLength extends \Symfony\Component\Validator\Constraint { public $message = 'This value is too long. It should have {{ limit }} characters or less'; diff --git a/Constraints/MaxLengthValidator.php b/Constraints/MaxLengthValidator.php index 89852f8f8..6056df111 100644 --- a/Constraints/MaxLengthValidator.php +++ b/Constraints/MaxLengthValidator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; diff --git a/Constraints/MaxValidator.php b/Constraints/MaxValidator.php index 40f13bc0d..509a4b599 100644 --- a/Constraints/MaxValidator.php +++ b/Constraints/MaxValidator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; diff --git a/Constraints/Min.php b/Constraints/Min.php index ee32b9c78..fa74ac4ef 100644 --- a/Constraints/Min.php +++ b/Constraints/Min.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + class Min extends \Symfony\Component\Validator\Constraint { public $message = 'This value should be {{ limit }} or more'; diff --git a/Constraints/MinLength.php b/Constraints/MinLength.php index 1a69d3156..7d289a313 100644 --- a/Constraints/MinLength.php +++ b/Constraints/MinLength.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + class MinLength extends \Symfony\Component\Validator\Constraint { public $message = 'This value is too short. It should have {{ limit }} characters or more'; diff --git a/Constraints/MinLengthValidator.php b/Constraints/MinLengthValidator.php index 0c3208730..cae2f7d0a 100644 --- a/Constraints/MinLengthValidator.php +++ b/Constraints/MinLengthValidator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; diff --git a/Constraints/MinValidator.php b/Constraints/MinValidator.php index f41340f99..a7422262f 100644 --- a/Constraints/MinValidator.php +++ b/Constraints/MinValidator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; diff --git a/Constraints/NotBlank.php b/Constraints/NotBlank.php index 2963185ee..bbeca5a0d 100644 --- a/Constraints/NotBlank.php +++ b/Constraints/NotBlank.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + class NotBlank extends \Symfony\Component\Validator\Constraint { public $message = 'This value should not be blank'; diff --git a/Constraints/NotBlankValidator.php b/Constraints/NotBlankValidator.php index 41f0fd5f7..a279b6e08 100644 --- a/Constraints/NotBlankValidator.php +++ b/Constraints/NotBlankValidator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; diff --git a/Constraints/NotNull.php b/Constraints/NotNull.php index 9129c6c18..40dc17b03 100644 --- a/Constraints/NotNull.php +++ b/Constraints/NotNull.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + class NotNull extends \Symfony\Component\Validator\Constraint { public $message = 'This value should not be null'; diff --git a/Constraints/NotNullValidator.php b/Constraints/NotNullValidator.php index 0c3d4abe4..6307fd8e9 100644 --- a/Constraints/NotNullValidator.php +++ b/Constraints/NotNullValidator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; diff --git a/Constraints/Null.php b/Constraints/Null.php index 4d85ccfba..c62619000 100644 --- a/Constraints/Null.php +++ b/Constraints/Null.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + class Null extends \Symfony\Component\Validator\Constraint { public $message = 'This value should be null'; diff --git a/Constraints/NullValidator.php b/Constraints/NullValidator.php index c4bcef517..b72f7cd95 100644 --- a/Constraints/NullValidator.php +++ b/Constraints/NullValidator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; diff --git a/Constraints/Regex.php b/Constraints/Regex.php index 7685584f4..3ac8c4af6 100644 --- a/Constraints/Regex.php +++ b/Constraints/Regex.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + class Regex extends \Symfony\Component\Validator\Constraint { public $message = 'This value is not valid'; diff --git a/Constraints/RegexValidator.php b/Constraints/RegexValidator.php index 6455f911f..a15b743fe 100644 --- a/Constraints/RegexValidator.php +++ b/Constraints/RegexValidator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; diff --git a/Constraints/Set.php b/Constraints/Set.php index ea939c068..b02eb42f3 100644 --- a/Constraints/Set.php +++ b/Constraints/Set.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + class Set { public $constraints; diff --git a/Constraints/Time.php b/Constraints/Time.php index 77aa4ee24..beb18316d 100644 --- a/Constraints/Time.php +++ b/Constraints/Time.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + class Time extends \Symfony\Component\Validator\Constraint { public $message = 'This value is not a valid time'; diff --git a/Constraints/TimeValidator.php b/Constraints/TimeValidator.php index 5d20e2d6a..8bfeb6b7e 100644 --- a/Constraints/TimeValidator.php +++ b/Constraints/TimeValidator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; diff --git a/Constraints/Url.php b/Constraints/Url.php index a08860312..843590638 100644 --- a/Constraints/Url.php +++ b/Constraints/Url.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + class Url extends \Symfony\Component\Validator\Constraint { public $message = 'This value is not a valid URL'; diff --git a/Constraints/UrlValidator.php b/Constraints/UrlValidator.php index d0ffc558a..4bbcdc860 100644 --- a/Constraints/UrlValidator.php +++ b/Constraints/UrlValidator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; diff --git a/Constraints/Valid.php b/Constraints/Valid.php index 0ea746f69..13cffb9e1 100644 --- a/Constraints/Valid.php +++ b/Constraints/Valid.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Constraints; + use Symfony\Component\Validator\Exception\ConstraintDefinitionException; class Valid extends \Symfony\Component\Validator\Constraint diff --git a/Exception/ConstraintDefinitionException.php b/Exception/ConstraintDefinitionException.php index 4a5d67d7c..85cb0fcc0 100644 --- a/Exception/ConstraintDefinitionException.php +++ b/Exception/ConstraintDefinitionException.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Exception; + class ConstraintDefinitionException extends ValidatorException { } \ No newline at end of file diff --git a/Exception/GroupDefinitionException.php b/Exception/GroupDefinitionException.php index 532b40678..282ef835a 100644 --- a/Exception/GroupDefinitionException.php +++ b/Exception/GroupDefinitionException.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Exception; + class GroupDefinitionException extends ValidatorException { } \ No newline at end of file diff --git a/Exception/InvalidOptionsException.php b/Exception/InvalidOptionsException.php index 3fb6af800..dfe88e1ce 100644 --- a/Exception/InvalidOptionsException.php +++ b/Exception/InvalidOptionsException.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Exception; + class InvalidOptionsException extends ValidatorException { private $options; diff --git a/Exception/MappingException.php b/Exception/MappingException.php index faf4034e9..eecc456c7 100644 --- a/Exception/MappingException.php +++ b/Exception/MappingException.php @@ -1,15 +1,15 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Exception; + class MappingException extends ValidatorException { } \ No newline at end of file diff --git a/Exception/MissingOptionsException.php b/Exception/MissingOptionsException.php index daf0ab08b..3768ec7b9 100644 --- a/Exception/MissingOptionsException.php +++ b/Exception/MissingOptionsException.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Exception; + class MissingOptionsException extends ValidatorException { private $options; diff --git a/Exception/UnexpectedTypeException.php b/Exception/UnexpectedTypeException.php index e4b4eba1e..b45ec7222 100644 --- a/Exception/UnexpectedTypeException.php +++ b/Exception/UnexpectedTypeException.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Exception; + class UnexpectedTypeException extends ValidatorException { public function __construct($value, $expectedType) diff --git a/Exception/ValidatorException.php b/Exception/ValidatorException.php index 44447feb6..fc892c680 100644 --- a/Exception/ValidatorException.php +++ b/Exception/ValidatorException.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Exception; + class ValidatorException extends \RuntimeException { } \ No newline at end of file diff --git a/GraphWalker.php b/GraphWalker.php index c5d040c5c..e1866543a 100644 --- a/GraphWalker.php +++ b/GraphWalker.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator; + use Symfony\Component\Validator\ConstraintValidatorFactoryInterface; use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\Constraints\All; diff --git a/GroupChain.php b/GroupChain.php index b436bec05..0ae807cf0 100644 --- a/GroupChain.php +++ b/GroupChain.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator; + use Symfony\Component\Validator\Mapping\ClassMetadata; class GroupChain diff --git a/Mapping/Cache/CacheInterface.php b/Mapping/Cache/CacheInterface.php index f35fcb03e..d715f2ace 100644 --- a/Mapping/Cache/CacheInterface.php +++ b/Mapping/Cache/CacheInterface.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Mapping\Cache; + use Symfony\Component\Validator\Mapping\ClassMetadata; /** diff --git a/Mapping/ClassMetadata.php b/Mapping/ClassMetadata.php index c59374a28..cfcd13b16 100644 --- a/Mapping/ClassMetadata.php +++ b/Mapping/ClassMetadata.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Mapping; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\Constraints\Valid; use Symfony\Component\Validator\Exception\ConstraintDefinitionException; diff --git a/Mapping/ClassMetadataFactory.php b/Mapping/ClassMetadataFactory.php index 3d07c7f48..1fd86e0f5 100644 --- a/Mapping/ClassMetadataFactory.php +++ b/Mapping/ClassMetadataFactory.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Mapping; + use Symfony\Component\Validator\Mapping\Loader\LoaderInterface; use Symfony\Component\Validator\Mapping\Cache\CacheInterface; diff --git a/Mapping/ClassMetadataFactoryInterface.php b/Mapping/ClassMetadataFactoryInterface.php index 9ab04b572..ab0b3f029 100644 --- a/Mapping/ClassMetadataFactoryInterface.php +++ b/Mapping/ClassMetadataFactoryInterface.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Mapping; + interface ClassMetadataFactoryInterface { function getClassMetadata($class); diff --git a/Mapping/ElementMetadata.php b/Mapping/ElementMetadata.php index 8e8a223ae..56e3915e7 100644 --- a/Mapping/ElementMetadata.php +++ b/Mapping/ElementMetadata.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Mapping; + use Symfony\Component\Validator\Constraint; abstract class ElementMetadata diff --git a/Mapping/GetterMetadata.php b/Mapping/GetterMetadata.php index 9af07469e..9ec48e52e 100644 --- a/Mapping/GetterMetadata.php +++ b/Mapping/GetterMetadata.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Mapping; + use Symfony\Component\Validator\Exception\ValidatorException; class GetterMetadata extends MemberMetadata diff --git a/Mapping/Loader/AnnotationLoader.php b/Mapping/Loader/AnnotationLoader.php index 314730151..8d2f2afe9 100644 --- a/Mapping/Loader/AnnotationLoader.php +++ b/Mapping/Loader/AnnotationLoader.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Mapping\Loader; + use Symfony\Component\Validator\Exception\MappingException; use Symfony\Component\Validator\Mapping\ClassMetadata; use Doctrine\Common\Annotations\AnnotationReader; diff --git a/Mapping/Loader/FileLoader.php b/Mapping/Loader/FileLoader.php index 08c78f622..4f6c9b6aa 100644 --- a/Mapping/Loader/FileLoader.php +++ b/Mapping/Loader/FileLoader.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Mapping\Loader; + use Symfony\Component\Validator\Exception\MappingException; use Symfony\Component\Validator\Mapping\ClassMetadata; use Symfony\Component\Validator\Mapping\GroupMetadata; diff --git a/Mapping/Loader/FilesLoader.php b/Mapping/Loader/FilesLoader.php index 2440d7541..daf30f668 100644 --- a/Mapping/Loader/FilesLoader.php +++ b/Mapping/Loader/FilesLoader.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Mapping\Loader; + /** * Creates mapping loaders for array of files. * diff --git a/Mapping/Loader/LoaderChain.php b/Mapping/Loader/LoaderChain.php index 27eaed305..59176c495 100644 --- a/Mapping/Loader/LoaderChain.php +++ b/Mapping/Loader/LoaderChain.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Mapping\Loader; + use Symfony\Component\Validator\Exception\MappingException; use Symfony\Component\Validator\Mapping\ClassMetadata; diff --git a/Mapping/Loader/LoaderInterface.php b/Mapping/Loader/LoaderInterface.php index 9bd628b5e..79238dff1 100644 --- a/Mapping/Loader/LoaderInterface.php +++ b/Mapping/Loader/LoaderInterface.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Mapping\Loader; + use Symfony\Component\Validator\Mapping\ClassMetadata; interface LoaderInterface diff --git a/Mapping/Loader/StaticMethodLoader.php b/Mapping/Loader/StaticMethodLoader.php index 45d02bafa..01552423a 100644 --- a/Mapping/Loader/StaticMethodLoader.php +++ b/Mapping/Loader/StaticMethodLoader.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Mapping\Loader; + use Symfony\Component\Validator\Exception\MappingException; use Symfony\Component\Validator\Mapping\ClassMetadata; diff --git a/Mapping/Loader/XmlFileLoader.php b/Mapping/Loader/XmlFileLoader.php index ac2c96c18..7d743e519 100644 --- a/Mapping/Loader/XmlFileLoader.php +++ b/Mapping/Loader/XmlFileLoader.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Mapping\Loader; + use Symfony\Component\Validator\Exception\MappingException; use Symfony\Component\Validator\Mapping\ClassMetadata; diff --git a/Mapping/Loader/XmlFilesLoader.php b/Mapping/Loader/XmlFilesLoader.php index 725719704..ea16c1263 100644 --- a/Mapping/Loader/XmlFilesLoader.php +++ b/Mapping/Loader/XmlFilesLoader.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Mapping\Loader; + /** * Loads multiple xml mapping files * diff --git a/Mapping/Loader/YamlFileLoader.php b/Mapping/Loader/YamlFileLoader.php index c29096cd5..79b3786e7 100644 --- a/Mapping/Loader/YamlFileLoader.php +++ b/Mapping/Loader/YamlFileLoader.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Mapping\Loader; + use Symfony\Component\Validator\Exception\MappingException; use Symfony\Component\Validator\Mapping\ClassMetadata; use Symfony\Component\Yaml\Yaml; diff --git a/Mapping/Loader/YamlFilesLoader.php b/Mapping/Loader/YamlFilesLoader.php index d9ff4117e..26d083d0d 100644 --- a/Mapping/Loader/YamlFilesLoader.php +++ b/Mapping/Loader/YamlFilesLoader.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Mapping\Loader; + /** * Loads multiple yaml mapping files * diff --git a/Mapping/MemberMetadata.php b/Mapping/MemberMetadata.php index e53574439..45446a416 100644 --- a/Mapping/MemberMetadata.php +++ b/Mapping/MemberMetadata.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Mapping; + use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\Constraints\Valid; use Symfony\Component\Validator\Exception\ValidatorException; diff --git a/Mapping/PropertyMetadata.php b/Mapping/PropertyMetadata.php index 88d2481bb..aee0a02e0 100644 --- a/Mapping/PropertyMetadata.php +++ b/Mapping/PropertyMetadata.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator\Mapping; + use Symfony\Component\Validator\Exception\ValidatorException; class PropertyMetadata extends MemberMetadata diff --git a/ValidationContext.php b/ValidationContext.php index d692cb459..8f9117a4f 100644 --- a/ValidationContext.php +++ b/ValidationContext.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator; + use Symfony\Component\Validator\Mapping\ClassMetadataFactoryInterface; /** diff --git a/Validator.php b/Validator.php index 551cc6be8..276648af4 100644 --- a/Validator.php +++ b/Validator.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator; + use Symfony\Component\Validator\Mapping\ElementMetadata; use Symfony\Component\Validator\Mapping\ClassMetadata; use Symfony\Component\Validator\Mapping\ClassMetadataFactoryInterface; diff --git a/ValidatorInterface.php b/ValidatorInterface.php index bdbcb1402..415daf8fc 100644 --- a/ValidatorInterface.php +++ b/ValidatorInterface.php @@ -1,16 +1,16 @@ * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ +namespace Symfony\Component\Validator; + use Symfony\Component\Validator\Constraint; /**