Skip to content

Fix cs

Fix cs #15846

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

cs.yml

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

Annotations

4 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: 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().