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
Fabien Potencier
7f9a366529
removed unneeded use statements
2014-01-01 08:52:14 +01:00
Fabien Potencier
b45f18b81d
Merge branch '2.2' into 2.3
...
* 2.2:
[Validator] fixed ConstraintViolation:: incorrect when nested
handle Optional and Required constraints from XML or YAML sources correctly
added missing comments to WebTestCase
Fixed #8455 : PhpExecutableFinder::find() does not always return the correct binary
[DependencyInjection] Fix Container::camelize to convert beginning and ending chars
[Validator] Fixed groups argument misplace for validateValue method from validator class
Conflicts:
src/Symfony/Component/Validator/Tests/Constraints/CollectionTest.php
src/Symfony/Component/Validator/Tests/GraphWalkerTest.php
2013-07-21 22:18:49 +02:00
Christian Flothmann
890934d33d
handle Optional and Required constraints from XML or YAML sources correctly
2013-07-21 21:45:37 +02:00
Bernhard Schussek
a868048a82
[Validator] Moved constraints Optional and Required to the Constraints\ namespace
2013-04-17 18:02:12 +02:00
dantleech
e655120f05
Enforce sprintf for exceptions
2013-04-11 08:50:46 +02:00
Dariusz Górecki
7c47e34928
[CS Fix] Consistent coding-style of concatenation operator usage
2013-04-02 10:39:57 +01:00
Bernhard Schussek
1fe39962fd
[Validator] Improved error messages displayed when the Valid constraint is misused
2012-07-11 18:23:09 +02:00
Sasa Stamenkovic
4bff221e7b
Added missing dot to translation messages.
2012-04-13 21:43:24 +02:00
Bernhard Schussek
a103c28b08
[Validator] The Collection constraint adds "missing" and "extra" errors to the individual fields now
2012-01-30 20:57:20 +01:00
Fabien Potencier
b36c002fa4
[Validator] tagged the public @api
2011-07-20 10:37:57 +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
Fabien Potencier
1aabc5da64
fixed CS
2011-06-08 12:16:48 +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
Fabien Potencier
a9160eee70
[Validator] made fields the default option for Collection constraint
2011-03-31 15:36:04 +02: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