23 Commits

Author SHA1 Message Date
Nicolas Grekas
981ef58db6 Enforce return types on all components 2025-06-05 11:05:15 +02:00
Nicolas Grekas
1c2291355c [Validator] Revert native return types on ConstraintValidatorInterface 2023-07-05 16:19:44 +02:00
Wouter de Jong
975c11f6e5 [Components] Convert to native return types 2023-07-05 15:06:06 +02:00
Mickaël Buliard
bef0bf79cc [Validator] Add PHPDoc void return types 2023-03-15 20:10:46 +01:00
Nicolas Grekas
17429ee1bb [Validator] Add union types 2021-06-01 19:01:01 +02:00
Fabien Potencier
a096505b73 Remove unneeded phpdocs 2019-08-08 11:37:48 +02:00
Fabien Potencier
15a9807d6d [Validator] removed deprecated methods 2015-10-01 16:20:47 +02:00
Tobias Schultze
b5a99ab648 remove api tags from code 2015-09-28 19:11:22 +02:00
Bernhard Schussek
a7a50fcb4f [Validator] Refactored the GraphWalker into an implementation of the Visitor design pattern.
With this refactoring comes a decoupling of the validator from the structure of
the underlying metadata. This way it is possible for Drupal to use the validator
for validating their Entity API by using their own metadata layer, which is not
modeled as classes and properties/getter methods.
2012-11-24 13:00:28 +01:00
Fabien Potencier
2d02293c19 fixed CS 2012-07-09 14:54:20 +02:00
Douglas Greenshields
cf46013f35 [Validator] corrected small docblock typo 2012-05-09 12:25:32 +02:00
Bernhard Schussek
734609c5da [Validator] Renamed ConstraintValidatorInterface::isValid() to validate() because of the lack of a return value 2012-04-17 16:46:43 +02:00
Bernhard Schussek
529a58d990 [Validator] Removed return value from ConstraintValidatorInterface::isValid() 2012-04-17 16:46:43 +02:00
Bernhard Schussek
d7cb249094 [Validator] Deprecated ConstraintValidator methods setMessage(), getMessageTemplate() and getMessageParameters()
Had to refactor the validation tests at the same time and fixed various small bugs while doing so.
2012-02-01 14:03:13 +01:00
Fabien Potencier
be4f2a0422 [Validator] tagged the public @api 2011-07-20 10:37:57 +02:00
Fabien Potencier
fec10a40c1 replaced symfony-project.org by symfony.com 2011-03-06 12:40:06 +01:00
Ryan Weaver
5d7f8b22d8 [Standards] Changing many instances of "boolean" to "Boolean". 2011-01-21 09:53:24 +01:00
Bernhard Schussek
4b490bb536 [Validator] Added ValidatorFactory for programmatically creating validators 2011-01-19 16:25:50 +01:00
Dominique Bongiraud
64e1cf2218 normalized license messages in PHP files 2011-01-18 08:07:46 +01:00
Ryan Weaver
b309adcee2 [Validator] Adding a significant amount of PHPDoc to the Validator component. 2011-01-16 07:40:15 +01:00
pborreli
a3255a91b7 [Validator] Fixed coding standard 2010-10-16 10:49:41 +02:00
Fabien Potencier
06fcab55ef [Validation] fixed license 2010-10-02 12:42:35 +02:00
Fabien Potencier
c56d28dbd3 renamed Symfony\Components to Symfony\Component 2010-08-20 23:09:55 +02:00