improve entity test case #123
Annotations
7 errors
PossiblyNullReference:
src/Generator/EntityBuilder.php#L75
src/Generator/EntityBuilder.php:75:51: PossiblyNullReference: Cannot call method get on possibly null value (see https://psalm.dev/083)
|
InvalidArgument:
src/Generator/EntityBuilder.php#L105
src/Generator/EntityBuilder.php:105:36: InvalidArgument: Argument 2 of PSX\Record\Record::put expects never, but TypeAPI\Model\IntegerPropertyType provided (see https://psalm.dev/004)
|
InvalidArgument:
src/Generator/EntityBuilder.php#L117
src/Generator/EntityBuilder.php:117:40: InvalidArgument: Argument 2 of PSX\Record\Record::put expects never, but TypeAPI\Model\PropertyType provided (see https://psalm.dev/004)
|
PossiblyNullArrayOffset:
src/Generator/EntityBuilder.php#L144
src/Generator/EntityBuilder.php:144:20: PossiblyNullArrayOffset: Cannot access value on variable $selfMapping using possibly null offset null|string (see https://psalm.dev/125)
|
PossiblyNullArrayOffset:
src/Generator/EntityBuilder.php#L147
src/Generator/EntityBuilder.php:147:47: PossiblyNullArrayOffset: Cannot access value on variable $typeMapping using possibly null offset null|string (see https://psalm.dev/125)
|
NullableReturnStatement:
src/Generator/EntityBuilder.php#L149
src/Generator/EntityBuilder.php:149:20: NullableReturnStatement: The declared return type 'string' for Fusio\Adapter\Sql\Generator\EntityBuilder::resolveRef is not nullable, but the function returns 'null|string' (see https://psalm.dev/139)
|
Psalm
Process completed with exit code 2.
|