fix(tests): deprecate warning in Symfony 5.4 for setAuthenticated #1199
Annotations
4 errors
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.
|
tests/EventListener/LoginListenerTest.php#L1
Ignored error pattern #^Parameter \#1 \$user of method Symfony\\Component\\Security\\Core\\Authentication\\Token\\AbstractToken\:\:setUser\(\) expects Symfony\\Component\\Security\\Core\\User\\UserInterface, string\|Stringable\|Symfony\\Component\\Security\\Core\\User\\UserInterface given\.$# in path /home/runner/work/sentry-symfony/sentry-symfony/tests/EventListener/LoginListenerTest.php was not matched in reported errors.
|
tests/EventListener/LoginListenerTest.php#L1
Ignored error pattern #^Parameter \#5 \$originatedFromUri of class Symfony\\Component\\Security\\Core\\Authentication\\Token\\SwitchUserToken constructor expects string\|null, Sentry\\SentryBundle\\Tests\\EventListener\\AuthenticatedTokenStub given\.$# in path /home/runner/work/sentry-symfony/sentry-symfony/tests/EventListener/LoginListenerTest.php was not matched in reported errors.
|
|
This job failed
Loading