Skip to content

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 <[email protected]>
@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