Skip to content

Fix queries to find options #72

Fix queries to find options

Fix queries to find options #72

Triggered via push September 6, 2024 20:38
Status Failure
Total duration 47s
Artifacts

cs.yml

on: push
Check code style
37s
Check code style
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 3 warnings
Check code style: aaa-option-optimizer.php#L40
Use placeholders and $wpdb->prepare(); found interpolated variable $placeholders at "SELECT count(*) AS count, SUM( LENGTH( option_value ) ) as autoload_size FROM {$wpdb->options} WHERE autoload IN ( $placeholders )"
Check code style: src/class-admin-page.php#L290
Use placeholders and $wpdb->prepare(); found interpolated variable $placeholders at "SELECT count(*) AS count, SUM( LENGTH( option_value ) ) as autoload_size FROM {$wpdb->options} WHERE autoload IN ( $placeholders )"
Check code style
Process completed with exit code 1.
Check code style
Process completed with exit code 1.
Check code style
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Check code style: aaa-option-optimizer.php#L40
Replacement variables found, but no valid placeholders found in the query.
Check code style: src/class-admin-page.php#L290
Replacement variables found, but no valid placeholders found in the query.