Skip to content

update NameResolver to latest version #1759

update NameResolver to latest version

update NameResolver to latest version #1759

Triggered via push February 12, 2025 22:51
Status Failure
Total duration 40s
Artifacts

build.yml

on: push
Matrix: build
Matrix: smoke-test-phar
publish_phar
0s
publish_phar
publish_docker_images
0s
publish_docker_images
Fit to window
Zoom out
Zoom in

Annotations

3 errors
PossiblyNullArgument: src/Analyzer/NameResolver.php#L332
src/Analyzer/NameResolver.php:332:13: PossiblyNullArgument: Argument 1 of PhpParser\NameContext::addAlias cannot be null, possibly null value provided (see https://psalm.dev/078)
InvalidReturnStatement: src/Analyzer/NameResolver.php#L390
src/Analyzer/NameResolver.php:390:20: InvalidReturnStatement: The inferred type 'PhpParser\Node\Name' does not match the declared return type 'T:fn-arkitect\analyzer\nameresolver::resolvetype as PhpParser\Node\ComplexType|PhpParser\Node\Identifier|PhpParser\Node\Name|null' for Arkitect\Analyzer\NameResolver::resolveType (see https://psalm.dev/128)
build (7.4, pcov)
Process completed with exit code 2.