Skip to content
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

AbstractRelated should set names for child rule #365

Merged
merged 1 commit into from
Jul 16, 2015
Merged

AbstractRelated should set names for child rule #365

merged 1 commit into from
Jul 16, 2015

Conversation

henriquemoody
Copy link
Member

A code like this:

try {
    v::key('username', v::alnum()->noWhitespace()->length(4,22))->check($_POST);
} catch (ValidationExceptionInterface $exception) {
    echo $exception->getMainMessage().PHP_EOL;
}

Should display messages like this:

username must not contain whitespace

Fix #86

@henriquemoody
Copy link
Member Author

I'm not sure if it's a bug fix or a behaviour change.

If it is really a bug fix, it's necessary to cherry-pick 7f8815e to 0.8 and 0.9 branches, then create a PATCH versions.

henriquemoody added a commit that referenced this pull request Jul 16, 2015
AbstractRelated should set names for child rule
@henriquemoody henriquemoody merged commit a69d612 into Respect:master Jul 16, 2015
@henriquemoody henriquemoody added this to the 1.0 milestone Aug 9, 2015
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.

1 participant