Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ff56fe8

Browse files
bug #48077 [FrameworkBundle] Allow UUID v7 in uid configuration (achterin)
This PR was merged into the 6.2 branch. Discussion ---------- [FrameworkBundle] Allow UUID v7 in uid configuration | Q | A | ------------- | --- | Branch? | 6.2 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | --- | License | MIT As #47525 added support for UUID v7 & v8, support for at least v7 should be added to the configuration value whitelist so it can be selected as the default version for the UuidFactory. Commits ------- 0647b34 [FrameworkBundle] Allow UUID v7 in uid configuration
2 parents d496640 + 0647b34 commit ff56fe8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2132,7 +2132,7 @@ private function addUidSection(ArrayNodeDefinition $rootNode, callable $enableIf
21322132
->children()
21332133
->enumNode('default_uuid_version')
21342134
->defaultValue(6)
2135-
->values([6, 4, 1])
2135+
->values([7, 6, 4, 1])
21362136
->end()
21372137
->enumNode('name_based_uuid_version')
21382138
->defaultValue(5)
@@ -2143,7 +2143,7 @@ private function addUidSection(ArrayNodeDefinition $rootNode, callable $enableIf
21432143
->end()
21442144
->enumNode('time_based_uuid_version')
21452145
->defaultValue(6)
2146-
->values([6, 1])
2146+
->values([7, 6, 1])
21472147
->end()
21482148
->scalarNode('time_based_uuid_node')
21492149
->cannotBeEmpty()

0 commit comments

Comments
 (0)