Fixed Deprecations: EasyAdmin and Symfony Security
CI / Docker Lint (push) Successful in 31s

This commit is contained in:
2025-10-23 22:13:19 +02:00
parent 850e8afaa1
commit fe2bc7b78c
3 changed files with 12 additions and 10 deletions
+2
View File
@@ -4,6 +4,7 @@ namespace App\Entity;
use App\Enum\UserRoleEnum;
use App\Repository\UserRepository;
use Deprecated;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface;
use Symfony\Component\Security\Core\User\UserInterface;
@@ -120,6 +121,7 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface
/**
* @see UserInterface
*/
#[Deprecated("Not used after Symfony 7.3")]
public function eraseCredentials(): void
{
// If you store any temporary, sensitive data on the user, clear it here