Skip to content

Commit 4c0341b

Browse files
committed
Merge branch '5.4' into 6.4
* 5.4: do not mix named and positional arguments in data provider definitions session names must not be empty fix Contracts directory name in PHPUnit configuration Passing null to parameter #2 ($subject) of type string is deprecated
2 parents 3363819 + 35f7b4c commit 4c0341b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/Session/Storage/Handler/AbstractRedisSessionHandlerTestCase.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function testUseSessionGcMaxLifetimeAsTimeToLive()
8989

9090
public function testDestroySession()
9191
{
92-
$this->storage->open('', '');
92+
$this->storage->open('', 'test');
9393
$this->redisClient->set(self::PREFIX.'id', 'foo');
9494

9595
$this->assertTrue((bool) $this->redisClient->exists(self::PREFIX.'id'));

Tests/Session/Storage/Handler/MemcachedSessionHandlerTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function testWriteSessionWithLargeTTL()
109109

110110
public function testDestroySession()
111111
{
112-
$this->storage->open('', '');
112+
$this->storage->open('', 'sid');
113113
$this->memcached
114114
->expects($this->once())
115115
->method('delete')

0 commit comments

Comments
 (0)