Skip to content

Boost: Add notice when updating a page from the foundation pages list #77676

Boost: Add notice when updating a page from the foundation pages list

Boost: Add notice when updating a page from the foundation pages list #77676

Triggered via pull request October 23, 2024 12:42
Status Failure
Total duration 5m 8s
Artifacts

tests.yml

on: pull_request
Determine tests matrix
6s
Determine tests matrix
Storybook tests
3m 0s
Storybook tests
Check plugin monorepo dep versions
17s
Check plugin monorepo dep versions
Static analysis
4m 58s
Static analysis
Matrix: run-tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Static analysis: projects/plugins/boost/app/lib/Environment_Change_Detector.php#L104
UndefError PhanUndeclaredTypeParameter Parameter $post has undeclared type \Automattic\Jetpack_Boost\Lib\WP_Post
Static analysis: projects/plugins/boost/app/lib/Environment_Change_Detector.php#L108
TypeError PhanTypeMismatchArgument Argument 1 ($post) is $post of type \Automattic\Jetpack_Boost\Lib\WP_Post but \get_permalink() takes \WP_Post|int defined at /home/runner/work/jetpack/jetpack/vendor/php-stubs/wordpress-stubs/wordpress-stubs.php:115809
Static analysis: projects/plugins/boost/app/lib/Environment_Change_Detector.php#L114
UndefError PhanUndeclaredClassProperty Reference to instance property post_type from undeclared class \Automattic\Jetpack_Boost\Lib\WP_Post
Static analysis
Process completed with exit code 1.