Skip to content

[SecurityBundle] Fix broken mock #42770

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

Merged
merged 1 commit into from
Aug 28, 2021

Conversation

derrabus
Copy link
Member

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Part of #41552
License MIT
Doc PR N/A

Implementations of AuthenticatorFactoryInterface::getKey() must not return null. Yet, the mock I'm fixing here does. This triggers deprecation warnings on PHP 8.1 (because we pass the return value to string functions).

Signed-off-by: Alexander M. Turek <me@derrabus.de>
@Tobion
Copy link
Contributor

Tobion commented Aug 28, 2021

Thank you @derrabus.

@Tobion Tobion merged commit a43131a into symfony:5.4 Aug 28, 2021
@derrabus derrabus deleted the bugfix/security-bundle-broken-mock branch August 28, 2021 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants