Fix Doctrine deprecations (#4608)

This commit is contained in:
Kevin Papst
2024-02-02 15:48:11 +01:00
committed by GitHub
parent 49e69d1ae3
commit c2afebbb5e
11 changed files with 446 additions and 369 deletions

View File

@@ -30,7 +30,6 @@ abstract class AbstractMigration extends BaseAbstractMigration
}
/**
* @param Schema $schema
* @throws Exception
*/
public function preUp(Schema $schema): void
@@ -39,7 +38,6 @@ abstract class AbstractMigration extends BaseAbstractMigration
}
/**
* @param Schema $schema
* @throws Exception
*/
public function preDown(Schema $schema): void
@@ -52,7 +50,7 @@ abstract class AbstractMigration extends BaseAbstractMigration
*
* @throws Exception
*/
protected function abortIfPlatformNotSupported(): void
private function abortIfPlatformNotSupported(): void
{
$platform = $this->connection->getDatabasePlatform();
if (!($platform instanceof MySQLPlatform)) {