Skip to content

Add debug command #1226

Add debug command

Add debug command #1226

Triggered via pull request September 16, 2024 20:48
Status Failure
Total duration 36s
Artifacts

static.yml

on: pull_request
Matrix: psalm / psalm
Fit to window
Zoom out
Zoom in

Annotations

23 errors
MixedArgument: src/Command/DebugContainerCommand.php#L55
src/Command/DebugContainerCommand.php:55:42: MixedArgument: Argument 1 of array_key_exists cannot be mixed, expecting array-key (see https://psalm.dev/030)
MixedArgument: src/Command/DebugContainerCommand.php#L55
src/Command/DebugContainerCommand.php:55:47: MixedArgument: Argument 2 of array_key_exists cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedArgument: src/Command/DebugContainerCommand.php#L63
src/Command/DebugContainerCommand.php:63:29: MixedArgument: Argument 2 of sprintf cannot be mixed, expecting float|int|object{__tostring()}|string (see https://psalm.dev/030)
MixedArgument: src/Command/DebugContainerCommand.php#L68
src/Command/DebugContainerCommand.php:68:28: MixedArgument: Argument 1 of Symfony\Component\Console\Style\SymfonyStyle::title cannot be mixed, expecting string (see https://psalm.dev/030)
MixedArrayAccess: src/Command/DebugContainerCommand.php#L91
src/Command/DebugContainerCommand.php:91:70: MixedArrayAccess: Cannot access array value on mixed variable $definition (see https://psalm.dev/051)
MixedArgument: src/Command/DebugContainerCommand.php#L124
src/Command/DebugContainerCommand.php:124:34: MixedArgument: Argument 1 of Yiisoft\Config\ConfigInterface::get cannot be non-empty-mixed, expecting string (see https://psalm.dev/030)
MixedArgument: src/Command/DebugContainerCommand.php#L142
src/Command/DebugContainerCommand.php:142:45: MixedArgument: Argument 1 of Yiisoft\Di\Command\DebugContainerCommand::getGroupServices cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedArgumentTypeCoercion: src/Command/DebugContainerCommand.php#L146
src/Command/DebugContainerCommand.php:146:34: MixedArgumentTypeCoercion: Argument 1 of Symfony\Component\Console\Helper\Table::setHeaderTitle expects null|string, but parent type array-key provided (see https://psalm.dev/194)
MixedInferredReturnType: src/Command/DebugContainerCommand.php#L155
src/Command/DebugContainerCommand.php:155:53: MixedInferredReturnType: Could not verify return type 'array<array-key, mixed>' for Yiisoft\Di\Command\DebugContainerCommand::getConfigBuild (see https://psalm.dev/047)
MixedArgument: src/Command/DebugContainerCommand.php#L157
src/Command/DebugContainerCommand.php:157:43: MixedArgument: Argument 1 of ReflectionClass::__construct cannot be mixed, expecting class-string|object|trait-string (see https://psalm.dev/030)
psalm / PHP 8.2-ubuntu-latest
The job was canceled because "ubuntu-latest_8_3" failed.
psalm / PHP 8.2-ubuntu-latest
The operation was canceled.
psalm / PHP 8.1-ubuntu-latest
The job was canceled because "ubuntu-latest_8_3" failed.
MixedArgument: src/Command/DebugContainerCommand.php#L55
src/Command/DebugContainerCommand.php:55:42: MixedArgument: Argument 1 of array_key_exists cannot be mixed, expecting array-key (see https://psalm.dev/030)
MixedArgument: src/Command/DebugContainerCommand.php#L55
src/Command/DebugContainerCommand.php:55:47: MixedArgument: Argument 2 of array_key_exists cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedArgument: src/Command/DebugContainerCommand.php#L63
src/Command/DebugContainerCommand.php:63:29: MixedArgument: Argument 2 of sprintf cannot be mixed, expecting float|int|object{__tostring()}|string (see https://psalm.dev/030)
MixedArgument: src/Command/DebugContainerCommand.php#L68
src/Command/DebugContainerCommand.php:68:28: MixedArgument: Argument 1 of Symfony\Component\Console\Style\SymfonyStyle::title cannot be mixed, expecting string (see https://psalm.dev/030)
MixedArrayAccess: src/Command/DebugContainerCommand.php#L91
src/Command/DebugContainerCommand.php:91:70: MixedArrayAccess: Cannot access array value on mixed variable $definition (see https://psalm.dev/051)
MixedArgument: src/Command/DebugContainerCommand.php#L124
src/Command/DebugContainerCommand.php:124:34: MixedArgument: Argument 1 of Yiisoft\Config\ConfigInterface::get cannot be non-empty-mixed, expecting string (see https://psalm.dev/030)
MixedArgument: src/Command/DebugContainerCommand.php#L142
src/Command/DebugContainerCommand.php:142:45: MixedArgument: Argument 1 of Yiisoft\Di\Command\DebugContainerCommand::getGroupServices cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedArgumentTypeCoercion: src/Command/DebugContainerCommand.php#L146
src/Command/DebugContainerCommand.php:146:34: MixedArgumentTypeCoercion: Argument 1 of Symfony\Component\Console\Helper\Table::setHeaderTitle expects null|string, but parent type array-key provided (see https://psalm.dev/194)
MixedInferredReturnType: src/Command/DebugContainerCommand.php#L155
src/Command/DebugContainerCommand.php:155:53: MixedInferredReturnType: Could not verify return type 'array<array-key, mixed>' for Yiisoft\Di\Command\DebugContainerCommand::getConfigBuild (see https://psalm.dev/047)
MixedArgument: src/Command/DebugContainerCommand.php#L157
src/Command/DebugContainerCommand.php:157:43: MixedArgument: Argument 1 of ReflectionClass::__construct cannot be mixed, expecting class-string|object|trait-string (see https://psalm.dev/030)