Skip to content

Add solution providers #695

Add solution providers

Add solution providers #695

Triggered via pull request December 24, 2024 19:36
@vjikvjik
synchronize #127
solution
Status Failure
Total duration 34s
Artifacts

static.yml

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

Annotations

42 errors and 2 warnings
InvalidArgument: src/Renderer/HtmlRenderer.php#L138
src/Renderer/HtmlRenderer.php:138:58: InvalidArgument: Argument 1 of Yiisoft\ErrorHandler\Solution\SolutionGenerator::__construct expects array<array-key, Yiisoft\ErrorHandler\Solution\SolutionGeneratorInterface>, but array<array-key, Yiisoft\ErrorHandler\Solution\SolutionProviderInterface> provided (see https://psalm.dev/004)
MixedInferredReturnType: src/Solution/FriendlyExceptionSolution.php#L16
src/Solution/FriendlyExceptionSolution.php:16:46: MixedInferredReturnType: Could not verify return type 'string' for Yiisoft\ErrorHandler\Solution\FriendlyExceptionSolution::generate (see https://psalm.dev/047)
MixedReturnStatement: src/Solution/FriendlyExceptionSolution.php#L18
src/Solution/FriendlyExceptionSolution.php:18:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
UndefinedInterfaceMethod: src/Solution/FriendlyExceptionSolution.php#L18
src/Solution/FriendlyExceptionSolution.php:18:20: UndefinedInterfaceMethod: Method Throwable::getSolution does not exist (see https://psalm.dev/181)
UndefinedDocblockClass: src/Solution/SolutionGenerator.php#L13
src/Solution/SolutionGenerator.php:13:9: UndefinedDocblockClass: Docblock-defined class, interface or enum named Yiisoft\ErrorHandler\Solution\SolutionGeneratorInterface does not exist (see https://psalm.dev/200)
MixedReturnTypeCoercion: src/Solution/SolutionGenerator.php#L18
src/Solution/SolutionGenerator.php:18:16: MixedReturnTypeCoercion: The declared return type 'array<array-key, string>' for Yiisoft\ErrorHandler\Solution\SolutionGenerator::generate is more specific than the inferred return type 'list<mixed>' (see https://psalm.dev/197)
UndefinedDocblockClass: src/Solution/SolutionGenerator.php#L25
src/Solution/SolutionGenerator.php:25:17: UndefinedDocblockClass: Docblock-defined class, interface or enum named Yiisoft\ErrorHandler\Solution\SolutionGeneratorInterface does not exist (see https://psalm.dev/200)
UndefinedDocblockClass: src/Solution/SolutionGenerator.php#L26
src/Solution/SolutionGenerator.php:26:29: UndefinedDocblockClass: Docblock-defined class, interface or enum named Yiisoft\ErrorHandler\Solution\SolutionGeneratorInterface does not exist (see https://psalm.dev/200)
MixedReturnTypeCoercion: src/Solution/SolutionGenerator.php#L29
src/Solution/SolutionGenerator.php:29:16: MixedReturnTypeCoercion: The type 'list<mixed>' is more general than the declared return type 'array<array-key, string>' for Yiisoft\ErrorHandler\Solution\SolutionGenerator::generate (see https://psalm.dev/197)
psalm / PHP 8.3-ubuntu-latest
Process completed with exit code 2.
psalm / PHP 8.2-ubuntu-latest
The job was canceled because "ubuntu-latest_8_3" failed.
InvalidArgument: src/Renderer/HtmlRenderer.php#L138
src/Renderer/HtmlRenderer.php:138:58: InvalidArgument: Argument 1 of Yiisoft\ErrorHandler\Solution\SolutionGenerator::__construct expects array<array-key, Yiisoft\ErrorHandler\Solution\SolutionGeneratorInterface>, but array<array-key, Yiisoft\ErrorHandler\Solution\SolutionProviderInterface> provided (see https://psalm.dev/004)
MixedInferredReturnType: src/Solution/FriendlyExceptionSolution.php#L16
src/Solution/FriendlyExceptionSolution.php:16:46: MixedInferredReturnType: Could not verify return type 'string' for Yiisoft\ErrorHandler\Solution\FriendlyExceptionSolution::generate (see https://psalm.dev/047)
MixedReturnStatement: src/Solution/FriendlyExceptionSolution.php#L18
src/Solution/FriendlyExceptionSolution.php:18:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
UndefinedInterfaceMethod: src/Solution/FriendlyExceptionSolution.php#L18
src/Solution/FriendlyExceptionSolution.php:18:20: UndefinedInterfaceMethod: Method Throwable::getSolution does not exist (see https://psalm.dev/181)
UndefinedDocblockClass: src/Solution/SolutionGenerator.php#L13
src/Solution/SolutionGenerator.php:13:9: UndefinedDocblockClass: Docblock-defined class, interface or enum named Yiisoft\ErrorHandler\Solution\SolutionGeneratorInterface does not exist (see https://psalm.dev/200)
MixedReturnTypeCoercion: src/Solution/SolutionGenerator.php#L18
src/Solution/SolutionGenerator.php:18:16: MixedReturnTypeCoercion: The declared return type 'array<array-key, string>' for Yiisoft\ErrorHandler\Solution\SolutionGenerator::generate is more specific than the inferred return type 'list<mixed>' (see https://psalm.dev/197)
UndefinedDocblockClass: src/Solution/SolutionGenerator.php#L25
src/Solution/SolutionGenerator.php:25:17: UndefinedDocblockClass: Docblock-defined class, interface or enum named Yiisoft\ErrorHandler\Solution\SolutionGeneratorInterface does not exist (see https://psalm.dev/200)
UndefinedDocblockClass: src/Solution/SolutionGenerator.php#L26
src/Solution/SolutionGenerator.php:26:29: UndefinedDocblockClass: Docblock-defined class, interface or enum named Yiisoft\ErrorHandler\Solution\SolutionGeneratorInterface does not exist (see https://psalm.dev/200)
MixedReturnTypeCoercion: src/Solution/SolutionGenerator.php#L29
src/Solution/SolutionGenerator.php:29:16: MixedReturnTypeCoercion: The type 'list<mixed>' is more general than the declared return type 'array<array-key, string>' for Yiisoft\ErrorHandler\Solution\SolutionGenerator::generate (see https://psalm.dev/197)
psalm / PHP 8.2-ubuntu-latest
Process completed with exit code 2.
InvalidArgument: src/Renderer/HtmlRenderer.php#L138
src/Renderer/HtmlRenderer.php:138:58: InvalidArgument: Argument 1 of Yiisoft\ErrorHandler\Solution\SolutionGenerator::__construct expects array<array-key, Yiisoft\ErrorHandler\Solution\SolutionGeneratorInterface>, but array<array-key, Yiisoft\ErrorHandler\Solution\SolutionProviderInterface> provided (see https://psalm.dev/004)
MixedInferredReturnType: src/Solution/FriendlyExceptionSolution.php#L16
src/Solution/FriendlyExceptionSolution.php:16:46: MixedInferredReturnType: Could not verify return type 'string' for Yiisoft\ErrorHandler\Solution\FriendlyExceptionSolution::generate (see https://psalm.dev/047)
MixedReturnStatement: src/Solution/FriendlyExceptionSolution.php#L18
src/Solution/FriendlyExceptionSolution.php:18:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
UndefinedInterfaceMethod: src/Solution/FriendlyExceptionSolution.php#L18
src/Solution/FriendlyExceptionSolution.php:18:20: UndefinedInterfaceMethod: Method Throwable::getSolution does not exist (see https://psalm.dev/181)
UndefinedDocblockClass: src/Solution/SolutionGenerator.php#L13
src/Solution/SolutionGenerator.php:13:9: UndefinedDocblockClass: Docblock-defined class, interface or enum named Yiisoft\ErrorHandler\Solution\SolutionGeneratorInterface does not exist (see https://psalm.dev/200)
MixedReturnTypeCoercion: src/Solution/SolutionGenerator.php#L18
src/Solution/SolutionGenerator.php:18:16: MixedReturnTypeCoercion: The declared return type 'array<array-key, string>' for Yiisoft\ErrorHandler\Solution\SolutionGenerator::generate is more specific than the inferred return type 'list<mixed>' (see https://psalm.dev/197)
UndefinedDocblockClass: src/Solution/SolutionGenerator.php#L25
src/Solution/SolutionGenerator.php:25:17: UndefinedDocblockClass: Docblock-defined class, interface or enum named Yiisoft\ErrorHandler\Solution\SolutionGeneratorInterface does not exist (see https://psalm.dev/200)
UndefinedDocblockClass: src/Solution/SolutionGenerator.php#L26
src/Solution/SolutionGenerator.php:26:29: UndefinedDocblockClass: Docblock-defined class, interface or enum named Yiisoft\ErrorHandler\Solution\SolutionGeneratorInterface does not exist (see https://psalm.dev/200)
MixedReturnTypeCoercion: src/Solution/SolutionGenerator.php#L29
src/Solution/SolutionGenerator.php:29:16: MixedReturnTypeCoercion: The type 'list<mixed>' is more general than the declared return type 'array<array-key, string>' for Yiisoft\ErrorHandler\Solution\SolutionGenerator::generate (see https://psalm.dev/197)
psalm80 / 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_3" failed.
InvalidArgument: src/Renderer/HtmlRenderer.php#L138
src/Renderer/HtmlRenderer.php:138:58: InvalidArgument: Argument 1 of Yiisoft\ErrorHandler\Solution\SolutionGenerator::__construct expects array<array-key, Yiisoft\ErrorHandler\Solution\SolutionGeneratorInterface>, but array<array-key, Yiisoft\ErrorHandler\Solution\SolutionProviderInterface> provided (see https://psalm.dev/004)
MixedInferredReturnType: src/Solution/FriendlyExceptionSolution.php#L16
src/Solution/FriendlyExceptionSolution.php:16:46: MixedInferredReturnType: Could not verify return type 'string' for Yiisoft\ErrorHandler\Solution\FriendlyExceptionSolution::generate (see https://psalm.dev/047)
MixedReturnStatement: src/Solution/FriendlyExceptionSolution.php#L18
src/Solution/FriendlyExceptionSolution.php:18:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
UndefinedInterfaceMethod: src/Solution/FriendlyExceptionSolution.php#L18
src/Solution/FriendlyExceptionSolution.php:18:20: UndefinedInterfaceMethod: Method Throwable::getSolution does not exist (see https://psalm.dev/181)
UndefinedDocblockClass: src/Solution/SolutionGenerator.php#L13
src/Solution/SolutionGenerator.php:13:9: UndefinedDocblockClass: Docblock-defined class, interface or enum named Yiisoft\ErrorHandler\Solution\SolutionGeneratorInterface does not exist (see https://psalm.dev/200)
MixedReturnTypeCoercion: src/Solution/SolutionGenerator.php#L18
src/Solution/SolutionGenerator.php:18:16: MixedReturnTypeCoercion: The declared return type 'array<array-key, string>' for Yiisoft\ErrorHandler\Solution\SolutionGenerator::generate is more specific than the inferred return type 'list<mixed>' (see https://psalm.dev/197)
UndefinedDocblockClass: src/Solution/SolutionGenerator.php#L25
src/Solution/SolutionGenerator.php:25:17: UndefinedDocblockClass: Docblock-defined class, interface or enum named Yiisoft\ErrorHandler\Solution\SolutionGeneratorInterface does not exist (see https://psalm.dev/200)
UndefinedDocblockClass: src/Solution/SolutionGenerator.php#L26
src/Solution/SolutionGenerator.php:26:29: UndefinedDocblockClass: Docblock-defined class, interface or enum named Yiisoft\ErrorHandler\Solution\SolutionGeneratorInterface does not exist (see https://psalm.dev/200)
MixedReturnTypeCoercion: src/Solution/SolutionGenerator.php#L29
src/Solution/SolutionGenerator.php:29:16: MixedReturnTypeCoercion: The type 'list<mixed>' is more general than the declared return type 'array<array-key, string>' for Yiisoft\ErrorHandler\Solution\SolutionGenerator::generate (see https://psalm.dev/197)
psalm / PHP 8.1-ubuntu-latest
The operation was canceled.
psalm / PHP 8.3-ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
psalm80 / PHP 8.0-ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636