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

Add types to timecop functions #12

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

cs278
Copy link
Member

@cs278 cs278 commented Dec 24, 2021

Requires #8

timecop_travel(), timecop_freeze(), timecop_scale() now throw TypeError on PHP ≥ 7 if you pass in an invalid type.

This probably warrants a major version bump, at the same time it probably makes sense to drop support for older PHPs.

@cs278 cs278 self-assigned this Dec 24, 2021
@cs278 cs278 force-pushed the add-types-to-timecop-functions branch 3 times, most recently from c344d61 to b7d7657 Compare January 5, 2022 13:07
@cs278 cs278 force-pushed the add-types-to-timecop-functions branch from 2503e43 to 0a9769d Compare November 6, 2023 11:21
@cs278 cs278 force-pushed the add-types-to-timecop-functions branch from 08fe3cf to d8703cc Compare November 6, 2023 12:13
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.

1 participant