Skip to content

Remove metrics plumbing and deprecate/no-op public API #1692

Remove metrics plumbing and deprecate/no-op public API

Remove metrics plumbing and deprecate/no-op public API #1692

Triggered via pull request October 29, 2024 18:59
Status Failure
Total duration 35s
Artifacts

static-analysis.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHPStan: src/Event.php#L374
Method Sentry\Event::getMetrics() return type has no value type specified in iterable type array.
PHPStan: src/Event.php#L382
Method Sentry\Event::setMetrics() has parameter $metrics with no value type specified in iterable type array.
PHPStan: src/Event.php#L390
Method Sentry\Event::getMetricsSummary() return type has no value type specified in iterable type array.
PHPStan: src/Event.php#L398
Method Sentry\Event::setMetricsSummary() has parameter $metricsSummary with no value type specified in iterable type array.
PHPStan: src/Tracing/Span.php#L507
Method Sentry\Tracing\Span::getMetricsSummary() return type has no value type specified in iterable type array.
PHPStan: src/Tracing/Span.php#L515
Method Sentry\Tracing\Span::setMetricsSummary() has parameter $tags with no value type specified in iterable type array.
PHPStan: src/Tracing/Span.php#L515
Method Sentry\Tracing\Span::setMetricsSummary() has parameter $value with no type specified.
PHPStan
Ignored error pattern #^Method Sentry\\Metrics\\Types\\AbstractType\:\:add\(\) has parameter \$value with no type specified\.$# in path /home/runner/work/sentry-php/sentry-php/src/Metrics/Types/AbstractType.php was not matched in reported errors.
PHPStan
Process completed with exit code 1.
PHP-CS-Fixer
Process completed with exit code 8.