Skip to content

Continuous Profiling #1923

Continuous Profiling

Continuous Profiling #1923

Triggered via pull request June 13, 2025 21:12
Status Failure
Total duration 24s
Artifacts

static-analysis.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Psalm
Process completed with exit code 2.
PHPStan
Process completed with exit code 1.
PHPStan: src/State/Hub.php#L442
Cannot call method start() on Sentry\Profiles\Profiler|Sentry\Profiling\Profiler|null.
PHPStan: src/State/Hub.php#L427
Cannot call method start() on Sentry\Profiles\Profiler|Sentry\Profiling\Profiler|null.
PHPStan: src/State/Hub.php#L418
Method Sentry\State\Hub::initProfiler() has parameter $options with no type specified.
PHPStan: src/State/Hub.php#L418
Method Sentry\State\Hub::initProfiler() has parameter $logger with no type specified.
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::getProfilesLifecycle() should return string|null but returns mixed.
PHPStan: src/Options.php#L211
Method Sentry\Options::getProfilesSessionSampleRate() should return float|null but returns mixed.
PHPStan: src/Options.php#L197
Method Sentry\Options::getProfilesSampleRate() should return float|null but returns mixed.