File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
src/Symfony/Component/Validator Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ CHANGELOG
5
5
---
6
6
7
7
* Make ` PasswordStrengthValidator::estimateStrength() ` public
8
+ * Add the ` Yaml ` constraint for validating Yaml content
8
9
9
10
7.1
10
11
---
@@ -19,7 +20,6 @@ CHANGELOG
19
20
* Add the ` Charset ` constraint
20
21
* Add the ` requireTld ` option to the ` Url ` constraint
21
22
* Deprecate ` Bic::INVALID_BANK_CODE_ERROR `
22
- * Add the ` Yaml ` constraint for validating Yaml content
23
23
24
24
7.0
25
25
---
Original file line number Diff line number Diff line change 16
16
use Symfony \Component \Validator \Exception \LogicException ;
17
17
use Symfony \Component \Yaml \Parser ;
18
18
19
+ /**
20
+ * @author Kev <https://github.com/symfonyaml>
21
+ */
19
22
#[\Attribute(\Attribute::TARGET_PROPERTY | \Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE )]
20
23
class Yaml extends Constraint
21
24
{
Original file line number Diff line number Diff line change 19
19
use Symfony \Component \Yaml \Parser ;
20
20
21
21
/**
22
- * @author symfonyaml
22
+ * @author Kev <https://github.com/ symfonyaml>
23
23
*/
24
24
class YamlValidator extends ConstraintValidator
25
25
{
You can’t perform that action at this time.
0 commit comments