Skip to content

WordPress.com Features: Calypso Locale Sync from Calypso to wp-admin #68348

WordPress.com Features: Calypso Locale Sync from Calypso to wp-admin

WordPress.com Features: Calypso Locale Sync from Calypso to wp-admin #68348

Triggered via pull request May 13, 2024 23:51
Status Failure
Total duration 5m 0s
Artifacts

tests.yml

on: pull_request
Determine tests matrix
7s
Determine tests matrix
Storybook tests
47s
Storybook tests
Check plugin monorepo dep versions
34s
Check plugin monorepo dep versions
Static analysis
4m 48s
Static analysis
Matrix: run-tests
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Static analysis: projects/packages/jetpack-mu-wpcom/src/features/wp-admin-locale-sync/wp-admin-locale-sync.php#L55
TypeError PhanTypeMismatchArgumentNullableInternal Argument 1 ($filename) is JETPACK__GLOTPRESS_LOCALES_PATH of type ?array|?bool|?float|?int|?resource|?string but \file_exists() takes string (expected type to be non-nullable)
Static analysis: projects/packages/jetpack-mu-wpcom/src/features/wp-admin-locale-sync/wp-admin-locale-sync.php#L61
UndefError PhanUndeclaredClassMethod Call to method by_field from undeclared class \GP_Locales
Static analysis: projects/packages/jetpack-mu-wpcom/src/features/wp-admin-locale-sync/wp-admin-locale-sync.php#L62
UndefError PhanUndeclaredClassInstanceof Checking instanceof against undeclared class \GP_Locale
Static analysis: projects/packages/jetpack-mu-wpcom/src/features/wp-admin-locale-sync/wp-admin-locale-sync.php#L63
UndefError PhanUndeclaredClassProperty Reference to instance property wp_locale from undeclared class \GP_Locale
Static analysis: projects/packages/jetpack-mu-wpcom/src/features/wp-admin-locale-sync/wp-admin-locale-sync.php#L67
UndefError PhanPossiblyUndeclaredVariable Variable $jetpack_locale is possibly undeclared
Static analysis
Process completed with exit code 1.