Skip to content

Add new org & strictTracePropagation options #1718

Add new org & strictTracePropagation options

Add new org & strictTracePropagation options #1718

Triggered via pull request November 22, 2024 08:46
Status Failure
Total duration 34s
Artifacts

static-analysis.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors
Psalm
Process completed with exit code 2.
PHPStan: src/Dsn.php#L76
Property Sentry\Dsn::$org (string) does not accept string|null.
PHPStan: src/Dsn.php#L112
Ignored error pattern #^Offset 'host' does not exist on array\{scheme\: 'http'\|'https', host\?\: string, port\?\: int\<0, 65535\>, user\?\: string, pass\?\: string, path\?\: string, query\?\: string, fragment\?\: string\}\.$# in path /home/runner/work/sentry-php/sentry-php/src/Dsn.php is expected to occur 1 time, but occurred 2 times.
PHPStan: src/Dsn.php#L118
Offset 'host' does not exist on array{scheme: 'http'|'https', host?: string, port?: int<0, 65535>, user?: string, pass?: string, path?: string, query?: string, fragment?: string}.
PHPStan: src/Options.php#L429
Method Sentry\Options::getOrg() should return string|null but returns mixed.
PHPStan: src/Options.php#L655
Method Sentry\Options::isStrictTracePropagationEnabled() should return bool but returns mixed.
PHPStan
Process completed with exit code 1.
PHP-CS-Fixer
Process completed with exit code 8.