Skip to content

Commit 505921a

Browse files
author
symfonyaml
committed
Update branch destination 7.2 + authors
1 parent aebde0c commit 505921a

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

src/Symfony/Component/Validator/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ CHANGELOG
55
---
66

77
* Make `PasswordStrengthValidator::estimateStrength()` public
8+
* Add the `Yaml` constraint for validating Yaml content
89

910
7.1
1011
---
@@ -19,7 +20,6 @@ CHANGELOG
1920
* Add the `Charset` constraint
2021
* Add the `requireTld` option to the `Url` constraint
2122
* Deprecate `Bic::INVALID_BANK_CODE_ERROR`
22-
* Add the `Yaml` constraint for validating Yaml content
2323

2424
7.0
2525
---

src/Symfony/Component/Validator/Constraints/Yaml.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
use Symfony\Component\Validator\Exception\LogicException;
1717
use Symfony\Component\Yaml\Parser;
1818

19+
/**
20+
* @author Kev <https://github.com/symfonyaml>
21+
*/
1922
#[\Attribute(\Attribute::TARGET_PROPERTY | \Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)]
2023
class Yaml extends Constraint
2124
{

src/Symfony/Component/Validator/Constraints/YamlValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
use Symfony\Component\Yaml\Parser;
2020

2121
/**
22-
* @author symfonyaml
22+
* @author Kev <https://github.com/symfonyaml>
2323
*/
2424
class YamlValidator extends ConstraintValidator
2525
{

0 commit comments

Comments
 (0)