Account Protection: Add password detection flow #82403
Annotations
5 errors and 1 warning
Run phan:
projects/packages/account-protection/src/class-password-detection.php#L49
TypeError PhanTypeMismatchDeclaredReturn Doc-block of login_form_password_detection contains declared return type \WP_Error which is incompatible with the return type \WP_User declared in the signature
|
Run phan:
projects/packages/account-protection/src/class-password-detection.php#L80
Plugin PhanPluginNeverReturnMethod Method \Automattic\Jetpack\Account_Protection\Password_Detection::render_page() never returns and has a return type of void, but phpdoc type never could be used instead
|
Run phan:
projects/packages/account-protection/src/class-password-detection.php#L194
ParamError PhanParamTooMany Call with 2 arg(s) to \Automattic\Jetpack\Account_Protection\Password_Reset_Email::send(\WP_User $user) which only takes 1 arg(s) defined at src/class-password-reset-email.php:42
|
Run phan:
projects/packages/account-protection/src/class-password-reset-email.php#L44
TypeError PhanRedundantCondition Redundant attempt to cast $user of type \WP_User to truthy
|
Run phan
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading