From aaaf51ccd30ac51fd4c532d4c6f5ced969c9a38d Mon Sep 17 00:00:00 2001 From: Rodrigo Primo Date: Mon, 14 Jul 2025 11:27:46 -0300 Subject: [PATCH 1/2] Fix the class description for ConstantsHelper and ListHelper The previous description contained information about the ContextHelper class. --- WordPress/Helpers/ConstantsHelper.php | 2 +- WordPress/Helpers/ListHelper.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WordPress/Helpers/ConstantsHelper.php b/WordPress/Helpers/ConstantsHelper.php index 080f3cf223..bd6e66a494 100644 --- a/WordPress/Helpers/ConstantsHelper.php +++ b/WordPress/Helpers/ConstantsHelper.php @@ -16,7 +16,7 @@ use WordPressCS\WordPress\Helpers\ContextHelper; /** - * Helper utilities for checking the context in which a token is used. + * Helper utilities for identifying constants in PHP code. * * --------------------------------------------------------------------------------------------- * This class is only intended for internal use by WordPressCS and is not part of the public API. diff --git a/WordPress/Helpers/ListHelper.php b/WordPress/Helpers/ListHelper.php index aa1e22477f..99373b2aec 100644 --- a/WordPress/Helpers/ListHelper.php +++ b/WordPress/Helpers/ListHelper.php @@ -15,7 +15,7 @@ use PHPCSUtils\Utils\Lists; /** - * Helper utilities for checking the context in which a token is used. + * Helper utilities for working with lists. * * --------------------------------------------------------------------------------------------- * This class is only intended for internal use by WordPressCS and is not part of the public API. From 7fe2395ec829394c5d406165452fcdd0383406d3 Mon Sep 17 00:00:00 2001 From: Rodrigo Primo Date: Mon, 14 Jul 2025 15:47:04 -0300 Subject: [PATCH 2/2] Update WordPress/Helpers/ConstantsHelper.php Co-authored-by: Juliette <663378+jrfnl@users.noreply.github.com> --- WordPress/Helpers/ConstantsHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WordPress/Helpers/ConstantsHelper.php b/WordPress/Helpers/ConstantsHelper.php index bd6e66a494..6f2d590e46 100644 --- a/WordPress/Helpers/ConstantsHelper.php +++ b/WordPress/Helpers/ConstantsHelper.php @@ -16,7 +16,7 @@ use WordPressCS\WordPress\Helpers\ContextHelper; /** - * Helper utilities for identifying constants in PHP code. + * Helper utilities for identifying the use of global constants in PHP code. * * --------------------------------------------------------------------------------------------- * This class is only intended for internal use by WordPressCS and is not part of the public API.