Commit 1c5e627
committed
ValidVariableName: Defer to the upstream
The upstream `PHP_CodeSniffer\Sniffs\AbstractVariableSniff` contains the same list of PHP reserved variables since PHPCS 3.3.0, so no need to maintain it ourselves.
Refs:
* squizlabs/PHP_CodeSniffer 1888$phpReservedVars property (PHPCS 3.3.0)1 parent 1dad96d commit 1c5e627
File tree
1 file changed
+3
-25
lines changed- WordPress/Sniffs/NamingConventions
1 file changed
+3
-25
lines changedLines changed: 3 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 35 | | |
58 | 36 | | |
59 | 37 | | |
| |||
131 | 109 | | |
132 | 110 | | |
133 | 111 | | |
134 | | - | |
| 112 | + | |
135 | 113 | | |
136 | 114 | | |
137 | 115 | | |
| |||
254 | 232 | | |
255 | 233 | | |
256 | 234 | | |
257 | | - | |
| 235 | + | |
258 | 236 | | |
259 | 237 | | |
260 | 238 | | |
| |||
0 commit comments