Commit Graph
39 Commits
Author SHA1 Message Date
Jérôme Gamez df585ab815 Update changelog 2026-08-23 20:09:20 +02:00
Jérôme Gamez c094cf87e3 Don't assume the local time zone is not Europe/Berlin 2026-08-23 20:03:38 +02:00
Jérôme Gamez c2243a5934 Harden WrappingClock validation
Wrapping an object should not call it just to validate the return value.
Instead, we check the method signature when the object is wrapped, and
the return value at runtime. We were implicitly checking it already
with the `assert()` calls.
2026-08-23 20:03:38 +02:00
Jérôme Gamez e8f20c112e Don't auto-merge dependabot PRs 2026-08-23 19:35:54 +02:00
Jérôme Gamez 7db7032723 Type time zone input 2026-08-23 19:33:15 +02:00
Jérôme Gamez 8f5274748c Update README 2026-08-23 19:30:12 +02:00
Jérôme Gamez e73aacc19c Update to PHPUnit 12 2026-08-22 23:51:52 +02:00
Jérôme Gamez c062aff727 Drop support for PHP versions before 8.3 2026-08-22 23:51:52 +02:00
Jérôme Gamez b4408036c1 Move source and test files up one level 2026-08-22 23:24:55 +02:00
Jérôme Gamez 0a55b7a019 Remove deprecated Clock interface 2026-08-22 23:24:55 +02:00
Jérôme Gamez 9818902960 Release 3.1.0 2026-08-22 23:09:57 +02:00
Jérôme Gamez 622d86328b Deprecate Clock interface 2026-08-22 00:11:17 +02:00
Jérôme Gamez bebff7fd27 Test against PHP 8.6 2026-08-21 00:00:48 +02:00
Jérôme Gamez 2c5bf134e4 Inherit funding information from the .github repo 2026-05-04 17:56:55 +02:00
Jérôme Gamez 264e712f65 Fix dependencies label 2026-03-29 00:43:27 +01:00
Jérôme Gamez 729cb30697 Add thanks.dev 2026-02-12 09:28:42 +01:00
Jérôme Gamez 48c449b37e Import classes instead of using FQNs 2025-09-29 23:57:09 +02:00
Jérôme Gamez ff31026046 Test with PHP 8.5 2025-09-29 23:57:09 +02:00
Jérôme Gamez d623da43da Update PHPStan and fix wrong @covers annotations 2025-09-12 16:04:10 +02:00
Jérôme Gamez 17e1c4ce7e Remove Psalm 2024-08-17 01:11:54 +02:00
Jérôme Gamez 0d80994228 Test with PHP 8.3 and 8.4 2024-08-17 01:07:13 +02:00
Jérôme Gamez 1a2fab532b Bump dev-dependencies 2024-08-17 00:55:49 +02:00
Jérôme Gamez 84e729ce8c Create FUNDING.yml 2024-07-13 21:45:02 +02:00
Jérôme Gamez 06686333c0 Add security policy 2024-07-13 21:26:56 +02:00
Jérôme Gamez d29ed0d755 Link to the PSR-20 Standard 2024-03-02 00:32:58 +01:00
Jérôme Gamez 7004b55fcd Release 3.0.0 2022-11-26 19:03:05 +01:00
Jérôme Gamez ebd491dc6e Replace stella-maris/clock with psr/clock 2022-11-26 19:01:32 +01:00
Jérôme Gamez cf2cc16e66 Release 2.3.1 2022-11-25 19:24:28 +01:00
Jérôme Gamez 6ee3f318f8 Switch back to stella-maris/clock
This reverts commit a5e62affe0.
2022-11-25 19:22:56 +01:00
Jérôme Gamez 2ba952cc73 Release 2.3.0 2022-11-25 19:02:11 +01:00
Jérôme Gamez 2861280adc Re-introduce support for PHP ^8.0 (instead of only 8.1.x and 8.2.x) 2022-11-25 19:02:11 +01:00
Jérôme Gamez a5e62affe0 Switch to the now released psr/clock-interface 2022-11-25 18:08:55 +01:00
Jérôme Gamez 24b2fc5716 Release 2.2.0 2022-11-05 00:08:15 +01:00
Jérôme Gamez 4b16082f08 Set up Dependabot with auto-merge 2022-11-05 00:05:05 +01:00
Jérôme Gamez 317ed729ce Drop support for PHP <8.1 2022-11-05 00:03:47 +01:00
Jérôme Gamez 201ed087ca Re-enable tests for the 1.x and 2.x branches 2022-04-24 15:39:46 +02:00
Jérôme Gamez f3edef9cbc Add a WrappingClock
The `WrappingClock` allows using an object with a `now()` method
returning a `DateTimeImmutable` object as a "real" clock.
2022-04-24 15:38:25 +02:00
Jérôme Gamez 98d1e6f1d8 Release 2.0.0 2022-04-20 16:28:31 +02:00
Jérôme Gamez 10c02d2b49 Initial Release 2021-12-10 16:09:27 +01:00