TrapHandle: add depth()
method to limit the dump depth. Fix the det…
#28
Annotations
10 errors and 1 warning
MixedAssignment:
src/Client/TrapHandle.php#L34
src/Client/TrapHandle.php:34:13: MixedAssignment: Unable to determine the type that $condition is being assigned to (see https://psalm.dev/032)
|
MixedAssignment:
src/Client/TrapHandle.php#L37
src/Client/TrapHandle.php:37:9: MixedAssignment: Unable to determine the type that $this->haveToSend is being assigned to (see https://psalm.dev/032)
|
InvalidArrayOffset:
src/Client/TrapHandle.php#L66
src/Client/TrapHandle.php:66:19: InvalidArrayOffset: Cannot access value on variable using offset value of '0', expecting string (see https://psalm.dev/115)
|
MixedAssignment:
src/Client/TrapHandle.php#L113
src/Client/TrapHandle.php:113:43: MixedAssignment: Unable to determine the type that $value is being assigned to (see https://psalm.dev/032)
|
UndefinedClass:
src/Client/TrapHandle/ContextProvider/Source.php#L28
src/Client/TrapHandle/ContextProvider/Source.php:28:13: UndefinedClass: Class, interface or enum named Symfony\Component\HttpKernel\Debug\FileLinkFormatter does not exist (see https://psalm.dev/019)
|
UndefinedClass:
src/Client/TrapHandle/ContextProvider/Source.php#L30
src/Client/TrapHandle/ContextProvider/Source.php:30:84: UndefinedClass: Class, interface or enum named Symfony\Component\HttpKernel\Debug\FileLinkFormatter does not exist (see https://psalm.dev/019)
|
InvalidArrayOffset:
src/Client/TrapHandle/ContextProvider/Source.php#L42
src/Client/TrapHandle/ContextProvider/Source.php:42:17: InvalidArrayOffset: Cannot access value on variable $trace using offset value of '0', expecting string (see https://psalm.dev/115)
|
PossiblyUndefinedArrayOffset:
src/Client/TrapHandle/ContextProvider/Source.php#L42
src/Client/TrapHandle/ContextProvider/Source.php:42:17: PossiblyUndefinedArrayOffset: Possibly undefined array key $trace[0]['file'] on array{args?: array<array-key, mixed>, class?: class-string, file?: non-empty-string, function?: non-empty-string, line?: int<0, max>, object?: object, type?: non-empty-string} (see https://psalm.dev/167)
|
PossiblyUndefinedArrayOffset:
src/Client/TrapHandle/ContextProvider/Source.php#L43
src/Client/TrapHandle/ContextProvider/Source.php:43:17: PossiblyUndefinedArrayOffset: Possibly undefined array key $trace[0]['line'] on array{args?: array<array-key, mixed>, class?: class-string, file?: non-empty-string, function?: non-empty-string, line?: int<0, max>, object?: object, type?: non-empty-string} (see https://psalm.dev/167)
|
InvalidArrayOffset:
src/Client/TrapHandle/ContextProvider/Source.php#L48
src/Client/TrapHandle/ContextProvider/Source.php:48:23: InvalidArrayOffset: Cannot access value on variable $trace using a int<0, max> offset, expecting string (see https://psalm.dev/115)
|
Psalm Validation (PHP 8.2, OS ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|