Skip to content

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

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

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

Triggered via pull request July 4, 2025 16:47
Status Success
Total duration 7m 4s
Artifacts

phpunit.yml

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

Annotations

57 warnings
phpunit / PHP 8.3 - SQLite3: /tests/Controllers/RegisterTest.php#L314
Took 0.5031s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionWithBadEmailValue
phpunit / PHP 8.3 - SQLite3: /tests/Controllers/RegisterTest.php#L92
Took 0.5153s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccessWithNoEmailLogin
phpunit / PHP 8.3 - SQLite3: /tests/Controllers/RegisterTest.php#L54
Took 0.5192s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess
phpunit / PHP 8.3 - SQLite3: /tests/Controllers/RegisterTest.php#L232
Took 0.5200s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain
phpunit / PHP 8.3 - SQLite3: /tests/Controllers/RegisterTest.php#L258
Took 0.5227s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin
phpunit / PHP 8.3 - SQLite3: /tests/Controllers/RegisterTest.php#L184
Took 0.5252s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined
phpunit / PHP 8.3 - SQLite3: /tests/Controllers/RegisterTest.php#L208
Took 0.5834s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin
phpunit / PHP 8.3 - SQLite3: /tests/Unit/UserTest.php#L43
Took 0.5940s from 0.5000s limit to run Tests\\Unit\\UserTest::testGetIdentitiesSome
phpunit / PHP 8.3 - SQLite3: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.6549s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.1 - SQLite3: /tests/Controllers/RegisterTest.php#L258
Took 0.5091s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin
phpunit / PHP 8.1 - SQLite3: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.6561s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.3 - MySQLi: /tests/Controllers/RegisterTest.php#L92
Took 0.5019s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccessWithNoEmailLogin
phpunit / PHP 8.3 - MySQLi: /tests/Controllers/RegisterTest.php#L54
Took 0.5021s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess
phpunit / PHP 8.3 - MySQLi: /tests/Controllers/RegisterTest.php#L184
Took 0.5044s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined
phpunit / PHP 8.3 - MySQLi: /tests/Controllers/RegisterTest.php#L208
Took 0.5069s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin
phpunit / PHP 8.3 - MySQLi: /tests/Controllers/RegisterTest.php#L232
Took 0.5082s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain
phpunit / PHP 8.3 - MySQLi: /tests/Controllers/RegisterTest.php#L258
Took 0.5116s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin
phpunit / PHP 8.3 - MySQLi: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.6705s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.1 - Postgre: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.7448s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.2 - SQLite3: /tests/Controllers/RegisterTest.php#L92
Took 0.5040s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccessWithNoEmailLogin
phpunit / PHP 8.2 - SQLite3: /tests/Controllers/RegisterTest.php#L54
Took 0.5066s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess
phpunit / PHP 8.2 - SQLite3: /tests/Controllers/RegisterTest.php#L232
Took 0.5086s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain
phpunit / PHP 8.2 - SQLite3: /tests/Controllers/RegisterTest.php#L208
Took 0.5098s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin
phpunit / PHP 8.2 - SQLite3: /tests/Controllers/RegisterTest.php#L258
Took 0.5208s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin
phpunit / PHP 8.2 - SQLite3: /tests/Controllers/RegisterTest.php#L184
Took 0.5277s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined
phpunit / PHP 8.2 - SQLite3: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.6523s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.1 - MySQLi: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.6868s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.4 - SQLite3: /tests/Controllers/RegisterTest.php#L184
Took 0.5401s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined
phpunit / PHP 8.4 - SQLite3: /tests/Unit/UserIdentityModelTest.php#L86
Took 2.4138s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
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/Unit/DictionaryValidatorTest.php#L45
Took 0.5061s from 0.5000s limit to run Tests\\Unit\\DictionaryValidatorTest::testCheckTrueOnNotFound
phpunit / PHP 8.2 - MySQLi: /tests/Controllers/RegisterTest.php#L54
Took 0.5115s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess
phpunit / PHP 8.2 - MySQLi: /tests/Controllers/RegisterTest.php#L184
Took 0.5117s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined
phpunit / PHP 8.2 - MySQLi: /tests/Controllers/RegisterTest.php#L92
Took 0.5195s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccessWithNoEmailLogin
phpunit / PHP 8.2 - MySQLi: /tests/Controllers/RegisterTest.php#L258
Took 0.5222s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin
phpunit / PHP 8.2 - MySQLi: /tests/Controllers/RegisterTest.php#L208
Took 0.5257s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin
phpunit / PHP 8.2 - MySQLi: /tests/Controllers/RegisterTest.php#L232
Took 0.5780s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain
phpunit / PHP 8.2 - MySQLi: /tests/Commands/HmacTest.php#L148
Took 0.6784s from 0.5000s limit to run Tests\\Commands\\HmacTest::testExpireAll
phpunit / PHP 8.2 - MySQLi: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.7398s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.1 - MySQLi: /tests/Authentication/Filters/HmacFilterTest.php#L65
Took 0.6001s from 0.5000s limit to run Tests\\Authentication\\Filters\\HmacFilterTest::testFilterInvalidSignature
phpunit / PHP 8.1 - MySQLi: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.6532s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.4 - MySQLi: /tests/Controllers/LoginTest.php#L92
Took 0.6596s from 0.5000s limit to run Tests\\Controllers\\LoginTest::testLoginTooLongPasswordArgon2id
phpunit / PHP 8.4 - MySQLi: /tests/Unit/UserIdentityModelTest.php#L86
Took 2.3650s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.1 - SQLSRV: /tests/Controllers/RegisterTest.php#L54
Took 0.5006s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess
phpunit / PHP 8.1 - SQLSRV: /tests/Controllers/RegisterTest.php#L258
Took 0.5185s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin
phpunit / PHP 8.1 - SQLSRV: /tests/Authentication/Filters/ChainFilterTest.php#L32
Took 0.6662s from 0.5000s limit to run Tests\\Authentication\\Filters\\ChainFilterTest::testFilterNotAuthorized
phpunit / PHP 8.1 - SQLSRV: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.6735s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.1 - OCI8: /tests/Authentication/Authenticators/SessionAuthenticatorTest.php#L230
Took 0.6856s from 0.5000s limit to run Tests\\Authentication\\Authenticators\\SessionAuthenticatorTest::testForgetCurrentUser
phpunit / PHP 8.1 - OCI8: /tests/Authentication/Filters/JWTFilterTest.php#L66
Took 0.6861s from 0.5000s limit to run Tests\\Authentication\\Filters\\JWTFilterTest::testFilterNotAuthorized
phpunit / PHP 8.1 - OCI8: /tests/Authentication/MagicLinkTest.php#L97
Took 0.6961s from 0.5000s limit to run Tests\\Authentication\\MagicLinkTest::testMagicLinkVerifyNoToken
phpunit / PHP 8.1 - OCI8: /tests/Authentication/Filters/ChainFilterTest.php#L32
Took 0.7078s from 0.5000s limit to run Tests\\Authentication\\Filters\\ChainFilterTest::testFilterNotAuthorized
phpunit / PHP 8.1 - OCI8: /tests/Commands/UserTest.php#L576
Took 0.7116s from 0.5000s limit to run Tests\\Commands\\UserTest::testAddgroup
phpunit / PHP 8.1 - OCI8: /tests/Controllers/LoginTest.php#L235
Took 0.8011s from 0.5000s limit to run Tests\\Controllers\\LoginTest::testLoginRedirectsToActionIfDefined
phpunit / PHP 8.1 - OCI8: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.8421s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.1 - OCI8: /tests/Authentication/Authenticators/JWTAuthenticatorTest.php#L212
Took 0.9893s from 0.5000s limit to run Tests\\Authentication\\Authenticators\\JWTAuthenticatorTest::testAttemptBannedUser
phpunit / PHP 8.1 - OCI8: /tests/Controllers/RegisterTest.php#L258
Took 1.1889s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin
phpunit / PHP 8.1 - OCI8: /tests/Controllers/RegisterTest.php#L232
Took 1.7666s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain