From 7e9f8bc52d777ff1f81e21a7071f2be5cd9ee10e Mon Sep 17 00:00:00 2001 From: Yakir Sitbon Date: Mon, 23 Dec 2024 12:39:20 +0200 Subject: [PATCH] phpcs --- notifications.php | 2 +- phpcs.xml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/notifications.php b/notifications.php index 7c2c6f3..2d3b31d 100644 --- a/notifications.php +++ b/notifications.php @@ -101,7 +101,7 @@ private function check_group( $group ) { // Reset results for each condition. $result = false; switch ( $condition['type'] ) { - case 'wordpress': + case 'wordpress': // phpcs:ignore WordPress.WP.CapitalPDangit.Misspelled // include an unmodified $wp_version include ABSPATH . WPINC . '/version.php'; $result = version_compare( $wp_version, $condition['version'], $condition['operator'] ); diff --git a/phpcs.xml b/phpcs.xml index 03a810e..b9b8209 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -39,7 +39,6 @@ -