Closed
Description
I'm trying to use the package in a project that already uses psr/simple-cache v3. For me personally it isn't much of a problem as I fork for the time being.
Problem 1
- Root composer.json requires compwright/php-session ^1.2 -> satisfiable by compwright/php-session[1.2.0, 1.2.1, 1.2.2, 1.2.3].
- compwright/php-session[1.2.0, ..., 1.2.3] require psr/simple-cache ^1 -> found psr/simple-cache[1.0.0, 1.0.1] but it conflicts with your root composer.json require (^3.0).
I would be nice to upgrade this package to v3 but I don't know how easy an upgrade would be.
After updating psr/simple-cache:
DEPRECATED Return type of Compwright\PhpSession\Handlers\Psr16Handler::read($id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in vendor\compwright\php-session\src\Handlers\Psr16Handler.php on line 54.
DEPRECATED Return type of Compwright\PhpSession\Handlers\Psr16Handler::gc($max_lifetime): bool should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in vendor\compwright\php-session\src\Handlers\Psr16Handler.php on line 97.