Skip to content

Rename parameter in maybe_delete_transients method #634

Rename parameter in maybe_delete_transients method

Rename parameter in maybe_delete_transients method #634

Triggered via push October 6, 2025 18:58
Status Failure
Total duration 2m 50s
Artifacts

lint.yml

on: push
Matrix: phpstan
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 5 warnings
PHPStan (PHP 7.4; Relay 0.7.0)
Process completed with exit code 1.
PHPStan (PHP 7.4; Relay 0.7.0): includes/class-plugin.php#L1219
Undefined variable: $result
PHPStan (PHP 8.2; Relay 0.7.0)
Process completed with exit code 1.
PHPStan (PHP 8.2; Relay 0.7.0): includes/class-plugin.php#L1219
Undefined variable: $result
WordPress.DB.DirectDatabaseQuery.NoCaching: includes/class-plugin.php#L1230
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#L1230
Use of a direct database call is discouraged.
WordPress.DB.DirectDatabaseQuery.NoCaching: includes/class-plugin.php#L1223
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#L1223
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.