Skip to content

chore: fix code to comply with latest PHPStan, Rector and CS #2302

chore: fix code to comply with latest PHPStan, Rector and CS

chore: fix code to comply with latest PHPStan, Rector and CS #2302

Triggered via pull request July 5, 2025 05:05
Status Success
Total duration 7m 14s
Artifacts

phpunit.yml

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

Annotations

51 warnings
phpunit / PHP 8.1 - MySQLi: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.6792s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.3 - SQLite3: /tests/Controllers/RegisterTest.php#L92
Took 0.5009s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccessWithNoEmailLogin
phpunit / PHP 8.3 - SQLite3: /tests/Unit/PasswordsTest.php#L37
Took 0.5017s from 0.5000s limit to run Tests\\Unit\\PasswordsTest::testHash
phpunit / PHP 8.3 - SQLite3: /tests/Controllers/RegisterTest.php#L232
Took 0.5041s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain
phpunit / PHP 8.3 - SQLite3: /tests/Controllers/RegisterTest.php#L54
Took 0.5094s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess
phpunit / PHP 8.3 - SQLite3: /tests/Controllers/RegisterTest.php#L184
Took 0.5099s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined
phpunit / PHP 8.3 - SQLite3: /tests/Controllers/RegisterTest.php#L258
Took 0.5170s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin
phpunit / PHP 8.3 - SQLite3: /tests/Controllers/RegisterTest.php#L208
Took 0.5234s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin
phpunit / PHP 8.3 - SQLite3: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.7020s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.4 - SQLite3: /tests/Authentication/Filters/SessionFilterTest.php#L71
Took 0.5127s from 0.5000s limit to run Tests\\Authentication\\Filters\\SessionFilterTest::testBlocksInactiveUsersAndRedirectsToAuthAction
phpunit / PHP 8.4 - SQLite3: /tests/Controllers/RegisterTest.php#L258
Took 0.5399s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin
phpunit / PHP 8.4 - SQLite3: /tests/Unit/UserIdentityModelTest.php#L86
Took 2.3456s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.3 - MySQLi: /tests/Controllers/RegisterTest.php#L258
Took 0.5021s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin
phpunit / PHP 8.3 - MySQLi: /tests/Controllers/RegisterTest.php#L232
Took 0.5050s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain
phpunit / PHP 8.3 - MySQLi: /tests/Controllers/RegisterTest.php#L92
Took 0.5076s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccessWithNoEmailLogin
phpunit / PHP 8.3 - MySQLi: /tests/Controllers/RegisterTest.php#L208
Took 0.5084s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin
phpunit / PHP 8.3 - MySQLi: /tests/Controllers/RegisterTest.php#L54
Took 0.5263s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess
phpunit / PHP 8.3 - MySQLi: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.6533s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.1 - SQLite3: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.6409s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.4 - MySQLi: /tests/Controllers/RegisterTest.php#L258
Took 0.5005s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin
phpunit / PHP 8.4 - MySQLi: /tests/Unit/UserTest.php#L53
Took 0.5454s from 0.5000s limit to run Tests\\Unit\\UserTest::testGetIdentitiesByType
phpunit / PHP 8.4 - MySQLi: /tests/Unit/UserIdentityModelTest.php#L86
Took 2.3592s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.2 - SQLite3: /tests/Controllers/RegisterTest.php#L208
Took 0.5040s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin
phpunit / PHP 8.2 - SQLite3: /tests/Controllers/RegisterTest.php#L258
Took 0.5081s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin
phpunit / PHP 8.2 - SQLite3: /tests/Controllers/RegisterTest.php#L92
Took 0.5091s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccessWithNoEmailLogin
phpunit / PHP 8.2 - SQLite3: /tests/Controllers/RegisterTest.php#L184
Took 0.5119s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined
phpunit / PHP 8.2 - SQLite3: /tests/Controllers/RegisterTest.php#L232
Took 0.5132s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain
phpunit / PHP 8.2 - SQLite3: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.6467s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.1 - Postgre: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.6453s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.1 - MySQLi: /tests/Controllers/RegisterTest.php#L232
Took 0.5145s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain
phpunit / PHP 8.1 - MySQLi: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.6605s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.2 - MySQLi: /tests/Controllers/RegisterTest.php#L54
Took 0.5062s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess
phpunit / PHP 8.2 - MySQLi: /tests/Controllers/RegisterTest.php#L208
Took 0.5083s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin
phpunit / PHP 8.2 - MySQLi: /tests/Controllers/RegisterTest.php#L184
Took 0.5185s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined
phpunit / PHP 8.2 - MySQLi: /tests/Controllers/RegisterTest.php#L92
Took 0.5228s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccessWithNoEmailLogin
phpunit / PHP 8.2 - MySQLi: /tests/Controllers/RegisterTest.php#L232
Took 0.5271s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain
phpunit / PHP 8.2 - MySQLi: /tests/Controllers/RegisterTest.php#L258
Took 0.5328s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin
phpunit / PHP 8.2 - MySQLi: /tests/Controllers/RegisterTest.php#L314
Took 0.5386s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionWithBadEmailValue
phpunit / PHP 8.2 - MySQLi: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.6551s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.1 - SQLSRV: /tests/Controllers/RegisterTest.php#L258
Took 0.5131s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin
phpunit / PHP 8.1 - SQLSRV: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.8187s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.1 - OCI8: /tests/Authentication/Authenticators/SessionAuthenticatorTest.php#L243
Took 0.6760s from 0.5000s limit to run Tests\\Authentication\\Authenticators\\SessionAuthenticatorTest::testForgetAnotherUser
phpunit / PHP 8.1 - OCI8: /tests/Authentication/Filters/ChainFilterTest.php#L57
Took 0.6777s from 0.5000s limit to run Tests\\Authentication\\Filters\\ChainFilterTest::testFilterSuccessTokens
phpunit / PHP 8.1 - OCI8: /tests/Controllers/LoginTest.php#L153
Took 0.7329s from 0.5000s limit to run Tests\\Controllers\\LoginTest::testAfterLoggedInNotDisplayLoginPage
phpunit / PHP 8.1 - OCI8: /tests/Authentication/Authenticators/HmacAuthenticatorTest.php#L290
Took 0.7426s from 0.5000s limit to run Tests\\Authentication\\Authenticators\\HmacAuthenticatorTest::testAttemptBanned
phpunit / PHP 8.1 - OCI8: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.8348s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.1 - OCI8: /tests/Authentication/Filters/ChainFilterTest.php#L32
Took 0.8409s from 0.5000s limit to run Tests\\Authentication\\Filters\\ChainFilterTest::testFilterNotAuthorized
phpunit / PHP 8.1 - OCI8: /tests/Unit/UserTest.php#L135
Took 1.0347s from 0.5000s limit to run Tests\\Unit\\UserTest::testLastLogin
phpunit / PHP 8.1 - OCI8: /tests/Controllers/RegisterTest.php#L208
Took 1.1286s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin
phpunit / PHP 8.1 - OCI8: /tests/Collectors/AuthTest.php#L52
Took 1.1840s from 0.5000s limit to run Tests\\Collectors\\AuthTest::testDisplayLoggedIn
phpunit / PHP 8.1 - OCI8: /tests/Authentication/AuthTest.php#L24
Took 1.2901s from 0.5000s limit to run Tests\\Authentication\\AuthTest::testAuthenticateFail