Add solution providers #689
Annotations
11 errors
|
Static analysis.:
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)
|
Static analysis.:
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)
|
Static analysis.:
src/Solution/FriendlyExceptionSolution.php#L18
src/Solution/FriendlyExceptionSolution.php:18:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
|
Static analysis.:
src/Solution/FriendlyExceptionSolution.php#L18
src/Solution/FriendlyExceptionSolution.php:18:20: UndefinedInterfaceMethod: Method Throwable::getSolution does not exist (see https://psalm.dev/181)
|
Static analysis.:
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)
|
Static analysis.:
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)
|
Static analysis.:
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)
|
Static analysis.:
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)
|
Static analysis.:
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)
|
Static analysis.
The operation was canceled.
|
Loading