PoC Console operations #4007
Annotations
6 errors
|
src/Component/src/Metadata/Resource/Factory/ProviderResourceMetadataCollectionFactory.php#L67
src/Component/src/Metadata/Resource/Factory/ProviderResourceMetadataCollectionFactory.php:67:13: TypeDoesNotContainType: Cannot resolve types for $operation - Sylius\Resource\Metadata\Operation&Sylius\Resource\Metadata\GridAwareOperationInterface does not contain Sylius\Resource\Metadata\HttpOperation (see https://psalm.dev/056)
|
|
src/Component/src/Symfony/DependencyInjection/Compiler/RegisterResourceCommandsPass.php#L38
src/Component/src/Symfony/DependencyInjection/Compiler/RegisterResourceCommandsPass.php:38:18: UndefinedInterfaceMethod: Method UnitEnum::offsetGet does not exist (see https://psalm.dev/181)
|
|
src/Component/src/Symfony/DependencyInjection/Compiler/RegisterResourceCommandsPass.php#L43
src/Component/src/Symfony/DependencyInjection/Compiler/RegisterResourceCommandsPass.php:43:61: PossiblyInvalidArgument: Argument 2 of Sylius\Resource\Symfony\DependencyInjection\Compiler\RegisterResourceCommandsPass::createResourceAlias expects array<array-key, mixed>, but possibly different type UnitEnum|array<array-key, mixed>|null|scalar provided (see https://psalm.dev/092)
|
|
src/Component/src/Symfony/DependencyInjection/Compiler/RegisterResourceCommandsPass.php#L119
src/Component/src/Symfony/DependencyInjection/Compiler/RegisterResourceCommandsPass.php:119:70: PossiblyNullArgument: Argument 1 of Sylius\Resource\Metadata\ResourceMetadata::withAlias cannot be null, possibly null value provided (see https://psalm.dev/078)
|
|
src/Component/src/Symfony/DependencyInjection/Compiler/RegisterResourceCommandsPass.php#L124
src/Component/src/Symfony/DependencyInjection/Compiler/RegisterResourceCommandsPass.php:124:76: ArgumentTypeCoercion: Argument 2 of Sylius\Resource\Symfony\DependencyInjection\Compiler\RegisterResourceCommandsPass::createCommandName expects Sylius\Resource\Symfony\Console\Operation\ConsoleOperation, but parent type Sylius\Resource\Metadata\Operation provided (see https://psalm.dev/193)
|
|
|
The logs for this run have expired and are no longer available.
Loading