Skip to content

Commit a7e514a

Browse files
committed
WP/DiscouragedConstants: update sniff docblock to mention constants (re-)declaration check
Also fixes casing of "CONSTANTS" to "constants".
1 parent f48a181 commit a7e514a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

WordPress/Sniffs/WP/DiscouragedConstantsSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use WordPressCS\WordPress\Helpers\ConstantsHelper;
1818

1919
/**
20-
* Warns against usage of discouraged WP CONSTANTS and recommends alternatives.
20+
* Warns against usage and (re-)declaration of discouraged WP constants and recommends alternatives.
2121
*
2222
* @since 0.14.0
2323
*/

0 commit comments

Comments
 (0)