Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 57fc15b

Browse filesBrowse 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
Copy full SHA for 57fc15b

File tree

Expand file treeCollapse file tree

3 files changed

+3
-4
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+3
-4
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
+2-2Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/GuardAuthenticationFactory.php
-1Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/DataCollector/DumpDataCollector.php
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.