mirror of
https://github.com/beste/clock.git
synced 2026-10-17 11:27:34 +00:00
Deprecate Clock interface
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
# 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
|
||||
This release replaces `stella-maris/clock` with `psr/clock`.
|
||||
|
||||
|
||||
@@ -6,6 +6,9 @@ namespace Beste;
|
||||
|
||||
use Psr\Clock\ClockInterface;
|
||||
|
||||
/**
|
||||
* @deprecated since 3.1.0, use {@see ClockInterface} instead.
|
||||
*/
|
||||
interface Clock extends ClockInterface
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user