Skip to content

Commit

Permalink
Fix test issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Jul 6, 2023
1 parent 6b42da7 commit aef17a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 0 additions & 1 deletion src/Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -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, "'")
Expand Down

0 comments on commit aef17a1

Please sign in to comment.