Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
[Validator] Document the DivisibleBy constraint#10121
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
[Validator] Document the DivisibleBy constraint#10121
Uh oh!
There was an error while loading.Please reload this page.
Conversation
colinodell commentedAug 10, 2018
The constraint has been renamed, so I've updated the documentation accordingly. |
…ivisibility (colinodell)This PR was squashed before being merged into the 4.2-dev branch (closes #28069).Discussion----------[Validator] New `DivisibleBy` constraint for testing divisibilityThis introduces a new ~`MultipleOf`~ `DivisibleBy` constraint which checks whether one number is a multiple of (aka "divisible by") some other number. Useful for enforcing specific increments on a number.| Q | A| ------------- | ---| Branch? | master| Bug fix? | no| New feature? | yes| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets | n/a| License | MIT| Doc PR |symfony/symfony-docs#10121Seesymfony/symfony-docs#10121 for examples of this constraint in action.Commits-------efcfb8b22d [Validator] New `DivisibleBy` constraint for testing divisibility
…ivisibility (colinodell)This PR was squashed before being merged into the 4.2-dev branch (closes#28069).Discussion----------[Validator] New `DivisibleBy` constraint for testing divisibilityThis introduces a new ~`MultipleOf`~ `DivisibleBy` constraint which checks whether one number is a multiple of (aka "divisible by") some other number. Useful for enforcing specific increments on a number.| Q | A| ------------- | ---| Branch? | master| Bug fix? | no| New feature? | yes| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets | n/a| License | MIT| Doc PR |symfony/symfony-docs#10121Seesymfony/symfony-docs#10121 for examples of this constraint in action.Commits-------efcfb8b [Validator] New `DivisibleBy` constraint for testing divisibility
javiereguiluz left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
@colinodell thanks a lot for providing this new constraint and for documenting it too. Sadly there are some merge conflicts. Could you please fix them? Thanks!
colinodell commentedSep 4, 2018
Thanks for the heads-up@javiereguiluz! Looks like the |
javiereguiluz commentedSep 6, 2018
It's merged now. Thanks Colin! |
…ell)This PR was merged into the master branch.Discussion----------[Validator] Document the DivisibleBy constraintDocumentation for the new ~`MultipleOf`~ `DivisibleBy` constraint proposed insymfony/symfony#28069Commits-------3270cca Document the DivisibleBy constraint
Uh oh!
There was an error while loading.Please reload this page.
Documentation for the new
MultipleOfDivisibleByconstraint proposed insymfony/symfony#28069