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 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);