Skip to content

Remove deprecations using Symfony 6.4 #301

Remove deprecations using Symfony 6.4

Remove deprecations using Symfony 6.4 #301

Triggered via pull request December 5, 2023 08:28
Status Failure
Total duration 29s
Artifacts

static-analysis.yml

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

Annotations

10 errors
MethodSignatureMismatch: Command/ClearMetadataCacheDoctrineODMCommand.php#L39
Command/ClearMetadataCacheDoctrineODMCommand.php:39:5: MethodSignatureMismatch: Method Doctrine\Bundle\MongoDBBundle\Command\ClearMetadataCacheDoctrineODMCommand::execute with return type '' is different to return type 'int' of inherited method Doctrine\ODM\MongoDB\Tools\Console\Command\CommandCompatibility::execute (see https://psalm.dev/042)
MethodSignatureMismatch: Command/CreateSchemaDoctrineODMCommand.php#L39
Command/CreateSchemaDoctrineODMCommand.php:39:5: MethodSignatureMismatch: Method Doctrine\Bundle\MongoDBBundle\Command\CreateSchemaDoctrineODMCommand::execute with return type '' is different to return type 'int' of inherited method Doctrine\ODM\MongoDB\Tools\Console\Command\CommandCompatibility::execute (see https://psalm.dev/042)
MethodSignatureMismatch: Command/DropSchemaDoctrineODMCommand.php#L39
Command/DropSchemaDoctrineODMCommand.php:39:5: MethodSignatureMismatch: Method Doctrine\Bundle\MongoDBBundle\Command\DropSchemaDoctrineODMCommand::execute with return type '' is different to return type 'int' of inherited method Doctrine\ODM\MongoDB\Tools\Console\Command\CommandCompatibility::execute (see https://psalm.dev/042)
MethodSignatureMismatch: Command/GenerateHydratorsDoctrineODMCommand.php#L38
Command/GenerateHydratorsDoctrineODMCommand.php:38:5: MethodSignatureMismatch: Method Doctrine\Bundle\MongoDBBundle\Command\GenerateHydratorsDoctrineODMCommand::execute with return type '' is different to return type 'int' of inherited method Doctrine\ODM\MongoDB\Tools\Console\Command\CommandCompatibility::execute (see https://psalm.dev/042)
MethodSignatureMismatch: Command/GenerateProxiesDoctrineODMCommand.php#L38
Command/GenerateProxiesDoctrineODMCommand.php:38:5: MethodSignatureMismatch: Method Doctrine\Bundle\MongoDBBundle\Command\GenerateProxiesDoctrineODMCommand::execute with return type '' is different to return type 'int' of inherited method Doctrine\ODM\MongoDB\Tools\Console\Command\CommandCompatibility::execute (see https://psalm.dev/042)
MethodSignatureMismatch: Command/QueryDoctrineODMCommand.php#L28
Command/QueryDoctrineODMCommand.php:28:5: MethodSignatureMismatch: Method Doctrine\Bundle\MongoDBBundle\Command\QueryDoctrineODMCommand::execute with return type '' is different to return type 'int' of inherited method Doctrine\ODM\MongoDB\Tools\Console\Command\CommandCompatibility::execute (see https://psalm.dev/042)
MethodSignatureMismatch: Command/ShardDoctrineODMCommand.php#L39
Command/ShardDoctrineODMCommand.php:39:5: MethodSignatureMismatch: Method Doctrine\Bundle\MongoDBBundle\Command\ShardDoctrineODMCommand::execute with return type '' is different to return type 'int' of inherited method Doctrine\ODM\MongoDB\Tools\Console\Command\CommandCompatibility::execute (see https://psalm.dev/042)
MethodSignatureMismatch: Command/UpdateSchemaDoctrineODMCommand.php#L39
Command/UpdateSchemaDoctrineODMCommand.php:39:5: MethodSignatureMismatch: Method Doctrine\Bundle\MongoDBBundle\Command\UpdateSchemaDoctrineODMCommand::execute with return type '' is different to return type 'int' of inherited method Doctrine\ODM\MongoDB\Tools\Console\Command\CommandCompatibility::execute (see https://psalm.dev/042)
ContainerDependency: Loader/SymfonyFixturesLoader.php#L32
Loader/SymfonyFixturesLoader.php:32:9: ContainerDependency: Container must not inject into services as dependency! Use dependency-injection.
UnusedBaselineEntry: Form/Type/DocumentType.php#L1
Form/Type/DocumentType.php:0:0: UnusedBaselineEntry: Baseline for issue "MethodSignatureMustProvideReturnType" has 1 extra entry. (see https://psalm.dev/316)