Skip to content

Commit 5ec7892

Browse files
committed
Merge branch '2.3' into 2.6
* 2.3: Improve the config validation in TwigBundle [Security][Acl] enforce string identifiers [BrowserKit] Fix bug when uri starts with http. bumped Symfony version to 2.3.31 updated VERSION for 2.3.30 updated CHANGELOG for 2.3.30 Php Inspections (EA Extended): - resolved possible PHP Fatal in \Symfony\Component\BrowserKit\Cookie::__toString -resolved implicit magic methods calls -resolved callable name case mismatches Conflicts: src/Symfony/Component/Debug/Tests/ErrorHandlerTest.php src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php src/Symfony/Component/HttpKernel/Kernel.php
2 parents 749ef2f + 2a92464 commit 5ec7892

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Extension/Core/DataTransformer/DateTimeToStringTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ public function reverseTransform($value)
219219
}
220220

221221
if ($this->inputTimezone !== $this->outputTimezone) {
222-
$dateTime->setTimeZone(new \DateTimeZone($this->inputTimezone));
222+
$dateTime->setTimezone(new \DateTimeZone($this->inputTimezone));
223223
}
224224
} catch (TransformationFailedException $e) {
225225
throw $e;

Tests/AbstractLayoutTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ protected function assertMatchesXpath($html, $expression, $count = 1)
6060
try {
6161
// Wrap in <root> node so we can load HTML with multiple tags at
6262
// the top level
63-
$dom->loadXml('<root>'.$html.'</root>');
63+
$dom->loadXML('<root>'.$html.'</root>');
6464
} catch (\Exception $e) {
6565
$this->fail(sprintf(
6666
"Failed loading HTML:\n\n%s\n\nError: %s",

Tests/Extension/Core/DataTransformer/DateTimeToStringTransformerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public function testReverseTransformWithDifferentTimezones()
147147

148148
$output = new \DateTime('2010-02-03 16:05:06 Asia/Hong_Kong');
149149
$input = $output->format('Y-m-d H:i:s');
150-
$output->setTimeZone(new \DateTimeZone('America/New_York'));
150+
$output->setTimezone(new \DateTimeZone('America/New_York'));
151151

152152
$this->assertDateTimeEquals($output, $reverseTransformer->reverseTransform($input));
153153
}

0 commit comments

Comments
 (0)