Skip to content

Commit b9094f4

Browse files
committed
bug #40027 [DoctrineBridge] add missing @experimental annotation on Uid generators (nicolas-grekas)
This PR was merged into the 5.2 branch. Discussion ---------- [DoctrineBridge] add missing `@experimental` annotation on Uid generators | Q | A | ------------- | --- | Branch? | 5.2 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Forgotten when we created the classes. Needed since I plan to remove all the `UuidV*` generators. They're useless and a more flexible approach based on doctrine/DoctrineBundle#1284 is coming. Commits ------- e380102 [DoctrineBridge] add missing `@experimental` annotation on Uid generators
2 parents bda55f0 + e380102 commit b9094f4

File tree

5 files changed

+13
-1
lines changed

5 files changed

+13
-1
lines changed

src/Symfony/Bridge/Doctrine/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ CHANGELOG
55
-----
66

77
* added support for symfony/uid as `UlidType` and `UuidType` as Doctrine types
8-
* added `UlidGenerator`, `UUidV1Generator`, `UuidV4Generator` and `UuidV6Generator`
8+
* added `UlidGenerator`, `UuidV1Generator`, `UuidV4Generator` and `UuidV6Generator`
99

1010
5.0.0
1111
-----

src/Symfony/Bridge/Doctrine/IdGenerator/UlidGenerator.php

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
use Doctrine\ORM\Id\AbstractIdGenerator;
1616
use Symfony\Component\Uid\Ulid;
1717

18+
/**
19+
* @experimental in 5.2
20+
*/
1821
final class UlidGenerator extends AbstractIdGenerator
1922
{
2023
public function generate(EntityManager $em, $entity): Ulid

src/Symfony/Bridge/Doctrine/IdGenerator/UuidV1Generator.php

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
use Doctrine\ORM\Id\AbstractIdGenerator;
1616
use Symfony\Component\Uid\UuidV1;
1717

18+
/**
19+
* @experimental in 5.2
20+
*/
1821
final class UuidV1Generator extends AbstractIdGenerator
1922
{
2023
public function generate(EntityManager $em, $entity): UuidV1

src/Symfony/Bridge/Doctrine/IdGenerator/UuidV4Generator.php

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
use Doctrine\ORM\Id\AbstractIdGenerator;
1616
use Symfony\Component\Uid\UuidV4;
1717

18+
/**
19+
* @experimental in 5.2
20+
*/
1821
final class UuidV4Generator extends AbstractIdGenerator
1922
{
2023
public function generate(EntityManager $em, $entity): UuidV4

src/Symfony/Bridge/Doctrine/IdGenerator/UuidV6Generator.php

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
use Doctrine\ORM\Id\AbstractIdGenerator;
1616
use Symfony\Component\Uid\UuidV6;
1717

18+
/**
19+
* @experimental in 5.2
20+
*/
1821
final class UuidV6Generator extends AbstractIdGenerator
1922
{
2023
public function generate(EntityManager $em, $entity): UuidV6

0 commit comments

Comments
 (0)