-
Notifications
You must be signed in to change notification settings - Fork 360
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
Remove usage of mt_rand #87
Conversation
08a28ff
to
b80d744
Compare
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.
Looks good to me.
70ed24a
to
79a738a
Compare
Excellent, thanks. Note that we may need to revert this if people were seeding the mt_ functions in their tests, and start complaining. I think this is unlikely, though. I'm sure anyone affected will let us know on the issue tracker, once the next release goes out. |
This PR
mt_rand
where it's not necessary and usesstatic::numberBetween()
ormt_rand(0, 1)
usages were replaced withMiscellaneous::boolean()
DateTime::dateTimeThisCentury()
for consistency.