Skip to content

Add ability to use container as a factory #1114

Add ability to use container as a factory

Add ability to use container as a factory #1114

Triggered via push February 13, 2024 18:06
Status Failure
Total duration 32s
Artifacts

static.yml

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

Annotations

6 errors
MixedAssignment: src/Container.php#L148
src/Container.php:148:21: MixedAssignment: Unable to determine the type that $result is being assigned to (see https://psalm.dev/032)
MixedArgument: src/Container.php#L228
src/Container.php:228:43: MixedArgument: Argument 2 of Yiisoft\Di\Container::setAfterBuiltHook cannot be mixed, expecting Closure (see https://psalm.dev/030)
InvalidScope: src/Hook/AfterBuiltHook.php#L18
src/Hook/AfterBuiltHook.php:18:19: InvalidScope: Invalid reference to $this in a non-class context (see https://psalm.dev/013)
psalm / PHP 8.0-ubuntu-latest
Process completed with exit code 2.
psalm / PHP 8.1-ubuntu-latest
The job was canceled because "ubuntu-latest_8_0" failed.
psalm / PHP 8.1-ubuntu-latest
The operation was canceled.