Skip to content

My Jetpack: Add "Expired" & "Expires soon" statuses to product cards #77660

My Jetpack: Add "Expired" & "Expires soon" statuses to product cards

My Jetpack: Add "Expired" & "Expires soon" statuses to product cards #77660

Triggered via pull request October 22, 2024 22:34
Status Failure
Total duration 8m 20s
Artifacts

tests.yml

on: pull_request
Determine tests matrix
7s
Determine tests matrix
Storybook tests
2m 45s
Storybook tests
Check plugin monorepo dep versions
33s
Check plugin monorepo dep versions
Static analysis
4m 49s
Static analysis
Matrix: run-tests
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Static analysis: projects/packages/my-jetpack/src/products/class-product.php#L611
TypeError PhanTypeMismatchReturnNullable Returning $status of type ?'active'|?'can_upgrade'|?'inactive'|?'module_disabled'|?'needs_activation'|?'needs_first_site_connection'|?'needs_plan'|?'plugin_absent'|?'plugin_absent_with_plan'|?'site_connection_error'|?'user_connection_error'|?string but get_status() is declared to return string (expected returned value to be non-nullable)
Static analysis
Process completed with exit code 1.