You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Claude/update legacy config 011 c uy cef h lgxfv x zm77h5 c6 (#18)
* Update legacy configuration files
- Update phpunit.xml.dist to PHPUnit 10+ format with new attributes and source tag
- Create psalm.xml with static analysis configuration
- Update composer.json: PHP >=8.1 <8.5, byjg/jwt-wrapper ^6.0, phpunit ^10|^11, vimeo/psalm ^5.9|^6.12
- Add composer scripts for test and psalm
- Update GitHub workflow to test PHP 8.1-8.4
- Update .gitignore with additional patterns
* Fix compatibility with jwt-wrapper 6.0
- Update namespace imports from ByJG\Util to ByJG\JwtWrapper
- Update class names: JwtKeySecret -> JwtHashHmacSecret, JwtRsaKey -> JwtOpenSSLKey
- Update JwtWrapper::createJwtData() call to pass array instead of string
- Make test data providers static for PHPUnit 10+ compatibility
- Convert @dataProvider annotations to PHP attributes
- Suppress unserialize warnings in session parser (expected behavior)
* Fix psalm static analysis errors
- Add #[Override] attributes to SessionHandlerInterface methods
- Fix gc() return type from bool to int|false per interface
- Remove redundant null coalescing for getCookiePath() calls
---------
Co-authored-by: Claude <[email protected]>
* Update PHPUnit GitHub Actions workflow with container options and checkout version
---------
Co-authored-by: Claude <[email protected]>
* The return value (usually TRUE on success, FALSE on failure).
108
-
* Note this value is returned internally to PHP for processing.
109
-
* </p>
109
+
*
110
+
* @return int|false <p> The return value (usually TRUE on success, FALSE on failure). Note this value is returned internally to PHP for processing. </p>
111
+
*
110
112
* @since 5.4.0
111
113
*/
114
+
#[\Override]
112
115
publicfunctiongc(int$max_lifetime): int|false
113
116
{
114
-
returntrue;
117
+
return1;
115
118
}
116
119
117
120
/**
@@ -126,6 +129,7 @@ public function gc(int $max_lifetime): int|false
0 commit comments