Skip to content

Commit b20ca7e

Browse files
Merge branch '4.3' into 4.4
* 4.3: Improve some URLs Fix test compatibility with 4.x components [Cache] cs fix
2 parents 02916fa + 0876cb2 commit b20ca7e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public function load(array $configs, ContainerBuilder $container)
241241

242242
if ($this->isConfigEnabled($container, $config['session'])) {
243243
if (!\extension_loaded('session')) {
244-
throw new LogicException('Session support cannot be enabled as the session extension is not installed. See https://www.php.net/session.installation for instructions.');
244+
throw new LogicException('Session support cannot be enabled as the session extension is not installed. See https://php.net/session.installation for instructions.');
245245
}
246246

247247
$this->sessionConfigEnabled = true;

Templating/Helper/CodeHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public function fileExcerpt($file, $line)
131131
}
132132

133133
// highlight_file could throw warnings
134-
// see https://bugs.php.net/bug.php?id=25725
134+
// see https://bugs.php.net/25725
135135
$code = @highlight_file($file, true);
136136
// remove main code/span tags
137137
$code = preg_replace('#^<code.*?>\s*<span.*?>(.*)</span>\s*</code>#s', '\\1', $code);

Tests/Controller/ControllerTraitTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,10 +421,10 @@ public function testGenerateUrl()
421421
public function testRedirect()
422422
{
423423
$controller = $this->createController();
424-
$response = $controller->redirect('http://dunglas.fr', 301);
424+
$response = $controller->redirect('https://dunglas.fr', 301);
425425

426426
$this->assertInstanceOf('Symfony\Component\HttpFoundation\RedirectResponse', $response);
427-
$this->assertSame('http://dunglas.fr', $response->getTargetUrl());
427+
$this->assertSame('https://dunglas.fr', $response->getTargetUrl());
428428
$this->assertSame(301, $response->getStatusCode());
429429
}
430430

0 commit comments

Comments
 (0)