Skip to content

Continuous Profiling #1903

Continuous Profiling

Continuous Profiling #1903

Triggered via pull request June 10, 2025 19:58
Status Failure
Total duration 29s
Artifacts

static-analysis.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
PHPStan
Process completed with exit code 1.
PHPStan: src/Profiles/ProfileChunk.php#L206
Method Sentry\Profiles\ProfileChunk::getFormattedData() should return array{profiler_id: string, chunk_id: string, platform: string, release: string, environment: string, version: string, profile: array{frames: array<int, array{abs_path: string, filename: string, function: string, module: string|null, lineno: int|null}>, samples: array<int, array{thread_id: string, stack_id: int, timestamp: float}>, stacks: array<int, array<int, int>>}, client_sdk: array{name: string, version: string}}|null but returns array{profiler_id: string|null, chunk_id: string, platform: 'php', release: string, environment: string, version: '2', profile: array{frames: array<int<0, max>, array{filename: string, abs_path: string, module: string|null, function: string, lineno: int}>, samples: array<int<0, max>, array{stack_id: int, thread_id: '0', timestamp: float}>, stacks: array<int<0, max>, array>, thread_metadata: object{}&stdClass}, client_sdk: array{name: string, version: string}}.
PHPStan: src/Options.php#L225
Method Sentry\Options::getProfileLifecycle() should return string|null but returns mixed.
PHPStan: src/Options.php#L211
Method Sentry\Options::getProfileSessionSampleRate() should return float|null but returns mixed.
PHPStan: src/Options.php#L197
Method Sentry\Options::getProfilesSampleRate() should return float|null but returns mixed.
Psalm
Process completed with exit code 2.