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
Storybook tests
2m 55s
Check plugin monorepo dep versions
35s
Static analysis
4m 46s
Matrix: run-tests
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.
|