Closed
Description
Currently, for Symfony 5.x, we still generate (in make:user
) deprecated methods (because we need to). For example, if I run make:user
but choose NO to needing a password, it generates:
// ...
class User implements UserInterface
{
// ...
/**
* This method can be removed in Symfony 6.0 - is not needed for apps that do not check user passwords.
*
* @see PasswordAuthenticatedUserInterface
*/
public function getPassword(): ?string
{
return null;
}
}
We need to prep MakerBundle before the 6.0 release to be smart enough to not generate these anymore (if you're using 6.0).
Metadata
Metadata
Assignees
Labels
No labels