Skip to content

Commit 887e51e

Browse files
authored
Merge pull request #20 from Innmind/replace-time-deps
Replace `innmind/time-continuum` and `innmind/time-warp` by `innmind/time`
2 parents ef84d18 + 53ab94c commit 887e51e

7 files changed

Lines changed: 22 additions & 12 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
- Requires PHP `8.4`
88
- Requires `innmind/server-control:~7.0`
9+
- Requires `innmind/time:~1.0`
910

1011
## 5.0.0 - 2025-05-08
1112

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
"php": "~8.4",
1919
"innmind/url": "~5.0",
2020
"innmind/server-control": "~7.0",
21-
"innmind/time-warp": "~5.1",
22-
"innmind/time-continuum": "~5.1",
21+
"innmind/time": "~1.0",
2322
"psr/log": "~3.0"
2423
},
2524
"autoload": {

src/Factory.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
namespace Innmind\FileWatch;
55

66
use Innmind\Server\Control\Server\Processes;
7-
use Innmind\TimeWarp\Halt;
8-
use Innmind\TimeContinuum\Period;
7+
use Innmind\Time\{
8+
Halt,
9+
Period,
10+
};
911

1012
final class Factory
1113
{

src/Ping/OutputDiff.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@
1010
Process\Output,
1111
Process\Output\Type,
1212
};
13-
use Innmind\TimeWarp\Halt;
14-
use Innmind\TimeContinuum\Period;
13+
use Innmind\Time\{
14+
Halt,
15+
Period,
16+
};
1517
use Innmind\Immutable\{
1618
Attempt,
1719
Sequence,

src/Watch.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@
1212
Stat,
1313
};
1414
use Innmind\Server\Control\Server\Processes;
15-
use Innmind\TimeWarp\Halt;
16-
use Innmind\TimeContinuum\Period;
15+
use Innmind\Time\{
16+
Halt,
17+
Period,
18+
};
1719
use Innmind\Url\Path;
1820
use Psr\Log\LoggerInterface;
1921

src/Watch/Stat.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@
99
Processes,
1010
Command,
1111
};
12-
use Innmind\TimeWarp\Halt;
13-
use Innmind\TimeContinuum\Period;
12+
use Innmind\Time\{
13+
Halt,
14+
Period,
15+
};
1416

1517
/**
1618
* @internal

tests/FunctionalTest.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@
1111
ServerFactory,
1212
Server\Command,
1313
};
14-
use Innmind\TimeContinuum\Clock;
15-
use Innmind\TimeWarp\Halt;
14+
use Innmind\Time\{
15+
Clock,
16+
Halt,
17+
};
1618
use Innmind\IO\IO;
1719
use Innmind\Url\Path;
1820
use Psr\Log\NullLogger;

0 commit comments

Comments
 (0)