WordPress.com Features: Calypso Locale Sync from Calypso to wp-admin #68348
tests.yml
on: pull_request
Determine tests matrix
7s
Storybook tests
47s
Check plugin monorepo dep versions
34s
Static analysis
4m 48s
Matrix: run-tests
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.
|