diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 4f6fd07..546c4e7 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -10,6 +10,7 @@ jobs: strategy: matrix: php-version: + - "7.4" - "8.0" - "8.1" - "8.2" diff --git a/composer.json b/composer.json index 99c3cfe..71dffb4 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ } ], "require": { - "php": "^8.0" + "php": "^7.4 || ^8.0" }, "require-dev": { "php-parallel-lint/php-parallel-lint": "^1.3", diff --git a/tests/TestSessionHandler.php b/tests/TestSessionHandler.php index 00a6c17..d134d68 100644 --- a/tests/TestSessionHandler.php +++ b/tests/TestSessionHandler.php @@ -9,10 +9,15 @@ class TestSessionHandler implements SessionHandlerInterface, SessionIdInterface { - public function __construct( - private string $sessionId, - private array $data = [], - ) { + private string $sessionId; + + /** @var array */ + private array $data = []; + + + public function __construct(string $sessionId) + { + $this->sessionId = $sessionId; }