Skip to content

fix: Fix LazyServiceFactory to handle exception in constructor #1073

fix: Fix LazyServiceFactory to handle exception in constructor

fix: Fix LazyServiceFactory to handle exception in constructor #1073

Triggered via pull request December 11, 2024 12:19
Status Failure
Total duration 57s
Artifacts

continuous-integration.yml

on: pull_request
ci  /  Generate job matrix
7s
ci / Generate job matrix
Matrix: ci / QA Checks
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 13 warnings
MissingClosureReturnType: test/Proxy/LazyServiceFactoryTest.php#L102
test/Proxy/LazyServiceFactoryTest.php:102:22: MissingClosureReturnType: Closure does not have a return type, expecting never (see https://psalm.dev/068)
MissingClosureReturnType: test/Proxy/LazyServiceFactoryTest.php#L105
test/Proxy/LazyServiceFactoryTest.php:105:24: MissingClosureReturnType: Closure does not have a return type, expecting true (see https://psalm.dev/068)
MissingClosureParamType: test/Proxy/LazyServiceFactoryTest.php#L127
test/Proxy/LazyServiceFactoryTest.php:127:34: MissingClosureParamType: Parameter $className has no provided type (see https://psalm.dev/153)
MissingClosureParamType: test/Proxy/LazyServiceFactoryTest.php#L127
test/Proxy/LazyServiceFactoryTest.php:127:46: MissingClosureParamType: Parameter $initializer has no provided type (see https://psalm.dev/153)
UnusedVariable: test/Proxy/LazyServiceFactoryTest.php#L130
test/Proxy/LazyServiceFactoryTest.php:130:21: UnusedVariable: $wrappedInstance is never referenced or the value is not used (see https://psalm.dev/077)
MixedFunctionCall: test/Proxy/LazyServiceFactoryTest.php#L133
test/Proxy/LazyServiceFactoryTest.php:133:25: MixedFunctionCall: Cannot call function on mixed (see https://psalm.dev/185)
ci / Generate job matrix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636