Skip to content

Add upgrade routine. #15844

Add upgrade routine.

Add upgrade routine. #15844

Triggered via push October 25, 2023 14:44
Status Failure
Total duration 1m 24s
Artifacts

cs.yml

on: push
Check code style
1m 15s
Check code style
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 10 warnings
Check code style
Process completed with exit code 2.
Check code style
Process completed with exit code 2.
Check code style: admin/class-yoast-notification.php#L405
Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
Check code style: tests/unit/admin/admin-features-test.php#L41
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
Check code style: inc/class-upgrade.php#L92
Each array item in a multi-line array declaration must end in a comma
Check code style
Process completed with exit code 1.
Check code style: inc/class-upgrade.php#L241
Detected usage of meta_key, possible slow query.
Check code style: inc/class-upgrade.php#L241
Detected usage of meta_value, possible slow query.
Check code style: inc/class-upgrade.php#L291
Usage of a direct database call is discouraged.
Check code style: inc/class-upgrade.php#L291
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
Check code style: inc/class-upgrade.php#L322
Usage of a direct database call is discouraged.
Check code style: inc/class-upgrade.php#L322
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
Check code style: inc/class-upgrade.php#L346
Usage of a direct database call is discouraged.
Check code style: inc/class-upgrade.php#L346
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
Check code style: inc/class-upgrade.php#L400
Usage of a direct database call is discouraged.
Check code style: inc/class-upgrade.php#L400
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().