From fad7018651f61d15d070baaac29074b7c1e1042b Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Tue, 1 Oct 2024 19:44:29 +0200 Subject: [PATCH] TASK: Post rebase phpstan adjustments --- Classes/ContentRepository.php | 1 + Classes/Infrastructure/DbalSchemaFactory.php | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/Classes/ContentRepository.php b/Classes/ContentRepository.php index e12aed5f..bf3b6973 100644 --- a/Classes/ContentRepository.php +++ b/Classes/ContentRepository.php @@ -42,6 +42,7 @@ use Neos\ContentRepository\Core\SharedModel\Workspace\ContentStream; use Neos\ContentRepository\Core\SharedModel\Workspace\ContentStreamId; use Neos\ContentRepository\Core\SharedModel\Workspace\ContentStreams; +use Neos\ContentRepository\Core\SharedModel\Workspace\Workspace; use Neos\ContentRepository\Core\SharedModel\Workspace\WorkspaceName; use Neos\ContentRepository\Core\SharedModel\Workspace\Workspaces; use Neos\EventStore\EventStoreInterface; diff --git a/Classes/Infrastructure/DbalSchemaFactory.php b/Classes/Infrastructure/DbalSchemaFactory.php index 767bde52..34b59dc9 100644 --- a/Classes/Infrastructure/DbalSchemaFactory.php +++ b/Classes/Infrastructure/DbalSchemaFactory.php @@ -63,13 +63,6 @@ public static function columnForContentStreamId(string $columnName): Column ->setLength(36); } - public static function columnForWorkspaceName(string $columnName): Column - { - return (new Column($columnName, Type::getType(Types::STRING))) - ->setLength(WorkspaceName::MAX_LENGTH) - ->setCustomSchemaOption('collation', 'utf8mb4_unicode_520_ci'); - } - /** * An anchorpoint can be used in a given projection to link two nodes, it is a purely internal identifier and should * be as performant as possible in queries, the current code uses UUIDs,