Skip to content

Commit 987f3b6

Browse files
committed
Merge branch '3.1' into 3.2
* 3.1: (31 commits) fixed CS fixed CS fixed CS fixer config fixed typo Revert "fixed typo" fixed typo fixed CS Avoid setting request attributes from signature arguments in AnnotationClassLoader [DependencyInjection] Add some missing typehints in YamlFileLoader [DependencyInjection] minor: Fix a DocBlock [HttpKernel] Give higher priority to adding request formats [PropertyInfo] Don't try to access a property thru a static method [PropertyInfo] Exclude static methods form properties guessing [FrameworkBundle] Fix third level headers for MarkdownDescriptor [Ldap] Using Ldap stored username instead of form submitted one [Ldap] load users with the good username case [DoctrineBridge] Fixed invalid unique value as composite key [Doctrine Bridge] fix UniqueEntityValidator for composite object primary keys [TwigBundle] do not lose already set method calls #20411 fix Yaml parsing for very long quoted strings ...
2 parents 48c7362 + f543049 commit 987f3b6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

DataCollector/DumpDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ private function htmlEncode($s)
290290
{
291291
$html = '';
292292

293-
$dumper = new HtmlDumper(function ($line) use (&$html) {$html .= $line;}, $this->charset);
293+
$dumper = new HtmlDumper(function ($line) use (&$html) { $html .= $line; }, $this->charset);
294294
$dumper->setDumpHeader('');
295295
$dumper->setDumpBoundaries('', '');
296296

EventListener/AddRequestFormatsListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ public function onKernelRequest(GetResponseEvent $event)
5252
*/
5353
public static function getSubscribedEvents()
5454
{
55-
return array(KernelEvents::REQUEST => 'onKernelRequest');
55+
return array(KernelEvents::REQUEST => array('onKernelRequest', 1));
5656
}
5757
}

Tests/EventListener/AddRequestFormatsListenerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function testIsAnEventSubscriber()
4545
public function testRegisteredEvent()
4646
{
4747
$this->assertEquals(
48-
array(KernelEvents::REQUEST => 'onKernelRequest'),
48+
array(KernelEvents::REQUEST => array('onKernelRequest', 1)),
4949
AddRequestFormatsListener::getSubscribedEvents()
5050
);
5151
}

0 commit comments

Comments
 (0)