Skip to content

WIP: a PoC implementation of a memory profiler #1120

WIP: a PoC implementation of a memory profiler

WIP: a PoC implementation of a memory profiler #1120

Triggered via push October 7, 2023 17:16
Status Failure
Total duration 35s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention
psalm static code analysis
26s
psalm static code analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
MixedAssignment: src/Command/Inspector/MemoryCommand.php#L76
src/Command/Inspector/MemoryCommand.php:76:9: MixedAssignment: Unable to determine the type that $size is being assigned to (see https://psalm.dev/032)
UndefinedPropertyFetch: src/Command/Inspector/MemoryCommand.php#L76
src/Command/Inspector/MemoryCommand.php:76:17: UndefinedPropertyFetch: Instance property FFI\CData::$heap_slot is not defined (see https://psalm.dev/039)
MixedPropertyFetch: src/Command/Inspector/MemoryCommand.php#L76
src/Command/Inspector/MemoryCommand.php:76:17: MixedPropertyFetch: Cannot fetch property on mixed var $zend_mm_main_chunk->casted->heap_slot (see https://psalm.dev/034)
MixedAssignment: src/Command/Inspector/MemoryCommand.php#L77
src/Command/Inspector/MemoryCommand.php:77:9: MixedAssignment: Unable to determine the type that $real_size is being assigned to (see https://psalm.dev/032)
MixedPropertyFetch: src/Command/Inspector/MemoryCommand.php#L77
src/Command/Inspector/MemoryCommand.php:77:22: MixedPropertyFetch: Cannot fetch property on mixed var $zend_mm_main_chunk->casted->heap_slot (see https://psalm.dev/034)
PossiblyNullArgument: src/Command/Inspector/MemoryCommand.php#L100
src/Command/Inspector/MemoryCommand.php:100:63: PossiblyNullArgument: Argument 1 of Reli\Lib\Process\Pointer\RemoteProcessDereferencer::deref cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullArgument: src/Command/Inspector/MemoryCommand.php#L101
src/Command/Inspector/MemoryCommand.php:101:60: PossiblyNullArgument: Argument 1 of Reli\Lib\Process\Pointer\RemoteProcessDereferencer::deref cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullArgument: src/Command/Inspector/MemoryCommand.php#L102
src/Command/Inspector/MemoryCommand.php:102:63: PossiblyNullArgument: Argument 1 of Reli\Lib\Process\Pointer\RemoteProcessDereferencer::deref cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullArgument: src/Command/Inspector/MemoryCommand.php#L104
src/Command/Inspector/MemoryCommand.php:104:64: PossiblyNullArgument: Argument 1 of Reli\Lib\Process\Pointer\RemoteProcessDereferencer::deref cannot be null, possibly null value provided (see https://psalm.dev/078)
MissingClosureReturnType: src/Command/Inspector/MemoryCommand.php#L112
src/Command/Inspector/MemoryCommand.php:112:30: MissingClosureReturnType: Closure does not have a return type, expecting array<array-key|mixed, mixed> (see https://psalm.dev/068)
psalm static code analysis
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/