Skip to content

Commit 82d9ff6

Browse files
committed
Removed deprecated annotatios
1 parent 441e994 commit 82d9ff6

File tree

5 files changed

+0
-24
lines changed

5 files changed

+0
-24
lines changed

src/DTO/User/UserCreate.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@
1818
*/
1919
class UserCreate extends User
2020
{
21-
/**
22-
* @Assert\NotBlank()
23-
* @Assert\NotNull()
24-
* @Assert\Length(
25-
* min = 8,
26-
* max = 255,
27-
* )
28-
*/
2921
#[Assert\NotBlank]
3022
#[Assert\NotNull]
3123
#[Assert\Length(min: 8, max: 255)]

src/Entity/LogLogin.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use DeviceDetector\DeviceDetector;
1616
use Doctrine\DBAL\Types\Types;
1717
use Doctrine\ORM\Mapping as ORM;
18-
use OpenApi\Annotations as OA;
1918
use Ramsey\Uuid\Doctrine\UuidBinaryOrderedTimeType;
2019
use Ramsey\Uuid\UuidInterface;
2120
use Symfony\Component\HttpFoundation\Request;
@@ -55,9 +54,6 @@ class LogLogin implements EntityInterface
5554
use LogEntityTrait;
5655
use Uuid;
5756

58-
/**
59-
* @OA\Property(type="string", format="uuid")
60-
*/
6157
#[ORM\Id]
6258
#[ORM\Column(
6359
name: 'id',

src/Entity/LogLoginFailure.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use DateTimeZone;
1515
use Doctrine\DBAL\Types\Types;
1616
use Doctrine\ORM\Mapping as ORM;
17-
use OpenApi\Annotations as OA;
1817
use Ramsey\Uuid\Doctrine\UuidBinaryOrderedTimeType;
1918
use Ramsey\Uuid\UuidInterface;
2019
use Symfony\Component\Serializer\Annotation\Groups;
@@ -43,9 +42,6 @@ class LogLoginFailure implements EntityInterface
4342
{
4443
use Uuid;
4544

46-
/**
47-
* @OA\Property(type="string", format="uuid")
48-
*/
4945
#[ORM\Id]
5046
#[ORM\Column(
5147
name: 'id',

src/Entity/User.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
use Doctrine\Common\Collections\ArrayCollection;
2424
use Doctrine\DBAL\Types\Types;
2525
use Doctrine\ORM\Mapping as ORM;
26-
use OpenApi\Annotations as OA;
2726
use Ramsey\Uuid\Doctrine\UuidBinaryOrderedTimeType;
2827
use Ramsey\Uuid\UuidInterface;
2928
use Symfony\Bridge\Doctrine\Validator\Constraints as AssertCollection;
@@ -65,9 +64,6 @@ class User implements EntityInterface, UserInterface, UserGroupAwareInterface
6564
final public const SET_USER_PROFILE = 'set.UserProfile';
6665
final public const SET_USER_BASIC = 'set.UserBasic';
6766

68-
/**
69-
* @OA\Property(type="string", format="uuid")
70-
*/
7167
#[ORM\Id]
7268
#[ORM\Column(
7369
name: 'id',

src/Entity/UserGroup.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
use Doctrine\Common\Collections\Collection;
1717
use Doctrine\DBAL\Types\Types;
1818
use Doctrine\ORM\Mapping as ORM;
19-
use OpenApi\Annotations as OA;
2019
use Ramsey\Uuid\Doctrine\UuidBinaryOrderedTimeType;
2120
use Ramsey\Uuid\UuidInterface;
2221
use Stringable;
@@ -43,9 +42,6 @@ class UserGroup implements EntityInterface, Stringable
4342
final public const SET_USER_PROFILE_GROUPS = 'set.UserProfileGroups';
4443
final public const SET_USER_GROUP_BASIC = 'set.UserGroupBasic';
4544

46-
/**
47-
* @OA\Property(type="string", format="uuid")
48-
*/
4945
#[ORM\Id]
5046
#[ORM\Column(
5147
name: 'id',

0 commit comments

Comments
 (0)