This commit is contained in:
Sergei Shitikov
2024-09-06 20:15:10 +02:00
parent a10484e7f5
commit 656f38f056
10 changed files with 10 additions and 72 deletions
-9
View File
@@ -17,15 +17,6 @@ class MariaDBContainer extends GenericContainer
$this->withEnvironment('MARIADB_ROOT_PASSWORD', $mysqlRootPassword);
}
/**
* @deprecated Use constructor instead
* Left for backward compatibility
*/
public static function make(string $version = 'latest', string $mysqlRootPassword = 'root'): self
{
return new self($version, $mysqlRootPassword);
}
public function withMariaDBUser(string $username, string $password): self
{
$this->withEnvironment('MARIADB_USER', $username);
-9
View File
@@ -17,15 +17,6 @@ class MySQLContainer extends GenericContainer
$this->withWait(new WaitForLog('ready for connections'));
}
/**
* @deprecated Use constructor instead
* Left for backward compatibility
*/
public static function make(string $version = 'latest', string $mysqlRootPassword = 'root'): self
{
return new self($version, $mysqlRootPassword);
}
public function withMySQLUser(string $username, string $password): self
{
$this->withEnvironment('MYSQL_USER', $username);
-8
View File
@@ -37,12 +37,4 @@ class OpenSearchContainer extends GenericContainer
return $this;
}
/**
* @deprecated Use withDisabledSecurityPlugin instead
*/
public function disableSecurityPlugin(): self
{
return $this->withDisabledSecurityPlugin();
}
}
-9
View File
@@ -15,13 +15,4 @@ class RedisContainer extends GenericContainer
$this->withExposedPorts(6379);
$this->withWait(new WaitForLog('Ready to accept connections'));
}
/**
* @deprecated Use constructor instead
* Left for backward compatibility
*/
public static function make(string $version = 'latest'): self
{
return new self($version);
}
}