Skip to content

Add prompt finder

Add prompt finder #24

Triggered via push September 6, 2024 21:32
Status Failure
Total duration 2m 40s
Artifacts
Matrix: psalm
Fit to window
Zoom out
Zoom in

Annotations

9 errors
MixedInferredReturnType: src/Module/Finder/Internal/PromptFinderImpl.php#L50
src/Module/Finder/Internal/PromptFinderImpl.php:50:42: MixedInferredReturnType: Could not verify return type 'LLM\Assistant\Module\Finder\Internal\PromptCache' for LLM\Assistant\Module\Finder\Internal\PromptFinderImpl::getOrUpdateCache (see https://psalm.dev/047)
MixedReturnStatement: src/Module/Finder/Internal/PromptFinderImpl.php#L58
src/Module/Finder/Internal/PromptFinderImpl.php:58:20: MixedReturnStatement: Possibly-mixed return value (see https://psalm.dev/138)
MixedReturnStatement: src/Module/Finder/Internal/PromptFinderImpl.php#L58
src/Module/Finder/Internal/PromptFinderImpl.php:58:20: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
MixedAssignment: src/Service/Internal/Cache/PsrCache.php#L40
src/Service/Internal/Cache/PsrCache.php:40:9: MixedAssignment: Unable to determine the type that $value is being assigned to (see https://psalm.dev/032)
MixedAssignment: src/Service/Internal/Cache/PsrCache.php#L44
src/Service/Internal/Cache/PsrCache.php:44:13: MixedAssignment: Unable to determine the type that $value is being assigned to (see https://psalm.dev/032)
InvalidReturnType: src/Service/Internal/Container/ContainerImpl.php#L41
src/Service/Internal/Container/ContainerImpl.php:41:61: InvalidReturnType: The declared return type 'T:fn-llm\assistant\service\container::get as object' for LLM\Assistant\Service\Internal\Container\ContainerImpl::get is incorrect, got '(T:fn-llm\assistant\service\container::get as object)|object' (see https://psalm.dev/011)
RedundantCondition: src/Service/Internal/Container/Injection/ConfigLoader.php#L138
src/Service/Internal/Container/Injection/ConfigLoader.php:138:13: RedundantCondition: Type SimpleXMLElement for $xml is always SimpleXMLElement (see https://psalm.dev/122)
MixedMethodCall: src/Service/Internal/Container/Injection/ConfigLoader.php#L141
src/Service/Internal/Container/Injection/ConfigLoader.php:141:21: MixedMethodCall: Cannot call constructor on an unknown class (see https://psalm.dev/015)
psalm (ubuntu-latest, 8.2, locked)
Process completed with exit code 2.