mark as tested up to 6.9 #639
lint.yml
on: push
EditorConfig
8s
Plugin Check
1m 55s
Matrix: phpstan
Annotations
11 errors and 9 warnings
|
PHPStan (PHP 7.4; Relay 0.7.0)
Process completed with exit code 1.
|
|
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound:
includes/diagnostics.php#L25
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$info".
|
|
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound:
includes/diagnostics.php#L21
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$info".
|
|
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound:
includes/diagnostics.php#L19
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$info".
|
|
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound:
includes/diagnostics.php#L18
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$info".
|
|
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound:
includes/diagnostics.php#L16
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$disabled".
|
|
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound:
includes/diagnostics.php#L15
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$dropin".
|
|
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound:
includes/diagnostics.php#L14
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$filesystem".
|
|
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound:
includes/diagnostics.php#L13
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$info".
|
|
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound:
redis-cache.php#L37
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$autoloader".
|
|
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound:
redis-cache.php#L31
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$meta".
|
|
WordPress.PHP.DevelopmentFunctions.error_log_error_log:
includes/class-plugin.php#L1258
error_log() found. Debug code should not normally be used in production.
|
|
WordPress.DB.PreparedSQL.InterpolatedNotPrepared:
includes/class-plugin.php#L1255
Use placeholders and $wpdb->prepare(); found interpolated variable {$prefix} at "DELETE FROM {$prefix}options WHERE option_name LIKE %s"
|
|
WordPress.DB.DirectDatabaseQuery.NoCaching:
includes/class-plugin.php#L1254
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
|
|
WordPress.DB.DirectDatabaseQuery.DirectQuery:
includes/class-plugin.php#L1254
Use of a direct database call is discouraged.
|
|
WordPress.DB.DirectDatabaseQuery.NoCaching:
includes/class-plugin.php#L1244
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
|
|
WordPress.DB.DirectDatabaseQuery.DirectQuery:
includes/class-plugin.php#L1244
Use of a direct database call is discouraged.
|
|
WordPress.DB.DirectDatabaseQuery.NoCaching:
includes/class-plugin.php#L1229
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
|
|
WordPress.DB.DirectDatabaseQuery.DirectQuery:
includes/class-plugin.php#L1229
Use of a direct database call is discouraged.
|
|
WordPress.PHP.DevelopmentFunctions.error_log_trigger_error:
includes/object-cache.php#L940
trigger_error() found. Debug code should not normally be used in production.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
plugin-check-results
|
1.66 KB |
sha256:10c7d58b5604c6bcb9af3c9c9f65b3ed9ae3ae4fa82c5faa3aff74c8b4914f38
|
|