diff --git a/composer.json b/composer.json index 059536c..44854dc 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ "rector/rector": "^0.17", "roave/infection-static-analysis-plugin": "^1.16", "spatie/phpunit-watcher": "^1.23", - "vimeo/psalm": "^4.3|^5.6", + "vimeo/psalm": "^5.6", "yiisoft/aliases": "^2.0", "yiisoft/cache": "^2.0", "yiisoft/cache-file": "^2.0", diff --git a/src/Schema.php b/src/Schema.php index 4f469e2..1de5453 100644 --- a/src/Schema.php +++ b/src/Schema.php @@ -459,7 +459,6 @@ private function normalizeDefaultValue(?string $defaultValue, ColumnSchemaInterf && $columnSchema->getType() === self::TYPE_TIMESTAMP => new Expression($defaultValue), /** @psalm-var string $defaultValue */ - /** @psalm-suppress PossiblyNullOperand */ strlen($defaultValue) > 2 && str_starts_with($defaultValue, "'") && str_ends_with($defaultValue, "'")