Deprecate Clock interface

This commit is contained in:
Jérôme Gamez
2026-08-22 00:11:17 +02:00
parent bebff7fd27
commit 622d86328b
2 changed files with 9 additions and 0 deletions
+6
View File
@@ -1,5 +1,11 @@
# CHANGELOG # CHANGELOG
## Unreleased
Deprecates `Beste\Clock` in favor of `Psr\Clock\ClockInterface`. The implementations continue to implement
the deprecated interface for backwards compatibility. Please type against `Psr\Clock\ClockInterface`.
`Beste\Clock` will be removed in 4.0.
## 3.0.0 - 2022-11-26 ## 3.0.0 - 2022-11-26
This release replaces `stella-maris/clock` with `psr/clock`. This release replaces `stella-maris/clock` with `psr/clock`.
+3
View File
@@ -6,6 +6,9 @@ namespace Beste;
use Psr\Clock\ClockInterface; use Psr\Clock\ClockInterface;
/**
* @deprecated since 3.1.0, use {@see ClockInterface} instead.
*/
interface Clock extends ClockInterface interface Clock extends ClockInterface
{ {