Skip to content

Account Protection: Add password detection flow #82403

Account Protection: Add password detection flow

Account Protection: Add password detection flow #82403

Triggered via pull request January 20, 2025 22:45
Status Failure
Total duration 8m 39s
Artifacts 1

tests.yml

on: pull_request
Determine tests matrix
8s
Determine tests matrix
Storybook tests
3m 1s
Storybook tests
Check plugin monorepo dep versions
19s
Check plugin monorepo dep versions
Static analysis
4m 42s
Static analysis
Matrix: run-tests
Publish coverage data
1m 14s
Publish coverage data
Fit to window
Zoom out
Zoom in

Annotations

25 errors and 19 warnings
PHP tests: PHP 8.4 WP latest
Tests for packages/account-protection failed!
PHP tests: PHP 8.4 WP latest
Process completed with exit code 1.
PHP tests: PHP 8.2 WP latest
Tests for packages/account-protection failed!
PHP tests: PHP 8.2 WP latest
Process completed with exit code 1.
PHP tests: PHP 8.3 WP latest
Tests for packages/account-protection failed!
PHP tests: PHP 8.3 WP latest
Process completed with exit code 1.
PHP tests: PHP 7.3 WP latest
Tests for packages/account-protection failed!
PHP tests: PHP 7.3 WP latest
Process completed with exit code 1.
PHP tests: PHP 7.4 WP latest
Tests for packages/account-protection failed!
PHP tests: PHP 7.4 WP latest
Process completed with exit code 1.
PHP tests: PHP 8.0 WP latest
Tests for packages/account-protection failed!
PHP tests: PHP 8.0 WP latest
Process completed with exit code 1.
PHP tests: PHP 8.1 WP latest with wpcomsh
Tests for packages/account-protection failed!
PHP tests: PHP 8.1 WP latest with wpcomsh
Process completed with exit code 1.
PHP tests: PHP 7.2 WP latest
Tests for packages/account-protection failed!
PHP tests: PHP 7.2 WP latest
Process completed with exit code 1.
PHP tests: PHP 8.1 WP latest
Tests for packages/account-protection failed!
PHP tests: PHP 8.1 WP latest
Process completed with exit code 1.
Static analysis: 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
Static analysis: 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
Static analysis: 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
Static analysis: projects/packages/account-protection/src/class-password-reset-email.php#L44
TypeError PhanRedundantCondition Redundant attempt to cast $user of type \WP_User to truthy
Static analysis
Process completed with exit code 1.
Code coverage
Tests for packages/account-protection failed!
Code coverage
Process completed with exit code 1.
Determine tests matrix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check plugin monorepo dep versions
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
JS tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP tests: PHP 7.4 WP latest with WooCommerce
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Storybook tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP tests: PHP 8.4 WP latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP tests: PHP 8.2 WP latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP tests: PHP 8.3 WP latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP tests: PHP 7.3 WP latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP tests: PHP 7.4 WP latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP tests: PHP 8.0 WP latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP tests: PHP 8.2 WP previous
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP tests: PHP 8.1 WP latest with wpcomsh
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP tests: PHP 7.2 WP latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP tests: PHP 8.1 WP latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Static analysis
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP tests: PHP 8.2 WP trunk
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Publish coverage data
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
Code coverage Expired
3.87 MB