Skip to content

Commit 28ae236

Browse files
author
Amrouche Hamza
committed
cs
1 parent aea3150 commit 28ae236

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

.travis.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,8 @@ matrix:
2929
- php: 5.6
3030
- php: 7.0
3131
env: deps=high
32-
- php: 7.1
33-
env: deps=low
3432
- php: 7.2
35-
env: deps=high
33+
env: deps=low
3634
fast_finish: true
3735

3836
cache:

src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class NativeSessionStorage implements SessionStorageInterface
104104
public function __construct(array $options = array(), $handler = null, MetadataBag $metaBag = null)
105105
{
106106
if (empty($options)) {
107-
$options += ['cache_limiter' => 'public'];
107+
$options += array('cache_limiter' => 'public');
108108
}
109109

110110
ini_set('session.use_cookies', 1);

src/Symfony/Component/HttpKernel/Tests/EventListener/LocaleListenerTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function testDefaultLocaleWithoutSession()
3838
public function testLocaleFromRequestAttribute()
3939
{
4040
$request = Request::create('/');
41-
// session_name('foo');
41+
// session_name('foo');
4242
$request->cookies->set('foo', 'value');
4343

4444
$request->attributes->set('_locale', 'es');

src/Symfony/Component/HttpKernel/Tests/EventListener/TestSessionListenerTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function testDoesNotDeleteCookieIfUsingSessionLifetime()
6363
$this->sessionHasBeenStarted();
6464

6565
$params = session_get_cookie_params();
66-
// session_set_cookie_params(0, $params['path'], $params['domain'], $params['secure'], $params['httponly']);
66+
// session_set_cookie_params(0, $params['path'], $params['domain'], $params['secure'], $params['httponly']);
6767

6868
$response = $this->filterResponse(new Request(), HttpKernelInterface::MASTER_REQUEST);
6969
$cookies = $response->headers->getCookies();

0 commit comments

Comments
 (0)