Skip to content

Social | Add filtering for publicize endpoints #80910

Social | Add filtering for publicize endpoints

Social | Add filtering for publicize endpoints #80910

Triggered via pull request December 20, 2024 13:29
Status Failure
Total duration 11m 6s
Artifacts 1

tests.yml

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

Annotations

6 errors and 18 warnings
Static analysis: projects/packages/publicize/src/rest-api/class-base-controller.php#L50
UndefError PhanUndeclaredFunction Call to undeclared function \is_jetpack_site()
Static analysis: projects/packages/publicize/src/rest-api/class-base-controller.php#L52
UndefError PhanUndeclaredClassMethod Call to method __construct from undeclared class \WPCOM_REST_API_V2_Endpoint_Jetpack_Auth
Static analysis: projects/packages/publicize/src/rest-api/class-base-controller.php#L54
UndefError PhanUndeclaredClassMethod Call to method is_jetpack_authorized_for_site from undeclared class \WPCOM_REST_API_V2_Endpoint_Jetpack_Auth
Static analysis: projects/packages/publicize/src/rest-api/class-connections-controller.php#L200
UndefError PhanUndeclaredMethod Call to undeclared method \Automattic\Jetpack\Publicize\Publicize::get_all_connections_for_blog_id
Static analysis: projects/packages/publicize/src/rest-api/class-connections-controller.php#L345
TypeError PhanTypeMismatchReturnNullable Returning $has_permissions of type ?''|?'0'|?0|?0.0|?\WP_Error|?array{}|?bool but get_items_permissions_check() is declared to return \WP_Error|true (expected returned value to be non-nullable)
Static analysis
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
Storybook tests
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
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.3 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 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.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 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 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
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
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
Code coverage
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
4.88 MB