Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

Conversation

shakaran
Copy link
Contributor

This PR fix deprecation warnings for the test pipeline for Symfony 5.4 version:

 9x: Since symfony/security-core 5.4: Method "Symfony\Component\Security\Core\Authentication\Token\AbstractToken::setAuthenticated()" is deprecated
    9x in LoginListenerTest::authenticationTokenDataProvider from Sentry\SentryBundle\Tests\EventListener
    
    2x: Since symfony/security-core 5.4: Method "Symfony\Component\Security\Core\Authentication\Token\AbstractToken::setAuthenticated()" is deprecated
    1x in LoginListenerTest::testHandleLoginSuccessEventDoesNothingIfClientIsNotSetOnHub from Sentry\SentryBundle\Tests\EventListener
    1x in LoginListenerTest::testHandleLoginSuccessEventDoesNothingIfSendingDefaultPiiIsDisabled from Sentry\SentryBundle\Tests\EventListener

shakaran and others added 30 commits May 27, 2024 20:13
…eplace_callback expects callable(array<int|string, string>): string, Closure(array): mixed given
@stayallive stayallive merged commit 0c11485 into getsentry:master Jun 4, 2024
31 checks passed
@shakaran shakaran deleted the fix/deprecated-warning-authenticated branch June 4, 2024 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants