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

Skip to content

[Validator] phpize default option values #20961

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

Merged
merged 1 commit into from
Dec 17, 2016
Merged

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Dec 16, 2016

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

This makes the behavior for default constraints inline with the behavior
when the option is given explicitly.

@@ -84,7 +84,7 @@ protected function parseConstraints(\SimpleXMLElement $nodes)
$options = array();
}
} elseif (strlen((string) $node) > 0) {
$options = trim($node);
$options = XmlUtils::phpize($node);
Copy link
Member

Choose a reason for hiding this comment

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

removing the trimming is a BC break

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed

This makes the behavior for default constraints inline with the behavior
when the option is given explicitly.
@fabpot
Copy link
Member

fabpot commented Dec 17, 2016

Thank you @xabbuh.

@fabpot fabpot merged commit d65679b into symfony:2.7 Dec 17, 2016
fabpot added a commit that referenced this pull request Dec 17, 2016
This PR was merged into the 2.7 branch.

Discussion
----------

[Validator] phpize default option values

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

This makes the behavior for default constraints inline with the behavior
when the option is given explicitly.

Commits
-------

d65679b [Validator] phpize default option values
@xabbuh xabbuh deleted the issue-13740 branch December 17, 2016 08:09
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