Commit 0066452
committed
Generic/CamelCapsFunctionName: remove two incorrect code comments
This sniff only listens to `T_FUNCTION`. It does not listen to
`T_FN` or `T_CLOSURE`. So the removed code comments are incorrect. The if
conditions are still valid to bail early when live coding, but it does not
ever apply to closures or arrow functions.1 parent 9e60f9f commit 0066452
File tree
1 file changed
+0
-2
lines changed- src/Standards/Generic/Sniffs/NamingConventions
1 file changed
+0
-2
lines changedLines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | 116 | | |
118 | 117 | | |
119 | 118 | | |
| |||
189 | 188 | | |
190 | 189 | | |
191 | 190 | | |
192 | | - | |
193 | 191 | | |
194 | 192 | | |
195 | 193 | | |
| |||
0 commit comments