File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ function foo_bar_bar() {
214
214
215
215
// VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
216
216
function foo_bar_foo () {
217
- $ a = 'Hello ' ; // Warning
217
+ $ a = 'Hello ' ; // OK. Unused variables warning silenced.
218
218
}
219
219
220
220
// WordPressVIPMinimum.UserExperience.AdminBarRemoval
@@ -417,7 +417,7 @@ the_sub_field( 'field' ); // Warning.
417
417
the_field ( 'field ' ); // Warning.
418
418
wp_remote_get ( $ url ); // Warning.
419
419
get_posts (); // Warning.
420
- function test_function ( $ a , $ b ) {
420
+ function test_function ( $ a , $ b ) { // OK. Unused variables warning silenced.
421
421
return create_function ( '$a, $b ' , 'return ( $b / $a ); ' ); // Warning.
422
422
}
423
423
wpcom_vip_get_term_link (); // Warning.
Original file line number Diff line number Diff line change 184
184
207 => 1 ,
185
185
208 => 1 ,
186
186
212 => 1 ,
187
- 217 => 1 ,
188
187
221 => 1 ,
189
188
223 => 1 ,
190
189
225 => 1 ,
222
221
417 => 1 ,
223
222
418 => 1 ,
224
223
419 => 1 ,
225
- 420 => 2 ,
226
224
421 => 1 ,
227
225
423 => 1 ,
228
226
424 => 1 ,
Original file line number Diff line number Diff line change 164
164
393 => 1 ,
165
165
394 => 1 ,
166
166
395 => 1 ,
167
+ 402 => 1 ,
167
168
415 => 1 ,
168
169
425 => 1 ,
169
170
451 => 1 ,
269
270
399 => 1 ,
270
271
400 => 1 ,
271
272
401 => 1 ,
272
- 402 => 1 ,
273
273
403 => 1 ,
274
274
404 => 1 ,
275
275
405 => 1 ,
You can’t perform that action at this time.
0 commit comments