Skip to content

Commit 4590252

Browse files
committed
Merge branch '2.5'
* 2.5: [Validator] Remove property and method targets from the optional and required constraints. fixed CHANGELOG for 2.5 bumped Symfony version to 2.5.0 updated VERSION for 2.5.0-RC1 updated CHANGELOG for 2.5.0-RC1 [DomCrawler] Fixed charset detection in html5 meta charset tag
2 parents 4868b10 + 62f6f77 commit 4590252

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Constraints/Optional.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
/**
1515
* @Annotation
16-
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
16+
* @Target({"ANNOTATION"})
1717
*
1818
* @author Bernhard Schussek <[email protected]>
1919
*/

Constraints/Required.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
/**
1515
* @Annotation
16-
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
16+
* @Target({"ANNOTATION"})
1717
*
1818
* @author Bernhard Schussek <[email protected]>
1919
*/

0 commit comments

Comments
 (0)