Skip to content

Performance optimization #1256

Performance optimization

Performance optimization #1256

Triggered via pull request February 9, 2025 22:08
Status Failure
Total duration 35s
Artifacts

static.yml

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

Annotations

26 errors
MixedReturnStatement: src/Container.php#L155
src/Container.php:155:20: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
MixedReturnStatement: src/Container.php#L164
src/Container.php:164:24: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
MixedReturnStatement: src/Container.php#L173
src/Container.php:173:20: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
MixedReturnStatement: src/Container.php#L185
src/Container.php:185:20: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
UndefinedClass: src/Container.php#L241
src/Container.php:241:36: UndefinedClass: Class, interface or enum named Yiisoft\Definitions\DefinitionInterface does not exist (see https://psalm.dev/019)
MixedArgument: src/Container.php#L355
src/Container.php:355:75: MixedArgument: Argument 2 of array_map cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedMethodCall: src/Container.php#L554
src/Container.php:554:58: MixedMethodCall: Cannot determine the type of $this->normalizedDefinitions[$id] when calling method resolve (see https://psalm.dev/015)
psalm / PHP 8.3-ubuntu-latest
Process completed with exit code 2.
psalm / PHP 8.1-ubuntu-latest
The job was canceled because "ubuntu-latest_8_3" failed.
MixedReturnStatement: src/Container.php#L155
src/Container.php:155:20: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
MixedReturnStatement: src/Container.php#L164
src/Container.php:164:24: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
MixedReturnStatement: src/Container.php#L173
src/Container.php:173:20: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
MixedReturnStatement: src/Container.php#L185
src/Container.php:185:20: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
UndefinedClass: src/Container.php#L241
src/Container.php:241:36: UndefinedClass: Class, interface or enum named Yiisoft\Definitions\DefinitionInterface does not exist (see https://psalm.dev/019)
MixedArgument: src/Container.php#L355
src/Container.php:355:75: MixedArgument: Argument 2 of array_map cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedMethodCall: src/Container.php#L554
src/Container.php:554:58: MixedMethodCall: Cannot determine the type of $this->normalizedDefinitions[$id] when calling method resolve (see https://psalm.dev/015)
psalm / PHP 8.1-ubuntu-latest
Process completed with exit code 2.
psalm / PHP 8.2-ubuntu-latest
The job was canceled because "ubuntu-latest_8_3" failed.
MixedReturnStatement: src/Container.php#L155
src/Container.php:155:20: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
MixedReturnStatement: src/Container.php#L164
src/Container.php:164:24: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
MixedReturnStatement: src/Container.php#L173
src/Container.php:173:20: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
MixedReturnStatement: src/Container.php#L185
src/Container.php:185:20: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
UndefinedClass: src/Container.php#L241
src/Container.php:241:36: UndefinedClass: Class, interface or enum named Yiisoft\Definitions\DefinitionInterface does not exist (see https://psalm.dev/019)
MixedArgument: src/Container.php#L355
src/Container.php:355:75: MixedArgument: Argument 2 of array_map cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedMethodCall: src/Container.php#L554
src/Container.php:554:58: MixedMethodCall: Cannot determine the type of $this->normalizedDefinitions[$id] when calling method resolve (see https://psalm.dev/015)
psalm / PHP 8.2-ubuntu-latest
The operation was canceled.