remove legacy

This commit is contained in:
Sergei Shitikov
2025-02-16 13:02:01 +01:00
parent f899c41311
commit b36b08d916
17 changed files with 29 additions and 740 deletions
+2 -3
View File
@@ -19,10 +19,9 @@ interface TestContainer
public function withEntrypoint(string $entryPoint): static;
/**
* TODO: replace with array after deprecated implementation is removed
* @param array<string, string>|string $env
* @param array<string, string> $env An array of key-value pairs
*/
public function withEnvironment(array | string $env, ?string $value): static;
public function withEnvironment(array $env): static;
/** @param int|string|array<int|string> $ports One or more ports to expose. */
public function withExposedPorts(...$ports): static;