Skip to content

Feat: Timing improvements#624

Merged
dgafka merged 9 commits intomainfrom
feat/timing-improvements
Feb 2, 2026
Merged

Feat: Timing improvements#624
dgafka merged 9 commits intomainfrom
feat/timing-improvements

Conversation

@dgafka
Copy link
Member

@dgafka dgafka commented Feb 1, 2026

Why is this change proposed?

New API: changeTime(DateTimeImmutable|Duration $time)
Available for Test Support.

// Set specific time (first call can set any time, subsequent calls cannot go backwards)
$ecotoneTestSupport->changeTime(new DateTimeImmutable('2025-08-11 16:01:01'));

// Advance time by duration
$ecotoneTestSupport->changeTime(Duration::minutes(2));

Pull Request Contribution Terms

  • I have read and agree to the contribution terms outlined in CONTRIBUTING.

@dgafka dgafka merged commit c62dda5 into main Feb 2, 2026
8 of 11 checks passed
@dgafka dgafka deleted the feat/timing-improvements branch February 2, 2026 19:51
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