Sebastian Hörl
54cb6e458e
[Validator] Added dynamic constraints
2012-01-14 02:06:07 +01:00
Johannes Schmitt
efcb435268
updated to doctrine changes
2011-06-30 12:03:19 +02:00
Fabien Potencier
17cd08dc6c
fixed CS
2011-06-08 19:56:59 +02:00
Johannes Schmitt
f2160b2e79
[Validator] updated fixtures
2011-05-01 14:50:28 +02:00
Johannes Schmitt
7e26575bbd
[FrameworkBundle] added framework-wide annotation reader, updated validator tests
2011-04-29 15:54:44 +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
Johannes M. Schmitt
7887f04dc2
removed Assert prefix from all constraints, renamed annotation namespace to assert
2011-03-26 15:26:05 +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
Bernhard Schussek
708c780213
[Validator] Renamed @Validation constraint to @Set
2011-01-03 22:06:52 +01:00
Jordi Boggiano
3d9b13f240
CS: Unified non-strict equality comparisons, put var on the right side
2010-12-21 08:51:27 +01:00
Bernhard Schussek
a71cad480a
[Validator] Added @validation:GroupSequence to annotation driver
2010-11-19 07:11:23 +01:00
Bernhard Schussek
940ce9aedf
[Validator] Group "Default" is now propagated to validated references when group sequences are validated
...
This conforms to JSR303 (see version 1.0 final, page 39).
2010-11-17 08:02:10 +01:00
Bernhard Schussek
6a148465da
[Validator][Form] Removed support for match-all group "*"
...
The constraint "Valid" does not accept any options or groups anymore. As per
JSR303 1.0 final, section 3.5.1 "Object graph validation" (page 39),
properties annotated with valid should be cascaded independent of the current
group (i.e. always). Thus the group "*" is not necessary anymore and was
removed from the "Valid" constraint in the Form validation.xml.
2010-11-17 08:02:06 +01:00
jeff
69cd21d8be
[Validator] Fixed annotation loader to not add parent constraints twice
2010-11-12 17:56:09 +01:00
Fabien Potencier
0fc8906feb
[Validator] forced all validation annotations to be in the validation namespace to avoid collisions, removed the need for the wrapping @Validation annotation
...
Before:
/**
* @Validation({@DateTime()})
*/
After:
/**
* @validation:DateTime()
*/
The @validation:Validation() construct is not needed anymore (it is still supported
as this is useful when you have several annotations with the same class).
So, the above is equivalent to:
/**
* @validation:Validation({@validation:DateTime()})
*/
2010-10-02 15:07:00 +02:00
Fabien Potencier
bf82cf42dd
renamed Symfony\Components to Symfony\Component
2010-08-20 23:09:55 +02:00