8000 merged branch franmomu/auto_start_default_value (PR #6155) · symfony/symfony@d6acb55 · GitHub
[go: up one dir, main page]

Skip to content

Commit d6acb55

Browse files
committed
merged branch franmomu/auto_start_default_value (PR #6155)
This PR was submitted for the master branch but it was merged into the 2.1 branch instead (closes #6155). Commits ------- 88811f4 [FrameworkBundle] Fixed DefaultValue for session.auto_start in NodeDefinition Discussion ---------- [FrameworkBundle] Fixed DefaultValue for session.auto_start in NodeDefinition Bug fix: no Feature addition: no Backwards compatibility break: no Symfony2 tests pass: yes Fixes the following tickets: Todo: - License of the code: MIT Documentation PR: - This is just for consistency with the node type. --------------------------------------------------------------------------- by fabpot at 2012-11-30T07:17:33Z I don't see the need to change the default value as this is deprecated anyway. --------------------------------------------------------------------------- by franmomu at 2012-11-30T07:35:35Z I was trying to validate default values in Config Component and if I do this throws an exception
2 parents 4f787fe + 2ed30e7 commit d6acb55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ private function addSessionSection(ArrayNodeDefinition $rootNode)
192192
->children()
193193
->booleanNode('auto_start')
194194
->info('DEPRECATED! Session starts on demand')
195-
->defaultNull()
195+
->defaultFalse()
196196
->beforeNormalization()
197197
->ifTrue(function($v) { return null !== $v; })
198198
->then(function($v) {

0 commit comments

Comments
 (0)
0