Skip to content

Commit

Permalink
Issue #436: Removed unnecessary HasLifecycleCallbacks entity attributes
Browse files Browse the repository at this point in the history
Signed-off-by: alexmerlin <[email protected]>
  • Loading branch information
alexmerlin committed May 23, 2024
1 parent 3a78951 commit 18f48cb
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/Contact/src/Entity/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

#[ORM\Entity(repositoryClass: MessageRepository::class)]
#[ORM\Table(name: 'contact_message')]
#[ORM\HasLifecycleCallbacks]
class Message extends AbstractEntity
{
public const PLATFORM_WEBSITE = 'website';
Expand Down
1 change: 0 additions & 1 deletion src/User/src/Entity/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

#[ORM\Entity(repositoryClass: UserRepository::class)]
#[ORM\Table(name: 'user')]
#[ORM\HasLifecycleCallbacks]
class User extends AbstractEntity implements UserInterface
{
public const STATUS_PENDING = 'pending';
Expand Down
1 change: 0 additions & 1 deletion src/User/src/Entity/UserDetail.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

#[ORM\Entity(repositoryClass: UserDetailRepository::class)]
#[ORM\Table(name: 'user_detail')]
#[ORM\HasLifecycleCallbacks]
class UserDetail extends AbstractEntity
{
#[ORM\OneToOne(inversedBy: 'detail', targetEntity: User::class)]
Expand Down
1 change: 0 additions & 1 deletion src/User/src/Entity/UserRememberMe.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

#[ORM\Entity]
#[ORM\Table(name: 'user_remember_me')]
#[ORM\HasLifecycleCallbacks]
class UserRememberMe extends AbstractEntity
{
#[ORM\ManyToOne(targetEntity: User::class)]
Expand Down
1 change: 0 additions & 1 deletion src/User/src/Entity/UserResetPassword.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

#[ORM\Entity]
#[ORM\Table(name: 'user_reset_password')]
#[ORM\HasLifecycleCallbacks]
class UserResetPassword extends AbstractEntity
{
public const STATUS_COMPLETED = 'completed';
Expand Down
1 change: 0 additions & 1 deletion src/User/src/Entity/UserRole.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

#[ORM\Entity(repositoryClass: UserRoleRepository::class)]
#[ORM\Table(name: 'user_role')]
#[ORM\HasLifecycleCallbacks]
class UserRole extends AbstractEntity implements RoleInterface
{
public const ROLE_ADMIN = 'admin';
Expand Down

0 comments on commit 18f48cb

Please sign in to comment.