Skip to content

Propagated Sampling Rates #1735

Propagated Sampling Rates

Propagated Sampling Rates #1735

Triggered via pull request December 17, 2024 11:44
Status Failure
Total duration 31s
Artifacts

static-analysis.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 3 warnings
Psalm
Process completed with exit code 2.
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.
PHP-CS-Fixer
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Psalm
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