[POC] Performance Dashboard (Web Vitals) #3659
Annotations
10 errors and 1 warning
plugins/optimization-detective/storage/rest-api.php#L214
Function od_handle_chart_rest_request() has parameter $request with generic class WP_REST_Request but does not specify its types: T
|
plugins/optimization-detective/storage/rest-api.php#L214
Function od_handle_chart_rest_request() never returns WP_Error so it can be removed from the return type.
|
plugins/optimization-detective/storage/rest-api.php#L224
Parameter #2 $timestamp of function wp_date expects int|null, float given.
|
plugins/performance-dashboard/class-performance-dashboard-rest-controller.php#L66
Method Performance_Dashboard_REST_Controller::get_items() has parameter $request with generic class WP_REST_Request but does not specify its types: T
|
plugins/performance-dashboard/class-performance-dashboard-rest-controller.php#L69
Empty array passed to foreach.
|
plugins/performance-dashboard/class-performance-dashboard-rest-controller.php#L87
Method Performance_Dashboard_REST_Controller::get_item() has parameter $request with generic class WP_REST_Request but does not specify its types: T
|
plugins/performance-dashboard/class-performance-dashboard-rest-controller.php#L92
Strict comparison using === between 1 and 1 will always evaluate to true.
|
plugins/performance-dashboard/class-performance-dashboard-rest-controller.php#L109
Method Performance_Dashboard_REST_Controller::get_items_permissions_check() has parameter $request with generic class WP_REST_Request but does not specify its types: T
|
plugins/performance-dashboard/class-performance-dashboard-rest-controller.php#L110
Method Performance_Dashboard_REST_Controller::get_items_permissions_check() should return WP_Error|true but returns bool.
|
plugins/performance-dashboard/class-performance-dashboard-rest-controller.php#L123
Method Performance_Dashboard_REST_Controller::get_item_permissions_check() has parameter $request with generic class WP_REST_Request but does not specify its types: T
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading