Sitelet https://github.com/beste/clock/commit/df585ab81536bc78ca8153926aa42db11c2aa5c9
Skip to content

Commit df585ab

Browse files
committed
Update changelog
1 parent c094cf8 commit df585ab

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22

33
## Unreleased
44

5-
Removed the deprecated `Beste\Clock` interface. Clock implementations now implement
6-
`Psr\Clock\ClockInterface` directly.
7-
8-
Dropped support for PHP <8.3.
5+
* Dropped support for PHP <8.3.
6+
* Removed the deprecated `Beste\Clock` interface. Clock implementations now implement
7+
`Psr\Clock\ClockInterface` directly.
8+
* `WrappingClock` will throw an `InvalidArgumentException` if the given object doesn't behave like
9+
a PSR-20 clock and will throw an `UnexpectedValueException` if a later call does not return
10+
`DateTimeImmutable`.
911

1012
## 3.1.0 - 2026-08-22
1113

0 commit comments

Comments
 (0)