You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description Symfony\Component\Security\Core\Encoder\NativePasswordEncoder::needsRehash is calling PHP native function password_needs_rehash with 2nd argument (algorithm) being string while it needs to be an int.
How to reproduce
No special set up required; algorithm variable of the NativePasswordEncoder is a string and it's directly passed into password_needs_rehash
Possible Solution
Cast the variable to string before passing ?