Skip to content

Propagated Sampling Rates #1734

Propagated Sampling Rates

Propagated Sampling Rates #1734

Triggered via pull request December 16, 2024 10:01
Status Failure
Total duration 34s
Artifacts

static-analysis.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

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