Skip to content

Establish quality standards #1

Establish quality standards

Establish quality standards #1

Triggered via pull request August 29, 2023 09:15
@carstingaxioncarstingaxion
synchronize #10
develop
Status Failure
Total duration 46s
Artifacts

build-test-measure.yml

on: pull_request
call-workflow-build-test-measure  /  Pre run
4s
call-workflow-build-test-measure / Pre run
call-workflow-build-test-measure  /  Lint: .json files
19s
call-workflow-build-test-measure / Lint: .json files
call-workflow-build-test-measure  /  Lint: PHP
22s
call-workflow-build-test-measure / Lint: PHP
call-workflow-build-test-measure  /  Static Analysis: PHP
19s
call-workflow-build-test-measure / Static Analysis: PHP
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 9 warnings
call-workflow-build-test-measure / Static Analysis: PHP: inc/auto-featured-image/namespace.php#L93
PHPDoc tag @param for parameter $post with type object|null is not subtype of native type WP_Post|null.
call-workflow-build-test-measure / Static Analysis: PHP: inc/auto-featured-image/namespace.php#L116
Cannot access property $ID on array|int|WP_Post.
call-workflow-build-test-measure / Static Analysis: PHP: inc/auto-featured-image/namespace.php#L121
Cannot access property $post_content on WP_Post|null.
call-workflow-build-test-measure / Static Analysis: PHP: inc/auto-featured-image/namespace.php#L122
Cannot access property $post_content on WP_Post|null.
call-workflow-build-test-measure / Static Analysis: PHP: inc/image-optimization/namespace.php#L51
Function Figuren_Theater\Media\Image_Optimzation\compress() has parameter $file with no value type specified in iterable type array.
call-workflow-build-test-measure / Static Analysis: PHP: inc/image-optimization/namespace.php#L51
Function Figuren_Theater\Media\Image_Optimzation\compress() return type has no value type specified in iterable type array.
call-workflow-build-test-measure / Static Analysis: PHP: inc/image-optimization/namespace.php#L88
Call to function is_string() with string will always evaluate to true.
call-workflow-build-test-measure / Lint: PHP: inc/image-optimization/namespace.php#L8
Directory image-optimization for namespace Figuren_Theater\Media\Image_Optimzation found; use image_optimzation instead
call-workflow-build-test-measure / Lint: PHP: inc/image-optimization/namespace.php#L93
Filesystem writes are forbidden, please do not use file_put_contents().
call-workflow-build-test-measure / Lint: PHP
Process completed with exit code 1.
call-workflow-build-test-measure / Lint: PHP: inc/image-optimization/namespace.php#L119
`file_get_contents()` is highly discouraged for remote requests, please use `wpcom_vip_file_get_contents()` or `vip_safe_wp_remote_get()` instead. If it's for a local file please use WP_Filesystem instead.
call-workflow-build-test-measure / Lint: PHP: inc/modern-images-wp/namespace.php#L101
Processing form data without nonce verification.
call-workflow-build-test-measure / Lint: PHP: inc/modern-images-wp/namespace.php#L101
Processing form data without nonce verification.
call-workflow-build-test-measure / Lint: PHP: inc/modern-images-wp/namespace.php#L102
Processing form data without nonce verification.
call-workflow-build-test-measure / Lint: PHP: inc/modern-images-wp/namespace.php#L102
Processing form data without nonce verification.
call-workflow-build-test-measure / Lint: PHP: inc/modern-images-wp/namespace.php#L103
Processing form data without nonce verification.
call-workflow-build-test-measure / Lint: PHP: inc/modern-images-wp/namespace.php#L103
Processing form data without nonce verification.
call-workflow-build-test-measure / Lint: PHP: inc/modern-images-wp/namespace.php#L104
Processing form data without nonce verification.
call-workflow-build-test-measure / Lint: PHP: inc/modern-images-wp/namespace.php#L104
Processing form data without nonce verification.