Skip to content

MU WPCOM: Port the starter-page-templates feature from ETK #72866

MU WPCOM: Port the starter-page-templates feature from ETK

MU WPCOM: Port the starter-page-templates feature from ETK #72866

Triggered via pull request July 25, 2024 06:44
Status Failure
Total duration 10m 32s
Artifacts 7

tests.yml

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

Annotations

19 errors
Static analysis: projects/packages/jetpack-mu-wpcom/src/features/starter-page-templates/class-starter-page-templates.php#L86
TypeError PhanTypeMismatchArgumentProbablyReal Argument 2 ($src) is null of type null but \wp_register_script() takes false|string (no real type) defined at /home/runner/work/jetpack/jetpack/vendor/php-stubs/wordpress-stubs/wordpress-stubs.php:113889 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
Static analysis: projects/packages/jetpack-mu-wpcom/src/features/starter-page-templates/class-starter-page-templates.php#L152
TypeError PhanImpossibleCondition Impossible attempt to cast $page_templates of type non-empty-mixed to empty
Static analysis: projects/packages/jetpack-mu-wpcom/src/features/starter-page-templates/class-starter-page-templates.php#L357
UndefError PhanUndeclaredFunction Call to undeclared function \gutenberg_dir_path()
Static analysis: projects/packages/jetpack-mu-wpcom/src/features/starter-page-templates/class-starter-page-templates.php#L362
TypeError PhanTypeArraySuspicious Suspicious array access to $editor_settings of type object
Static analysis
Process completed with exit code 1.
PHP tests: PHP 8.2 WP previous
Tests for plugins/wpcomsh failed!
PHP tests: PHP 8.2 WP previous
Process completed with exit code 1.
PHP tests: PHP 8.2 WP trunk
Tests for plugins/wpcomsh failed!
PHP tests: PHP 8.2 WP trunk
Process completed with exit code 1.
PHP tests: PHP 8.3 WP latest
Tests for plugins/wpcomsh failed!
PHP tests: PHP 8.3 WP latest
Process completed with exit code 1.
PHP tests: PHP 8.2 WP latest
Tests for plugins/wpcomsh failed!
PHP tests: PHP 8.2 WP latest
Process completed with exit code 1.
PHP tests: PHP 7.4 WP latest
Tests for plugins/wpcomsh failed!
PHP tests: PHP 7.4 WP latest
Process completed with exit code 1.
PHP tests: PHP 8.0 WP latest
Tests for plugins/wpcomsh failed!
PHP tests: PHP 8.0 WP latest
Process completed with exit code 1.
PHP tests: PHP 8.1 WP latest
Tests for plugins/wpcomsh failed!
PHP tests: PHP 8.1 WP latest
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
PHP tests - PHP 7.4 WP latest Expired
4.49 KB
PHP tests - PHP 8.0 WP latest Expired
4.51 KB
PHP tests - PHP 8.1 WP latest Expired
4.51 KB
PHP tests - PHP 8.2 WP latest Expired
4.47 KB
PHP tests - PHP 8.2 WP previous Expired
4.49 KB
PHP tests - PHP 8.2 WP trunk Expired
4.5 KB
PHP tests - PHP 8.3 WP latest Expired
4.47 KB