You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: UPGRADE-6.4.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -90,6 +90,7 @@ FrameworkBundle
90
90
* Deprecate not setting the `framework.session.coo
8000
kie_secure` config option; it will default to `auto` in 7.0
91
91
* Deprecate not setting the `framework.session.cookie_samesite` config option; it will default to `lax` in 7.0
92
92
* Deprecate not setting the `framework.session.handler_id` config option; it will default to `session.handler.native_file` when `framework.session.save_path` is set or `null` otherwise in 7.0
93
+
* Deprecate not setting the `framework.session.save_path` config option when `framework.session.handler_id` is not set; it will default to `null` in 7.0
93
94
* Deprecate not setting the `framework.uid.default_uuid_version` config option; it will default to `7` in 7.0
94
95
* Deprecate not setting the `framework.uid.time_based_uuid_version` config option; it will default to `7` in 7.0
95
96
* Deprecate not setting the `framework.validation.email_validation_mode` config option; it will default to `html5` in 7.0
Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ CHANGELOG
18
18
* Deprecate not setting the `framework.session.cookie_secure` config option; it will default to `auto` in 7.0
19
19
* Deprecate not setting the `framework.session.cookie_samesite` config option; it will default to `lax` in 7.0
20
20
* Deprecate not setting the `framework.session.handler_id` config option; it will default to `session.handler.native_file` when `framework.session.save_path` is set or `null` otherwise in 7.0
21
+
* Deprecate not setting the `framework.session.save_path` config option when `framework.session.handler_id` is not set; it will default to `null` in 7.0
21
22
* Deprecate not setting the `framework.uid.default_uuid_version` config option; it will default to `7` in 7.0
22
23
* Deprecate not setting the `framework.uid.time_based_uuid_version` config option; it will default to `7` in 7.0
23
24
* Deprecate not setting the `framework.validation.email_validation_mode` config option; it will default to `html5` in 7.0
Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -670,11 +670,19 @@ private function addSessionSection(ArrayNodeDefinition $rootNode): void
670
670
}
671
671
672
672
if (!\array_key_exists('handler_id', $v['session'])) {
673
-
trigger_deprecation('symfony/framework-bundle', '6.4', 'Not setting the "framework.session.handler_id" config option is deprecated. It will default to "session.handler.native_file" when "framework.session.save_path" is set or "null" otherwise in 7.0.');
673
+
if (!\array_key_exists('save_path', $v['session'])) {
674
+
trigger_deprecation('symfony/framework-bundle', '6.4', 'Not setting the "framework.session.save_path" config option when the "framework.session.handler_id" config option is not set either is deprecated. Both options will default to "null" in 7.0.');
675
+
} else {
676
+
trigger_deprecation('symfony/framework-bundle', '6.4', 'Not setting the "framework.session.handler_id" config option is deprecated. It will default to "session.handler.native_file" when "framework.session.save_path" is set or "null" otherwise in 7.0.');
0 commit comments