Add code quality workflow #1
code-quality.yml
on: pull_request
code-quality
/
Lint PHP files
14s
code-quality
/
PHPCS
14s
Annotations
6 errors
code-quality / PHPCS:
command.php#L3
Namespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "Nilambar\WP_CLI_Database\DatabaseCommand".
|
code-quality / PHPCS:
src/DatabaseCommand.php#L3
Namespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "Nilambar\WP_CLI_Database\DatabaseCommand".
|
code-quality / PHPCS:
src/DatabaseCommand.php#L82
Use placeholders and $wpdb->prepare(); found interpolated variable {$prefix} at "SHOW TABLES LIKE '{$prefix}%'"
|
code-quality / PHPCS:
src/DatabaseCommand.php#L85
Use placeholders and $wpdb->prepare(); found interpolated variable $table at "DROP TABLE $table"
|
code-quality / PHPCS
Process completed with exit code 1.
|
code-quality / PHPCS
Process completed with exit code 1.
|