Skip to content

refactor(http): improve session management and CSRF protection #3045

refactor(http): improve session management and CSRF protection

refactor(http): improve session management and CSRF protection #3045

Triggered via pull request December 21, 2025 20:12
Status Failure
Total duration 43s
Artifacts

coding-conventions.yml

on: pull_request
Run style check
39s
Run style check
Run static analysis: PHPStan
38s
Run static analysis: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Run static analysis: PHPStan
Process completed with exit code 1.
Run static analysis: PHPStan: tests/Integration/Http/RedisSessionTest.php#L50
Parameter $config of class Tempest\Http\Session\Managers\RedisSessionManager constructor expects Tempest\Http\Session\Config\RedisSessionConfig, Tempest\Http\Session\SessionConfig given.
Run static analysis: PHPStan: tests/Integration/Http/RedisSessionTest.php#L32
Get hook for property Tests\Tempest\Integration\Http\RedisSessionTest::$manager should return Tempest\Http\Session\Managers\RedisSessionManager but returns Tempest\Http\Session\SessionManager.
Run static analysis: PHPStan: tests/Integration/Http/FileSessionTest.php#L33
Get hook for property Tests\Tempest\Integration\Http\FileSessionTest::$manager should return Tempest\Http\Session\Managers\FileSessionManager but returns Tempest\Http\Session\SessionManager.
Run static analysis: PHPStan: tests/Integration/Http/DatabaseSessionTest.php#L46
Class Tempest\Http\Session\Managers\DatabaseSessionManager constructor invoked with 3 parameters, 2 required.
Run static analysis: PHPStan: tests/Integration/Http/DatabaseSessionTest.php#L34
Get hook for property Tests\Tempest\Integration\Http\DatabaseSessionTest::$manager should return Tempest\Http\Session\Managers\DatabaseSessionManager but returns Tempest\Http\Session\SessionManager.