Feature/1601 ensure utc in database #410
pr.yaml
on: pull_request
Markdown Lint
5s
Changelog should be updated
10s
Matrix: php-cs-fixer
Matrix: psalm
Matrix: test-composer-install
Matrix: test-suite
Matrix: validate-doctrine-schema
Annotations
7 errors
RedundantPropertyInitializationCheck:
src/Doctrine/Extensions/DBAL/Types/UTCDateTimeImmutableType.php#L48
src/Doctrine/Extensions/DBAL/Types/UTCDateTimeImmutableType.php:48:16: RedundantPropertyInitializationCheck: Static property App\Doctrine\Extensions\DBAL\Types\UTCDateTimeImmutableType::$utc with type DateTimeZone has unexpected isset check — should it be nullable? (see https://psalm.dev/261)
|
RedundantPropertyInitializationCheck:
src/Doctrine/Extensions/DBAL/Types/UTCDateTimeImmutableType.php#L48
src/Doctrine/Extensions/DBAL/Types/UTCDateTimeImmutableType.php:48:31: RedundantPropertyInitializationCheck: Static property App\Doctrine\Extensions\DBAL\Types\UTCDateTimeImmutableType::$utc with type DateTimeZone has unexpected isset check — should it be nullable? (see https://psalm.dev/261)
|
InvalidNullableReturnType:
src/Doctrine/Extensions/DBAL/Types/UTCDateTimeType.php#L22
src/Doctrine/Extensions/DBAL/Types/UTCDateTimeType.php:22:76: InvalidNullableReturnType: The declared return type 'DateTime' for App\Doctrine\Extensions\DBAL\Types\UTCDateTimeType::convertToPHPValue is not nullable, but 'DateTime|T' contains null (see https://psalm.dev/144)
|
NullableReturnStatement:
src/Doctrine/Extensions/DBAL/Types/UTCDateTimeType.php#L25
src/Doctrine/Extensions/DBAL/Types/UTCDateTimeType.php:25:20: NullableReturnStatement: The declared return type 'DateTime' for App\Doctrine\Extensions\DBAL\Types\UTCDateTimeType::convertToPHPValue is not nullable, but the function returns 'T:fn-doctrine\dbal\types\datetimetype::converttophpvalue as DateTime|null' (see https://psalm.dev/139)
|
RedundantPropertyInitializationCheck:
src/Doctrine/Extensions/DBAL/Types/UTCDateTimeType.php#L43
src/Doctrine/Extensions/DBAL/Types/UTCDateTimeType.php:43:16: RedundantPropertyInitializationCheck: Static property App\Doctrine\Extensions\DBAL\Types\UTCDateTimeType::$utc with type DateTimeZone has unexpected isset check — should it be nullable? (see https://psalm.dev/261)
|
RedundantPropertyInitializationCheck:
src/Doctrine/Extensions/DBAL/Types/UTCDateTimeType.php#L43
src/Doctrine/Extensions/DBAL/Types/UTCDateTimeType.php:43:31: RedundantPropertyInitializationCheck: Static property App\Doctrine\Extensions\DBAL\Types\UTCDateTimeType::$utc with type DateTimeZone has unexpected isset check — should it be nullable? (see https://psalm.dev/261)
|
Psalm static analysis (8.3)
Process completed with exit code 2.
|