Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- "8.3"
- "8.4"
- "8.5"
- "8.6"
update-options:
- ""
- "--prefer-lowest"
Expand Down
9 changes: 7 additions & 2 deletions tests/TestSessionHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@

use ReturnTypeWillChange;
use SessionHandlerInterface;
use SessionIdInterface;

class TestSessionHandler implements SessionHandlerInterface, SessionIdInterface
class TestSessionHandler implements SessionHandlerInterface
{

private string $sessionId;
Expand All @@ -28,6 +27,12 @@ public function create_sid(): string
}


public function validateId(string $id): bool
{
return $id === $this->sessionId;
}


/**
* @param string $path
* @param string $name
Expand Down