Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Server/Cpu.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ private function __construct(
}

/**
* @internal
* @psalm-pure
*/
public static function of(
Expand Down
1 change: 1 addition & 0 deletions src/Server/Cpu/Cores.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ private function __construct(
}

/**
* @internal
* @psalm-pure
*
* @param int<1, max> $value
Expand Down
1 change: 1 addition & 0 deletions src/Server/Cpu/Percentage.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ private function __construct(
}

/**
* @internal
* @psalm-pure
*
* @return Maybe<self>
Expand Down
3 changes: 3 additions & 0 deletions src/Server/Disk/LoggerDisk.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ private function __construct(Disk $disk, LoggerInterface $logger)
$this->logger = $logger;
}

/**
* @internal
*/
public static function of(Disk $disk, LoggerInterface $logger): self
{
return new self($disk, $logger);
Expand Down
3 changes: 3 additions & 0 deletions src/Server/Disk/UnixDisk.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ private function __construct(Processes $processes)
$this->processes = $processes;
}

/**
* @internal
*/
public static function of(Processes $processes): self
{
return new self($processes);
Expand Down
1 change: 1 addition & 0 deletions src/Server/Disk/Volume.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ private function __construct(
}

/**
* @internal
* @psalm-pure
*/
public static function of(
Expand Down
1 change: 1 addition & 0 deletions src/Server/Disk/Volume/MountPoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ private function __construct(
}

/**
* @internal
* @psalm-pure
*
* @param non-empty-string $value
Expand Down
1 change: 1 addition & 0 deletions src/Server/Disk/Volume/Usage.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ private function __construct(
}

/**
* @internal
* @psalm-pure
*
* @return Maybe<self>
Expand Down
1 change: 1 addition & 0 deletions src/Server/LoadAverage.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ private function __construct(
}

/**
* @internal
* @psalm-pure
*
* @return Maybe<self>
Expand Down
1 change: 1 addition & 0 deletions src/Server/Memory.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ private function __construct(
}

/**
* @internal
* @psalm-pure
*/
public static function of(
Expand Down
2 changes: 2 additions & 0 deletions src/Server/Memory/Bytes.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ private function __construct(
}

/**
* @internal
* @psalm-pure
*
* @param int<0, max> $value
Expand Down Expand Up @@ -75,6 +76,7 @@ public function toString(): string
}

/**
* @internal
* @psalm-pure
*
* @return Maybe<self>
Expand Down
1 change: 1 addition & 0 deletions src/Server/Process.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ private function __construct(
}

/**
* @internal
* @psalm-pure
*
* @param Maybe<PointInTime> $start
Expand Down
1 change: 1 addition & 0 deletions src/Server/Process/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ private function __construct(
}

/**
* @internal
* @psalm-pure
*
* @param non-empty-string $value
Expand Down
1 change: 1 addition & 0 deletions src/Server/Process/Memory.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ private function __construct(
}

/**
* @internal
* @psalm-pure
*
* @return Maybe<self>
Expand Down
1 change: 1 addition & 0 deletions src/Server/Process/Pid.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ private function __construct(
}

/**
* @internal
* @psalm-pure
*
* @param int<1, max> $value
Expand Down
1 change: 1 addition & 0 deletions src/Server/Process/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ private function __construct(
}

/**
* @internal
* @psalm-pure
*
* @param non-empty-string $value
Expand Down
3 changes: 3 additions & 0 deletions src/Server/Processes/LoggerProcesses.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ private function __construct(Processes $processes, LoggerInterface $logger)
$this->logger = $logger;
}

/**
* @internal
*/
public static function of(Processes $processes, LoggerInterface $logger): self
{
return new self($processes, $logger);
Expand Down
3 changes: 3 additions & 0 deletions src/Server/Processes/UnixProcesses.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ private function __construct(Clock $clock, Control\Processes $processes)
$this->processes = $processes;
}

/**
* @internal
*/
public static function of(Clock $clock, Control\Processes $processes): self
{
return new self($clock, $processes);
Expand Down
3 changes: 3 additions & 0 deletions src/Servers/Linux.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ private function __construct(Clock $clock, Control $control)
$this->disk = UnixDisk::of($control->processes());
}

/**
* @internal
*/
public static function of(Clock $clock, Control $control): self
{
return new self($clock, $control);
Expand Down
3 changes: 3 additions & 0 deletions src/Servers/OSX.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ private function __construct(Clock $clock, Control $control, EnvironmentPath $pa
$this->disk = UnixDisk::of($control->processes());
}

/**
* @internal
*/
public static function of(Clock $clock, Control $control, EnvironmentPath $path): self
{
return new self($clock, $control, $path);
Expand Down