Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[Validator] added improve support for collection validation#9988
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Closed
Uh oh!
There was an error while loading.Please reload this page.
Closed
Changes from1 commit
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
[Validator] Fixed phpcs issues
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit5fff51ad83930642a1a789a087566973a9a138cd
There are no files selected for viewing
4 changes: 0 additions & 4 deletionssrc/Symfony/Component/Validator/Constraints/AbstractComposite.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -30,7 +30,6 @@ abstract class AbstractComposite extends Constraint | ||
*/ | ||
public $constraints = array(); | ||
/** | ||
* {@inheritDoc} | ||
*/ | ||
@@ -95,7 +94,6 @@ public function __construct($options = null) | ||
} | ||
} | ||
/** | ||
* Adds the given group if this constraint is in the Default group | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. missing | ||
* | ||
@@ -114,7 +112,6 @@ public function addImplicitGroupName($group) | ||
} | ||
} | ||
/** | ||
* {@inheritDoc} | ||
*/ | ||
@@ -123,7 +120,6 @@ public function getDefaultOption() | ||
return 'constraints'; | ||
} | ||
/** | ||
* {@inheritDoc} | ||
*/ | ||
1 change: 0 additions & 1 deletionsrc/Symfony/Component/Validator/Constraints/AbstractCompositeValidator.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletionssrc/Symfony/Component/Validator/Constraints/All.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -11,8 +11,6 @@ | ||
namespace Symfony\Component\Validator\Constraints; | ||
/** | ||
* @Annotation | ||
* | ||
3 changes: 0 additions & 3 deletionssrc/Symfony/Component/Validator/Constraints/AllValidator.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -11,9 +11,6 @@ | ||
namespace Symfony\Component\Validator\Constraints; | ||
/** | ||
* @author Bernhard Schussek <bschussek@gmail.com> | ||
* | ||
4 changes: 1 addition & 3 deletionssrc/Symfony/Component/Validator/Constraints/Each.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletionssrc/Symfony/Component/Validator/Constraints/EachValidator.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletionssrc/Symfony/Component/Validator/Constraints/None.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -11,10 +11,6 @@ | ||
namespace Symfony\Component\Validator\Constraints; | ||
/** | ||
* @Annotation | ||
* | ||
6 changes: 1 addition & 5 deletionssrc/Symfony/Component/Validator/Constraints/NoneValidator.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletionssrc/Symfony/Component/Validator/Constraints/Some.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
10 changes: 3 additions & 7 deletionssrc/Symfony/Component/Validator/Constraints/SomeValidator.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletionsrc/Symfony/Component/Validator/Constraints/Unique.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -11,7 +11,6 @@ | ||
namespace Symfony\Component\Validator\Constraints; | ||
use Symfony\Component\Validator\Constraint; | ||
/** | ||
3 changes: 1 addition & 2 deletionssrc/Symfony/Component/Validator/Constraints/UniqueValidator.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletionssrc/Symfony/Component/Validator/Tests/Constraints/AbstractCompositeTest.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletionssrc/Symfony/Component/Validator/Tests/Constraints/NoneValidatorTest.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletionssrc/Symfony/Component/Validator/Tests/Constraints/SomeValidatorTest.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletionsrc/Symfony/Component/Validator/Tests/Constraints/UniqueTest.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletionssrc/Symfony/Component/Validator/Tests/Constraints/UniqueValidatorTest.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletionsrc/Symfony/Component/Validator/Tests/Fixtures/EntityCollection.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -28,4 +28,4 @@ class EntityCollection | ||
* | ||
*/ | ||
protected $collectionNotUnique = array(1,2,3,1,2); | ||
} |
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.