Commit 17e801e
committed
NamingConventions/PrefixAllGlobals: modify test to include class constant type
This commit modifies one of the existing class constants in the code used in the `WordPress.NamingConventions.PrefixAllGlobal` tests to have a type. This is just to ensure that there is a test for typed class constants added in PHP 8.3 as this sniff listens to the `T_CONST` token.
The sniff was already handling typed class constants correctly and no change to the sniff code is needed.1 parent 00e9af7 commit 17e801e
File tree
1 file changed
+1
-1
lines changed- WordPress/Tests/NamingConventions
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
| 279 | + | |
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| |||
0 commit comments