Skip to content

add debug performance possibilities #1894

add debug performance possibilities

add debug performance possibilities #1894

Triggered via pull request December 13, 2023 11:35
Status Failure
Total duration 33s
Artifacts

psalm.yml

on: pull_request
Matrix: Static Analysis by Psalm
Fit to window
Zoom out
Zoom in

Annotations

10 errors
MissingParamType: src/Debug/DefaultProfiler.php#L22
src/Debug/DefaultProfiler.php:22:62: MissingParamType: Parameter $context has no provided type (see https://psalm.dev/154)
MixedArgument: src/Debug/DefaultProfiler.php#L24
src/Debug/DefaultProfiler.php:24:40: MixedArgument: Argument 2 of Patchlevel\EventSourcing\Debug\ProfileData::__construct cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MissingParamType: src/Debug/Profiler.php#L14
src/Debug/Profiler.php:14:62: MissingParamType: Parameter $context has no provided type (see https://psalm.dev/154)
MixedInferredReturnType: src/Debug/TraceableRepository.php#L25
src/Debug/TraceableRepository.php:25:17: MixedInferredReturnType: Could not verify return type 'T' for Patchlevel\EventSourcing\Debug\TraceableRepository::load (see https://psalm.dev/047)
MixedReturnStatement: src/Debug/TraceableRepository.php#L28
src/Debug/TraceableRepository.php:28:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
MissingClosureReturnType: src/Debug/TraceableRepository.php#L30
src/Debug/TraceableRepository.php:30:13: MissingClosureReturnType: Closure does not have a return type, expecting mixed (see https://psalm.dev/068)
InvalidScope: src/Debug/TraceableRepository.php#L30
src/Debug/TraceableRepository.php:30:29: InvalidScope: Invalid reference to $this in a static context (see https://psalm.dev/013)
MixedInferredReturnType: src/Debug/TraceableRepository.php#L38
src/Debug/TraceableRepository.php:38:38: MixedInferredReturnType: Could not verify return type 'bool' for Patchlevel\EventSourcing\Debug\TraceableRepository::has (see https://psalm.dev/047)
MixedReturnStatement: src/Debug/TraceableRepository.php#L40
src/Debug/TraceableRepository.php:40:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
MissingClosureReturnType: src/Debug/TraceableRepository.php#L42
src/Debug/TraceableRepository.php:42:13: MissingClosureReturnType: Closure does not have a return type, expecting mixed (see https://psalm.dev/068)