Fabien Potencier
572864b223
Merge branch '3.4' into 4.1
...
* 3.4:
fixed CS
fixed short array CS in comments
fixed CS in ExpressionLanguage fixtures
fixed CS in generated files
fixed CS on generated container files
fixed CS on Form PHP templates
fixed CS on YAML fixtures
fixed fixtures
switched array() to []
2019-01-16 19:21:11 +01:00
Fabien Potencier
33a001e460
switched array() to []
2019-01-16 10:39:14 +01:00
Christian Flothmann
bbd656b458
[Validator] remove deprecated features
2017-05-21 12:14:51 +02:00
Tobias Schultze
a2a4967167
Merge branch '2.7' into 2.8
...
Conflicts:
src/Symfony/Component/Console/Application.php
src/Symfony/Component/Console/Command/Command.php
src/Symfony/Component/Console/Formatter/OutputFormatter.php
src/Symfony/Component/Console/Formatter/OutputFormatterStyle.php
src/Symfony/Component/Console/Input/Input.php
src/Symfony/Component/Console/Input/InputArgument.php
src/Symfony/Component/Console/Input/InputDefinition.php
src/Symfony/Component/Console/Input/InputOption.php
src/Symfony/Component/Console/Output/OutputInterface.php
src/Symfony/Component/Console/Output/StreamOutput.php
src/Symfony/Component/CssSelector/CssSelector.php
src/Symfony/Component/DependencyInjection/Container.php
src/Symfony/Component/DependencyInjection/ContainerBuilder.php
src/Symfony/Component/DependencyInjection/ContainerInterface.php
src/Symfony/Component/DependencyInjection/Definition.php
src/Symfony/Component/DependencyInjection/Scope.php
src/Symfony/Component/DependencyInjection/ScopeInterface.php
src/Symfony/Component/Validator/Constraints/Currency.php
src/Symfony/Component/Validator/Constraints/CurrencyValidator.php
2015-09-29 14:32:55 +02:00
Tobias Schultze
8573385a83
Merge branch '2.3' into 2.7
...
Conflicts:
src/Symfony/Component/ClassLoader/ApcUniversalClassLoader.php
src/Symfony/Component/ClassLoader/DebugClassLoader.php
src/Symfony/Component/ClassLoader/UniversalClassLoader.php
src/Symfony/Component/Console/Command/Command.php
src/Symfony/Component/DependencyInjection/Definition.php
src/Symfony/Component/DependencyInjection/DefinitionDecorator.php
src/Symfony/Component/EventDispatcher/Event.php
src/Symfony/Component/Filesystem/Exception/IOException.php
src/Symfony/Component/HttpFoundation/File/File.php
src/Symfony/Component/HttpFoundation/ResponseHeaderBag.php
src/Symfony/Component/HttpFoundation/Session/SessionInterface.php
src/Symfony/Component/HttpFoundation/StreamedResponse.php
src/Symfony/Component/HttpKernel/Controller/ControllerResolver.php
src/Symfony/Component/HttpKernel/Controller/ControllerResolverInterface.php
src/Symfony/Component/HttpKernel/HttpKernel.php
src/Symfony/Component/HttpKernel/Kernel.php
src/Symfony/Component/HttpKernel/KernelInterface.php
src/Symfony/Component/HttpKernel/Log/LoggerInterface.php
src/Symfony/Component/HttpKernel/Log/NullLogger.php
src/Symfony/Component/Process/Process.php
src/Symfony/Component/Routing/RequestContext.php
src/Symfony/Component/Routing/Route.php
src/Symfony/Component/Templating/EngineInterface.php
src/Symfony/Component/Templating/PhpEngine.php
src/Symfony/Component/Templating/TemplateNameParser.php
src/Symfony/Component/Templating/TemplateReference.php
src/Symfony/Component/Templating/TemplateReferenceInterface.php
src/Symfony/Component/Translation/IdentityTranslator.php
src/Symfony/Component/Translation/Translator.php
src/Symfony/Component/Validator/ConstraintViolationInterface.php
src/Symfony/Component/Validator/Constraints/False.php
src/Symfony/Component/Validator/Constraints/FalseValidator.php
src/Symfony/Component/Validator/Constraints/GroupSequence.php
src/Symfony/Component/Validator/Constraints/Image.php
src/Symfony/Component/Validator/Constraints/Null.php
src/Symfony/Component/Validator/Constraints/NullValidator.php
src/Symfony/Component/Validator/Constraints/True.php
src/Symfony/Component/Validator/Constraints/TrueValidator.php
src/Symfony/Component/Validator/ExecutionContextInterface.php
src/Symfony/Component/Validator/ValidatorInterface.php
2015-09-29 14:06:14 +02:00
Tobias Schultze
f1c7c657a7
remove api tags from code
2015-09-28 19:11:22 +02:00
Bernhard Schussek
8874e88384
[Validator] Added missing error codes and turned codes into UUIDs
2015-06-30 16:06:42 +02:00
Bernhard Schussek
3b50bf23a1
[Validator] Added error codes to all constraints with multiple error causes
2014-09-30 23:13:20 +02:00
Tobias Schultze
2025778c8f
[Validator] no need to initialize properties with null
2014-06-17 12:31:26 +02:00
Fabien Potencier
542d6fa580
added @Target annotations
2014-04-23 15:35:47 +02:00
Fabien Potencier
810b9ed107
made {@inheritdoc} annotations consistent across the board
2014-04-16 09:04:20 +02:00
Bernhard Schussek
a868048a82
[Validator] Moved constraints Optional and Required to the Constraints\ namespace
2013-04-17 18:02:12 +02:00
Bernhard Schussek
cc0df0a5af
[Validator] Changed validator to support pluralized messages by default
...
This was implemented in order to satisfy Drupal's requirements for a
singular and a plural message whenever a message is passed to their
implementation of transChoice().
2013-01-08 14:59:49 +01:00
Fabien Potencier
79148f3c86
Revert "merged branch ricardclau/rename_choice_to_oneof (PR #6360 )"
...
This reverts commit 1de60c902c
, reversing
changes made to e3cc337b00
.
Conflicts:
UPGRADE-2.2.md
2012-12-29 10:43:12 +01:00
Ricard Clau
9071676f0b
create oneof constraint and add deprecation messages in choice, also make choice extend new oneOf constraint to avoid duplicate code
2012-12-15 10:29:01 +01:00
Sasa Stamenkovic
4bff221e7b
Added missing dot to translation messages.
2012-04-13 21:43:24 +02:00
Fabien Potencier
b36c002fa4
[Validator] tagged the public @api
2011-07-20 10:37:57 +02:00
marc.weistroff
df57e0fe9a
[Validator] Added strict option to ChoiceConstraint.
2011-07-07 15:11:36 +02:00
Johannes Schmitt
efcb435268
updated to doctrine changes
2011-06-30 12:03:19 +02:00
Victor Berchet
87ca9f3a52
[Validation] some tweaks and phpDoc
2011-06-14 09:40:26 +02:00
stloyd
3ea2a32c53
Refactor validators constraints:
...
- remove need for defining "getTargets()" method as 95% of validators use same one
- replace abstract "Constraint::getTargets()" with one that use 95% of validators
- add additional tests for "Constraint::getTargets()" method
- remove unused "use" statement in Constraint\Valid
2011-05-25 10:51:35 +02:00
Ryan Weaver
1856601524
[Validator] Modifying Choice message and adding a different multiple message
2011-04-21 20:05:13 -05:00
Fabien Potencier
f92055ce42
[Validator] renamed methods that do not follow CS
...
requiredOptions -> getRequiredOptions
targets -> getTargets
defaultOption -> getDefaultOption
2011-03-30 23:18:20 +02:00
Fabien Potencier
8c423edfef
replaced symfony-project.org by symfony.com
2011-03-06 12:40:06 +01:00
Bernhard Schussek
eed3c9a48c
[Validator] Added abstract method Constraint::targets() to define whether constraints can be put onto properties, classes or both
2011-01-19 16:25:50 +01:00
Dominique Bongiraud
64fb94c725
normalized license messages in PHP files
2011-01-18 08:07:46 +01:00
Fabien Potencier
3a4d9cb185
[Validation] fixed license
2010-10-02 12:42:35 +02:00
Fabien Potencier
9580c74f0b
[Validator] changed the convention for placeholders in messages to be compatible with Twig (from %limit% to {{ limit }})
2010-09-27 09:46:56 +02:00
Fabien Potencier
866c306dc8
removed the message interpolator system in the Validator component (i18n management should be done globally, not in a specific component)
2010-09-24 16:41:28 +02:00
Fabien Potencier
bf82cf42dd
renamed Symfony\Components to Symfony\Component
2010-08-20 23:09:55 +02:00