8000 Update GroupSequence.php by vudaltsov · Pull Request #19862 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Update GroupSequence.php #19862

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Update GroupSequence.php #19862

wants to merge 1 commit into from

Conversation

vudaltsov
Copy link
Contributor
@vudaltsov vudaltsov commented Sep 5, 2016
Q A
Branch? 2.7
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets no
License MIT
Doc PR no

Corrected the docblock example

Corrected the docblock example
@@ -17,7 +17,7 @@
* When validating a group sequence, each group will only be validated if all
* of the previous groups in the sequence succeeded. For example:
*
* $validator->validate($address, null, new GroupSequence('Basic', 'Strict'));
* $validator->validate($address, null, new GroupSequence(['Basic', 'Strict']));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be using the array()syntax instead as this PR should be merged in 2.7.

@fabpot
Copy link
Member
fabpot commented Sep 6, 2016

To be merged in 2.7 instead

nicolas-grekas added a commit that referenced this pull request Sep 6, 2016
This PR was submitted for the 3.0 branch but it was merged into the 2.7 branch instead (closes #19862).

Discussion
----------

Update GroupSequence.php

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | no
| License       | MIT
| Doc PR        | no

Corrected the docblock example

Commits
-------

c8f3741 Update GroupSequence.php
@nicolas-grekas
Copy link
Member

Thank you @vudaltsov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0