Skip to content

Symfony 7 support

Symfony 7 support #310

Triggered via pull request December 9, 2023 11:03
@GromNaNGromNaN
synchronize #784
kbond:sf7
Status Failure
Total duration 24s
Artifacts

static-analysis.yml

on: pull_request
Matrix: Static Analysis with Psalm
Fit to window
Zoom out
Zoom in

Annotations

4 errors
InvalidNullableReturnType: Command/DoctrineODMCommand.php#L43
Command/DoctrineODMCommand.php:43:16: InvalidNullableReturnType: The declared return type 'Doctrine\Bundle\MongoDBBundle\ManagerRegistry' for Doctrine\Bundle\MongoDBBundle\Command\DoctrineODMCommand::getManagerRegistry is not nullable, but 'Doctrine\Bundle\MongoDBBundle\ManagerRegistry|null' contains null (see https://psalm.dev/144)
NullableReturnStatement: Command/DoctrineODMCommand.php#L47
Command/DoctrineODMCommand.php:47:16: NullableReturnStatement: The declared return type 'Doctrine\Bundle\MongoDBBundle\ManagerRegistry' for Doctrine\Bundle\MongoDBBundle\Command\DoctrineODMCommand::getManagerRegistry is not nullable, but the function returns 'Doctrine\Bundle\MongoDBBundle\ManagerRegistry|null' (see https://psalm.dev/139)
InvalidReturnType: Form/DoctrineMongoDBTypeGuesser.php#L41
Form/DoctrineMongoDBTypeGuesser.php:41:65: InvalidReturnType: Not all code paths of Doctrine\Bundle\MongoDBBundle\Form\DoctrineMongoDBTypeGuesser::guessType end in a return statement, return type Symfony\Component\Form\Guess\TypeGuess|null expected (see https://psalm.dev/011)
Static Analysis with Psalm (8.2)
Process completed with exit code 2.