lcobucci/clock
Small PHP clock abstraction to decouple your code from direct DateTimeImmutable instantiation. Depend on the Clock interface and use SystemClock for real time or FrozenClock for deterministic tests, with explicit timezone support.
This release bumps all dependencies, requiring PHP 8.4 as the minimum version.
This release adds PHP 8.5 compatibility.
phpunit-rc job thanks to @lcobucciThis drops php 8.2 and improves our clock implementations.
SystemClock as readonly thanks to @SlamdunkFrozenClock: add named constructor to system clock thanks to @SlamdunkThis fixes a teeny mistake on the FrozenClock.
This release provides PHP 8.4 compatibility and eases the use of the FrozenClock.
This release provides support for PHP 8.3.
This release provides early compatibility with PHP 8.3, allowing users to avoid surprises when upgrading to that PHP version.
This release bumps the minimum required PHP version to 8.2, updating all dependencies.
This release drops the temporary interface, directly implementing PSR-20.
This release updates PHP requirements and marks lcobucci/clock as a PSR-20 implementation (finally 🎉).
This release introduces a compatibility layer with the PSR-20 drafts, allowing us to already get some interoperability by depending on a shared interface.
This release drops PHP 7.4 support while ensuring that PHP 8.1 is compatible.
This release prepares for a BC-break: we're going to remove the ability to create a SystemClock without passing the timezone object.
If you rely on the system's default timezone, please use SystemClock::fromSystemTimezone().
This release adds new QA tools to the build, ensuring the quality of the project. Also makes the project require PHP 7.2.
Total issues resolved: 1
How can I help you explore Laravel packages today?