Skip to content

Propagated Sampling Rates #1727

Propagated Sampling Rates

Propagated Sampling Rates #1727

Triggered via pull request December 6, 2024 14:32
Status Failure
Total duration 30s
Artifacts

static-analysis.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
Psalm
Process completed with exit code 2.
PHP-CS-Fixer
Process completed with exit code 8.
PHPStan: src/State/Hub.php#L282
Cannot call method get() on Sentry\Tracing\DynamicSamplingContext|null.
PHPStan: src/State/Hub.php#L286
Else branch is unreachable because previous condition is always true.
PHPStan: src/Tracing/DynamicSamplingContext.php#L202
Call to an undefined method Sentry\Tracing\PropagationContext::getSampleRand().
PHPStan: src/Tracing/PropagationContext.php#L39
Property Sentry\Tracing\PropagationContext::$sampleRand is never read, only written.
PHPStan: src/Tracing/TransactionContext.php#L208
Binary operation "*" between (float|int) and string|null results in an error.
PHPStan: src/Tracing/TransactionContext.php#L211
Binary operation "+" between (float|int) and string|null results in an error.
PHPStan: src/Tracing/TransactionContext.php#L211
Binary operation "-" between 1 and string|null results in an error.
PHPStan
Process completed with exit code 1.
Psalm
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP-CS-Fixer
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636