Skip to content

fix(tests): deprecate warning in Symfony 5.4 for setAuthenticated #1194

fix(tests): deprecate warning in Symfony 5.4 for setAuthenticated

fix(tests): deprecate warning in Symfony 5.4 for setAuthenticated #1194

Re-run triggered June 4, 2024 11:10
Status Failure
Total duration 58s
Artifacts

static-analysis.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHPStan: src/DependencyInjection/SentryExtension.php#L1
Ignored error pattern #^Parameter \#1 \$input of function array_filter expects array, mixed given\.$# in path /home/runner/work/sentry-symfony/sentry-symfony/src/DependencyInjection/SentryExtension.php was not matched in reported errors.
PHPStan: src/DependencyInjection/SentryExtension.php#L92
Parameter #1 $array of function array_filter expects array, mixed given.
PHPStan: src/ErrorTypesParser.php#L1
Ignored error pattern #^Parameter \#2 \$callback of function preg_replace_callback expects callable\(array\<int\|string, string\>\)\: string, Closure\(array\)\: mixed given\.$# in path /home/runner/work/sentry-symfony/sentry-symfony/src/ErrorTypesParser.php was not matched in reported errors.
PHPStan: src/EventListener/KernelEventForwardCompatibilityTrait.php (in context of class Sentry/SentryBundle/EventListener/RequestListener)#L20
Call to an undefined method Symfony\Component\HttpKernel\Event\KernelEvent::isMasterRequest().
PHPStan: src/EventListener/KernelEventForwardCompatibilityTrait.php (in context of class Sentry/SentryBundle/EventListener/SubRequestListener)#L20
Call to an undefined method Symfony\Component\HttpKernel\Event\KernelEvent::isMasterRequest().
PHPStan: src/EventListener/KernelEventForwardCompatibilityTrait.php (in context of class Sentry/SentryBundle/Tests/EventListener/SubRequestListenerTest)#L20
Call to an undefined method Symfony\Component\HttpKernel\Event\KernelEvent::isMasterRequest().
PHPStan: src/EventListener/MessengerListener.php#L1
Ignored error pattern #^Call to method getWrappedExceptions\(\) on an unknown class Symfony\\Component\\Messenger\\Exception\\WrappedExceptionsInterface\.$# in path /home/runner/work/sentry-symfony/sentry-symfony/src/EventListener/MessengerListener.php was not matched in reported errors.
PHPStan: src/EventListener/MessengerListener.php#L1
Ignored error pattern #^Class Symfony\\Component\\Messenger\\Exception\\WrappedExceptionsInterface not found\.$# in path /home/runner/work/sentry-symfony/sentry-symfony/src/EventListener/MessengerListener.php was not matched in reported errors.
PHPStan: src/Tracing/Doctrine/DBAL/TracingDriverConnectionFactoryForV4.php#L1
Ignored error pattern #^Class Doctrine\\DBAL\\Platforms\\SQLitePlatform not found\.$# in path /home/runner/work/sentry-symfony/sentry-symfony/src/Tracing/Doctrine/DBAL/TracingDriverConnectionFactoryForV4.php was not matched in reported errors.
PHPStan: src/Tracing/Doctrine/DBAL/TracingDriverConnectionForV4.php#L1
Ignored error pattern #^Anonymous function never returns string so it can be removed from the return type\.$# in path /home/runner/work/sentry-symfony/sentry-symfony/src/Tracing/Doctrine/DBAL/TracingDriverConnectionForV4.php was not matched in reported errors.