Gustavo Falco
af291bb0f1
[Validator] Fixed UrlValidator to accept empty strings ( closes #9297 )
2010-12-10 14:28:07 +01:00
pablodip
984a857a96
[Validator] fixed the static method loader to not repeat the loading when the static method is in the parent classes
2010-12-10 14:27:49 +01:00
Kris Wallsmith
3e02eafc70
Fixed visibility of PHPUnit setUp and tearDown methods.
2010-12-06 15:52:23 +01:00
Bernhard Schussek
68cebd667a
[Validator] Group sequences must now always contain the group "<ClassName>" and never the group "Default" since that group is redefined by the group sequence
2010-11-19 07:11:26 +01:00
Bernhard Schussek
a71cad480a
[Validator] Added @validation:GroupSequence to annotation driver
2010-11-19 07:11:23 +01:00
Jordi Boggiano
b2bd7ce57d
[Validator] Skipping AnnotationLoader tests if doctrine-common is not present
2010-11-18 06:59:09 +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
5b6d92df3c
fixed unit tests
2010-10-18 17:01:57 +02:00
Kris Wallsmith
5d4c80f27b
[Validator] removed DependencyInjection integration
2010-10-16 08:34:36 +02: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
3b1e83380b
[Validator] removed the convention that error parameters are delimited with %%
2010-09-29 07:59:45 +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
a141c98917
[HttpFoundation] moved File Component into the HttpFoundation one
2010-09-09 17:01:48 +02:00
Fabien Potencier
bf82cf42dd
renamed Symfony\Components to Symfony\Component
2010-08-20 23:09:55 +02:00