diff --git a/CHANGELOG.md b/CHANGELOG.md index 943e601..41c4829 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - Requires PHP `8.4` - Requires `innmind/server-control:~7.0` +- Requires `innmind/time:~1.0` ## 5.0.0 - 2025-05-08 diff --git a/composer.json b/composer.json index 7368bda..973c8bb 100644 --- a/composer.json +++ b/composer.json @@ -18,8 +18,7 @@ "php": "~8.4", "innmind/url": "~5.0", "innmind/server-control": "~7.0", - "innmind/time-warp": "~5.1", - "innmind/time-continuum": "~5.1", + "innmind/time": "~1.0", "psr/log": "~3.0" }, "autoload": { diff --git a/src/Factory.php b/src/Factory.php index 557f838..a84c9f1 100644 --- a/src/Factory.php +++ b/src/Factory.php @@ -4,8 +4,10 @@ namespace Innmind\FileWatch; use Innmind\Server\Control\Server\Processes; -use Innmind\TimeWarp\Halt; -use Innmind\TimeContinuum\Period; +use Innmind\Time\{ + Halt, + Period, +}; final class Factory { diff --git a/src/Ping/OutputDiff.php b/src/Ping/OutputDiff.php index 1fd6c77..0aa0088 100644 --- a/src/Ping/OutputDiff.php +++ b/src/Ping/OutputDiff.php @@ -10,8 +10,10 @@ Process\Output, Process\Output\Type, }; -use Innmind\TimeWarp\Halt; -use Innmind\TimeContinuum\Period; +use Innmind\Time\{ + Halt, + Period, +}; use Innmind\Immutable\{ Attempt, Sequence, diff --git a/src/Watch.php b/src/Watch.php index cb0176d..bbdfabd 100644 --- a/src/Watch.php +++ b/src/Watch.php @@ -12,8 +12,10 @@ Stat, }; use Innmind\Server\Control\Server\Processes; -use Innmind\TimeWarp\Halt; -use Innmind\TimeContinuum\Period; +use Innmind\Time\{ + Halt, + Period, +}; use Innmind\Url\Path; use Psr\Log\LoggerInterface; diff --git a/src/Watch/Stat.php b/src/Watch/Stat.php index 0b2cb90..726bff0 100644 --- a/src/Watch/Stat.php +++ b/src/Watch/Stat.php @@ -9,8 +9,10 @@ Processes, Command, }; -use Innmind\TimeWarp\Halt; -use Innmind\TimeContinuum\Period; +use Innmind\Time\{ + Halt, + Period, +}; /** * @internal diff --git a/tests/FunctionalTest.php b/tests/FunctionalTest.php index f990150..552a57c 100644 --- a/tests/FunctionalTest.php +++ b/tests/FunctionalTest.php @@ -11,8 +11,10 @@ ServerFactory, Server\Command, }; -use Innmind\TimeContinuum\Clock; -use Innmind\TimeWarp\Halt; +use Innmind\Time\{ + Clock, + Halt, +}; use Innmind\IO\IO; use Innmind\Url\Path; use Psr\Log\NullLogger;