Skip to content

feat: avoid warnings with Psalm 6 #1166

feat: avoid warnings with Psalm 6

feat: avoid warnings with Psalm 6 #1166

Re-run triggered May 3, 2024 13:05
Status Failure
Total duration 49s
Artifacts

static-analysis.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
UnusedClass: src/Command/SentryTestCommand.php#L16
src/Command/SentryTestCommand.php:16:7: UnusedClass: Class Sentry\SentryBundle\Command\SentryTestCommand is never used (see https://psalm.dev/075)
UnusedForeachValue: src/DependencyInjection/Compiler/CacheTracingPass.php#L25
src/DependencyInjection/Compiler/CacheTracingPass.php:25:82: UnusedForeachValue: $tags is never referenced or the value is not used (see https://psalm.dev/275)
UnusedClass: src/DependencyInjection/Configuration.php#L19
src/DependencyInjection/Configuration.php:19:13: UnusedClass: Class Sentry\SentryBundle\DependencyInjection\Configuration is never used (see https://psalm.dev/075)
UnusedClass: src/DependencyInjection/SentryExtension.php#L38
src/DependencyInjection/SentryExtension.php:38:13: UnusedClass: Class Sentry\SentryBundle\DependencyInjection\SentryExtension is never used (see https://psalm.dev/075)
UnusedParam: src/ErrorTypesParser.php#L23
src/ErrorTypesParser.php:23:41: UnusedParam: Param #1 is never referenced in this method (see https://psalm.dev/135)
PossiblyUnusedMethod: src/EventListener/AbstractTracingRequestListener.php#L40
src/EventListener/AbstractTracingRequestListener.php:40:21: PossiblyUnusedMethod: Cannot find any calls to method Sentry\SentryBundle\EventListener\AbstractTracingRequestListener::handleKernelResponseEvent (see https://psalm.dev/087)
PossiblyUnusedMethod: src/EventListener/ConsoleListener.php#L41
src/EventListener/ConsoleListener.php:41:21: PossiblyUnusedMethod: Cannot find any calls to method Sentry\SentryBundle\EventListener\ConsoleListener::__construct (see https://psalm.dev/087)
PossiblyUnusedMethod: src/EventListener/ConsoleListener.php#L52
src/EventListener/ConsoleListener.php:52:21: PossiblyUnusedMethod: Cannot find any calls to method Sentry\SentryBundle\EventListener\ConsoleListener::handleConsoleCommandEvent (see https://psalm.dev/087)
PossiblyUnusedMethod: src/EventListener/ConsoleListener.php#L72
src/EventListener/ConsoleListener.php:72:21: PossiblyUnusedMethod: Cannot find any calls to method Sentry\SentryBundle\EventListener\ConsoleListener::handleConsoleTerminateEvent (see https://psalm.dev/087)
UnusedParam: src/EventListener/ConsoleListener.php#L72
src/EventListener/ConsoleListener.php:72:71: UnusedParam: Param #1 is never referenced in this method (see https://psalm.dev/135)