Skip to content

refactor: Optimize AuthToken/AuthJWT Config Loading by Initializing in Constructor #2268

refactor: Optimize AuthToken/AuthJWT Config Loading by Initializing in Constructor

refactor: Optimize AuthToken/AuthJWT Config Loading by Initializing in Constructor #2268

Triggered via pull request February 16, 2025 00:05
Status Success
Total duration 6m 55s
Artifacts

phpunit.yml

on: pull_request
Matrix: phpunit / main
phpunit  /  Coveralls Finished
3s
phpunit / Coveralls Finished
Fit to window
Zoom out
Zoom in

Annotations

53 warnings
phpunit / PHP 8.1 - Postgre: tests/Unit/UserIdentityModelTest.php#L86
Took 0.6380s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.1 - Postgre: tests/Controllers/RegisterTest.php#L208
Took 0.5166s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin
phpunit / PHP 8.1 - MySQLi: tests/Unit/UserIdentityModelTest.php#L86
Took 0.6316s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.2 - MySQLi: tests/Unit/UserIdentityModelTest.php#L86
Took 0.6496s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.2 - MySQLi: tests/Controllers/RegisterTest.php#L54
Took 0.5283s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess
phpunit / PHP 8.2 - MySQLi: tests/Controllers/RegisterTest.php#L184
Took 0.5265s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined
phpunit / PHP 8.2 - MySQLi: tests/Controllers/RegisterTest.php#L258
Took 0.5190s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin
phpunit / PHP 8.2 - MySQLi: tests/Controllers/RegisterTest.php#L208
Took 0.5177s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin
phpunit / PHP 8.2 - MySQLi: tests/Controllers/RegisterTest.php#L92
Took 0.5132s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccessWithNoEmailLogin
phpunit / PHP 8.2 - MySQLi: tests/Controllers/RegisterTest.php#L314
Took 0.5047s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionWithBadEmailValue
phpunit / PHP 8.2 - MySQLi: tests/Controllers/RegisterTest.php#L232
Took 0.5035s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain
phpunit / PHP 8.3 - MySQLi: tests/Unit/UserIdentityModelTest.php#L86
Took 0.6664s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.3 - MySQLi: tests/Unit/PasswordsTest.php#L37
Took 0.5102s from 0.5000s limit to run Tests\\Unit\\PasswordsTest::testHash
phpunit / PHP 8.3 - MySQLi: tests/Controllers/RegisterTest.php#L314
Took 0.5091s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionWithBadEmailValue
phpunit / PHP 8.3 - MySQLi: tests/Controllers/RegisterTest.php#L54
Took 0.5063s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess
phpunit / PHP 8.1 - SQLite3: tests/Unit/UserIdentityModelTest.php#L86
Took 0.6335s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.1 - SQLite3: tests/Controllers/RegisterTest.php#L258
Took 0.5425s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin
phpunit / PHP 8.3 - SQLite3: tests/Unit/UserIdentityModelTest.php#L86
Took 0.6612s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.3 - SQLite3: tests/Controllers/RegisterTest.php#L232
Took 0.5107s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain
phpunit / PHP 8.3 - SQLite3: tests/Controllers/RegisterTest.php#L258
Took 0.5070s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin
phpunit / PHP 8.3 - SQLite3: tests/Controllers/RegisterTest.php#L54
Took 0.5067s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess
phpunit / PHP 8.3 - SQLite3: tests/Controllers/RegisterTest.php#L184
Took 0.5005s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined
phpunit / PHP 8.1 - SQLSRV: tests/Unit/UserIdentityModelTest.php#L86
Took 0.6963s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.1 - SQLSRV: tests/Unit/UserIdentityModelTest.php#L63
Took 0.5716s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testCreateCodeIdentityThrowsExceptionIfUniqueCodeIsNotGot
phpunit / PHP 8.1 - SQLSRV: tests/Controllers/RegisterTest.php#L258
Took 0.5191s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin
phpunit / PHP 8.1 - SQLSRV: tests/Controllers/RegisterTest.php#L232
Took 0.5150s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain
phpunit / PHP 8.1 - SQLSRV: tests/Controllers/RegisterTest.php#L208
Took 0.5126s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin
phpunit / PHP 8.2 - SQLite3: tests/Unit/UserIdentityModelTest.php#L86
Took 0.6378s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.2 - SQLite3: tests/Commands/UserTest.php#L616
Took 0.6218s from 0.5000s limit to run Tests\\Commands\\UserTest::testAddgroupCancel
phpunit / PHP 8.2 - SQLite3: tests/Controllers/RegisterTest.php#L208
Took 0.5610s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin
phpunit / PHP 8.2 - SQLite3: tests/Controllers/RegisterTest.php#L258
Took 0.5563s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin
phpunit / PHP 8.2 - SQLite3: tests/Controllers/RegisterTest.php#L184
Took 0.5473s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined
phpunit / PHP 8.2 - SQLite3: tests/Controllers/RegisterTest.php#L232
Took 0.5441s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain
phpunit / PHP 8.2 - SQLite3: tests/Controllers/RegisterTest.php#L314
Took 0.5384s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionWithBadEmailValue
phpunit / PHP 8.2 - SQLite3: tests/Controllers/RegisterTest.php#L92
Took 0.5383s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccessWithNoEmailLogin
phpunit / PHP 8.2 - SQLite3: tests/Unit/PasswordsTest.php#L37
Took 0.5371s from 0.5000s limit to run Tests\\Unit\\PasswordsTest::testHash
phpunit / PHP 8.2 - SQLite3: tests/Controllers/RegisterTest.php#L54
Took 0.5362s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess
phpunit / PHP 8.1 - MySQLi: tests/Unit/UserIdentityModelTest.php#L86
Took 0.6574s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.1 - MySQLi: tests/Controllers/RegisterTest.php#L184
Took 0.5080s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined
phpunit / PHP 8.4 - SQLite3: tests/Unit/UserIdentityModelTest.php#L86
Took 2.3299s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.4 - MySQLi: tests/Unit/UserIdentityModelTest.php#L86
Took 2.3410s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.4 - MySQLi: tests/Commands/UserTest.php#L638
Took 0.7442s from 0.5000s limit to run Tests\\Commands\\UserTest::testRemovegroup
phpunit / PHP 8.4 - MySQLi: tests/Authentication/HasHmacTokensTest.php#L52
Took 0.5045s from 0.5000s limit to run Tests\\Authentication\\HasHmacTokensTest::testHmacTokens
phpunit / PHP 8.1 - OCI8: tests/Authentication/Authenticators/AccessTokenAuthenticatorTest.php#L86
Took 1.9383s from 0.5000s limit to run Tests\\Authentication\\Authenticators\\AccessTokenAuthenticatorTest::testLoginByIdWithToken
phpunit / PHP 8.1 - OCI8: tests/Authentication/Authenticators/HmacAuthenticatorTest.php#L290
Took 1.0166s from 0.5000s limit to run Tests\\Authentication\\Authenticators\\HmacAuthenticatorTest::testAttemptBanned
phpunit / PHP 8.1 - OCI8: tests/Authentication/Filters/JWTFilterTest.php#L66
Took 0.9388s from 0.5000s limit to run Tests\\Authentication\\Filters\\JWTFilterTest::testFilterNotAuthorized
phpunit / PHP 8.1 - OCI8: tests/Unit/UserIdentityModelTest.php#L86
Took 0.8270s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.1 - OCI8: tests/Authentication/Authenticators/AccessTokenAuthenticatorTest.php#L223
Took 0.7249s from 0.5000s limit to run Tests\\Authentication\\Authenticators\\AccessTokenAuthenticatorTest::testAttemptSuccessLog
phpunit / PHP 8.1 - OCI8: tests/Authentication/MagicLinkTest.php#L129
Took 0.7190s from 0.5000s limit to run Tests\\Authentication\\MagicLinkTest::testMagicLinkVerifySuccess
phpunit / PHP 8.1 - OCI8: tests/Controllers/LoginTest.php#L169
Took 0.7125s from 0.5000s limit to run Tests\\Controllers\\LoginTest::testLoginActionUsernameSuccess
phpunit / PHP 8.1 - OCI8: tests/Authentication/Filters/PermissionFilterTest.php#L53
Took 0.6952s from 0.5000s limit to run Tests\\Authentication\\Filters\\PermissionFilterTest::testFilterSuccess
phpunit / PHP 8.1 - OCI8: tests/Authentication/Authenticators/SessionAuthenticatorTest.php#L230
Took 0.6828s from 0.5000s limit to run Tests\\Authentication\\Authenticators\\SessionAuthenticatorTest::testForgetCurrentUser
phpunit / PHP 8.1 - OCI8: tests/Commands/UserTest.php#L103
Took 0.6721s from 0.5000s limit to run Tests\\Commands\\UserTest::testCreateWithGroupBeta