Skip to content

Commit 46fde8d

Browse files
committed
Merge branch '7.4' into 8.0
* 7.4: [Validator] Sync validators.pt.xlf Minor: Review and finalize Latvian translations for validators streamline ini settings in phpunit.xml.dist files stop using with*() without expects() stop using with*() without expects() TypeContextFactory::collectTemplates now also works with @phpstan-template and @psalm-template
2 parents 6b469c9 + 17de1a3 commit 46fde8d

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Tests/Session/Storage/Handler/MigratingSessionHandlerTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,7 @@ public function testRead()
122122

123123
$writeOnlyHandler = $this->createMock(\SessionHandlerInterface::class);
124124
$writeOnlyHandler->expects($this->never())
125-
->method('read')
126-
->with($this->any());
125+
->method('read');
127126

128127
$dualHandler = new MigratingSessionHandler($currentHandler, $writeOnlyHandler);
129128
$result = $dualHandler->read($sessionId);
@@ -167,8 +166,7 @@ public function testValidateId()
167166

168167
$writeOnlyHandler = $this->createMock(\SessionHandlerInterface::class);
169168
$writeOnlyHandler->expects($this->never())
170-
->method('read')
171-
->with($this->any());
169+
->method('read');
172170

173171
$dualHandler = new MigratingSessionHandler($currentHandler, $writeOnlyHandler);
174172
$result = $dualHandler->validateId($sessionId);

0 commit comments

Comments
 (0)