Skip to content

Commit 57fc15b

Browse files
author
Robin Chalas
committed
Merge branch '3.4' into 4.0
* 3.4: Fix merge [HttpKernel] Fix resetting DumpDataCollector::$isCollected [Framework][Workflow] Added support for interfaces
2 parents aa43274 + 13e983a commit 57fc15b

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,8 @@ private function addWorkflowSection(ArrayNodeDefinition $rootNode)
280280
->prototype('scalar')
281281
->cannotBeEmpty()
282282
->validate()
283-
->ifTrue(function ($v) { return !class_exists($v); })
284-
->thenInvalid('The supported class %s does not exist.')
283+
->ifTrue(function ($v) { return !class_exists($v) && !interface_exists($v); })
284+
->thenInvalid('The supported class or interface "%s" does not exist.')
285285
->end()
286286
->end()
287287
->end()

src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/GuardAuthenticationFactory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ public function create(ContainerBuilder $container, $id, $config, $userProvider,
8080
$listener = $container->setDefinition($listenerId, new ChildDefinition('security.authentication.listener.guard'));
8181
$listener->replaceArgument(2, $id);
8282
$listener->replaceArgument(3, $authenticators);
83-
$listener->addMethodCall('setSessionAuthenticationStrategy', array(new Reference('security.authentication.session_strategy.'.$id)));
8483

8584
// determine the entryPointId to use
8685
$entryPointId = $this->determineEntryPoint($defaultEntryPoint, $config);

src/Symfony/Component/HttpKernel/DataCollector/DumpDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public function reset()
171171
}
172172
$this->data = array();
173173
$this->dataCount = 0;
174-
$this->isCollected = false;
174+
$this->isCollected = true;
175175
$this->clonesCount = 0;
176176
$this->clonesIndex = 0;
177177
}

0 commit comments

Comments
 (0)