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

more control over validation through optional user-generated validator #531

Merged
merged 1 commit into from
Nov 23, 2019

Conversation

tpetry
Copy link
Contributor

@tpetry tpetry commented Nov 22, 2019

Summary

My issues #505, #506 and #507 indicated that the actual validation implementation is not customizable enough for some cases. @mfn had the idea in #506 to add a getValidator method to implement the functionality. I did the needed minimal changes and verified that all 3 issues can be solved by this small code change.

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist

  • Existing tests have been adapted and/or new tests have been added
  • Code style has been fixed via composer fix-tyle

@tpetry
Copy link
Contributor Author

tpetry commented Nov 22, 2019

There are some code styling errors in the file i changed which have been there before my modification. Should i change them or ignore them as they have not been introduced by my change?

@mfn mfn self-assigned this Nov 23, 2019
@mfn
Copy link
Collaborator

mfn commented Nov 23, 2019

There are some code styling errors in the file i changed which have been there before my modification. Should i change them or ignore them as they have not been introduced by my change?

Not sure what you mean, didn't see anything.

I mean if you're talking about StyleCI: we replaced it with php-cs fixer, we just weren't able to remove the integration yet.

Copy link
Collaborator

@mfn mfn left a comment

Choose a reason for hiding this comment

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

Nice, thanks!

@mfn mfn merged commit 3ce8283 into rebing:master Nov 23, 2019
@mfn mfn mentioned this pull request Nov 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants