Skip to content

Commit ea416f0

Browse files
committed
Add comment clarifying that this specific test is now an exception in the group
1 parent 58836a8 commit ea416f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

WordPress/Tests/WP/DiscouragedConstantsUnitTest.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ echo BACKGROUND_COLOR;
6161
echo BACKGROUND_IMAGE;
6262

6363
use const STYLESHEETPATH as SSP;
64-
use const ABC as STYLESHEETPATH;
64+
use const ABC as STYLESHEETPATH; // This is ok, as `STYLESHEETPATH` is not a global constant here.
6565

6666
switch( STYLESHEETPATH ) {
6767
case STYLESHEETPATH:

0 commit comments

Comments
 (0)