Skip to content

lint: database in data-machine (14) #863

@homeboy-ci

Description

@homeboy-ci

Lint: database

Component: data-machine
Count: 14 findings
Last run: https://github.com/Extra-Chill/data-machine/actions/runs/23420959708
Updated: 2026-03-23T04:48:03Z
Homeboy: homeboy 0.85.3+3a91e4a3 | Action: Extra-Chill/homeboy-action@v2

Findings

File Description Suggestion
inc/Core/Database/Logs/LogRepository.php Use placeholders and $wpdb->prepare(); found $this (WordPress.DB.PreparedSQL.NotPrepared)
inc/Core/Database/Logs/LogRepository.php Use placeholders and $wpdb->prepare(); found wpdb (WordPress.DB.PreparedSQL.NotPrepared)
inc/Core/Database/Logs/LogRepository.php Use placeholders and $wpdb->prepare(); found prepare (WordPress.DB.PreparedSQL.NotPrepared)
inc/Core/Database/Logs/LogRepository.php Use placeholders and $wpdb->prepare(); found interpolated variable {$this->table_name} at "SELECT COUNT(*) AS total_entries, MIN(created_at) AS oldest, MAX(created_at) AS newest FROM {$this->table_name} WHERE {$where}" (WordPress.DB.PreparedSQL.InterpolatedNotPrepared)
inc/Core/Database/Logs/LogRepository.php Use placeholders and $wpdb->prepare(); found interpolated variable {$where} at "SELECT COUNT(*) AS total_entries, MIN(created_at) AS oldest, MAX(created_at) AS newest FROM {$this->table_name} WHERE {$where}" (WordPress.DB.PreparedSQL.InterpolatedNotPrepared)
inc/Core/Database/Logs/LogRepository.php Use placeholders and $wpdb->prepare(); found ... (WordPress.DB.PreparedSQL.NotPrepared)
inc/Core/Database/Logs/LogRepository.php Use placeholders and $wpdb->prepare(); found $params (WordPress.DB.PreparedSQL.NotPrepared)
inc/Core/Database/Logs/LogRepository.php Use placeholders and $wpdb->prepare(); found $this (WordPress.DB.PreparedSQL.NotPrepared)
inc/Core/Database/Logs/LogRepository.php Use placeholders and $wpdb->prepare(); found wpdb (WordPress.DB.PreparedSQL.NotPrepared)
inc/Core/Database/Logs/LogRepository.php Use placeholders and $wpdb->prepare(); found prepare (WordPress.DB.PreparedSQL.NotPrepared)
inc/Core/Database/Logs/LogRepository.php Use placeholders and $wpdb->prepare(); found interpolated variable {$this->table_name} at "SELECT level, COUNT(*) AS cnt FROM {$this->table_name} WHERE {$where} GROUP BY level" (WordPress.DB.PreparedSQL.InterpolatedNotPrepared)
inc/Core/Database/Logs/LogRepository.php Use placeholders and $wpdb->prepare(); found interpolated variable {$where} at "SELECT level, COUNT(*) AS cnt FROM {$this->table_name} WHERE {$where} GROUP BY level" (WordPress.DB.PreparedSQL.InterpolatedNotPrepared)
inc/Core/Database/Logs/LogRepository.php Use placeholders and $wpdb->prepare(); found ... (WordPress.DB.PreparedSQL.NotPrepared)
inc/Core/Database/Logs/LogRepository.php Use placeholders and $wpdb->prepare(); found $params (WordPress.DB.PreparedSQL.NotPrepared)

Updated automatically by Homeboy Action on each CI run until resolved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lintAutomated lint findings from CI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions