PHP 8.1 deprecated strftime, which we were using to get the current minute for counting sessions. This is easily replaced with the date function: https://3v4l.org/GkoF3
This should have caused unit tests to fail, but didn't. This is because the SessionTrackerTest runs after the HandlerTest, which registers error handlers that affect PHPUnit's reporting of the deprecation. This will be fixed in a separate PR
Goal
PHP 8.1 deprecated
strftime
, which we were using to get the current minute for counting sessions. This is easily replaced with thedate
function: https://3v4l.org/GkoF3This should have caused unit tests to fail, but didn't. This is because the
SessionTrackerTest
runs after theHandlerTest
, which registers error handlers that affect PHPUnit's reporting of the deprecation. This will be fixed in a separate PR