Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ab29e07

Browse files
committed
bug #37558 Removed @internal from Composite (vudaltsov)
This PR was submitted for the master branch but it was merged into the 5.1 branch instead. Discussion ---------- Removed @internal from Composite | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | Fix #37348 | License | MIT I think that Composite should not be @internal. Even with the new @Compound constraint Composite is still useful for complex custom validators. For example, I have @ExcelColumn(string $column, array $constraints) that checks that all cells in a column of an uploaded Excel file are valid. This cannot be expressed with @Compound. Commits ------- 8958ce1 Removed @internal from Composite
2 parents 08ff65f + 8958ce1 commit ab29e07

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
* contains the nested constraints.
2626
*
2727
* @author Bernhard Schussek <[email protected]>
28-
*
29-
* @internal since Symfony 5.1
3028
*/
3129
abstract class Composite extends Constraint
3230
{

0 commit comments

Comments
 (0)