Skip to content

Connection: Add REST support for jsonAPI endpoints #76668

Connection: Add REST support for jsonAPI endpoints

Connection: Add REST support for jsonAPI endpoints #76668

Triggered via pull request September 26, 2024 20:53
Status Failure
Total duration 8m 53s
Artifacts

tests.yml

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

Annotations

2 errors
Static analysis: projects/plugins/jetpack/class.json-api-endpoints.php#L2701
TypeError PhanTypeMismatchReturnNullable Returning $success of type ?''|?'0'|?0|?0.0|?\WP_Error|?array{}|?bool but rest_permission_callback() is declared to return \WP_Error|true (expected returned value to be non-nullable)
Static analysis
Process completed with exit code 1.