Avoid storing the full user object in notifications meta #15866
Annotations
7 errors and 10 warnings
Check code style
Process completed with exit code 2.
|
Check code style
Process completed with exit code 2.
|
Check code style:
tests/integration/notifications/test-class-yoast-notification.php#L43
Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
|
Check code style:
tests/integration/notifications/test-class-yoast-notification-center.php#L809
Array double arrow not aligned correctly; expected 6 space(s) between "'user_id'" and double arrow, but found 9.
|
Check code style:
tests/integration/notifications/test-class-yoast-notification-center.php#L817
Array double arrow not aligned correctly; expected 6 space(s) between "'user_id'" and double arrow, but found 9.
|
Check code style:
tests/integration/notifications/test-class-yoast-notification-center.php#L850
Array double arrow not aligned correctly; expected 6 space(s) between "'user_id'" and double arrow, but found 9.
|
Check code style
Process completed with exit code 1.
|
Check code style:
inc/class-upgrade.php#L241
Detected usage of meta_key, possible slow query.
|
Check code style:
inc/class-upgrade.php#L241
Detected usage of meta_value, possible slow query.
|
Check code style:
inc/class-upgrade.php#L291
Usage of a direct database call is discouraged.
|
Check code style:
inc/class-upgrade.php#L291
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
|
Check code style:
inc/class-upgrade.php#L322
Usage of a direct database call is discouraged.
|
Check code style:
inc/class-upgrade.php#L322
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
|
Check code style:
inc/class-upgrade.php#L346
Usage of a direct database call is discouraged.
|
Check code style:
inc/class-upgrade.php#L346
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
|
Check code style:
inc/class-upgrade.php#L400
Usage of a direct database call is discouraged.
|
Check code style:
inc/class-upgrade.php#L400
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
|