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() {
214214
215215// VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
216216function foo_bar_foo () {
217- $ a = 'Hello ' ; // Warning
217+ $ a = 'Hello ' ; // OK. Unused variables warning silenced.
218218}
219219
220220// WordPressVIPMinimum.UserExperience.AdminBarRemoval
@@ -417,7 +417,7 @@ the_sub_field( 'field' ); // Warning.
417417the_field ( 'field ' ); // Warning.
418418wp_remote_get ( $ url ); // Warning.
419419get_posts (); // Warning.
420- function test_function ( $ a , $ b ) {
420+ function test_function ( $ a , $ b ) { // OK. Unused variables warning silenced.
421421 return create_function ( '$a, $b ' , 'return ( $b / $a ); ' ); // Warning.
422422}
423423wpcom_vip_get_term_link (); // Warning.
Original file line number Diff line number Diff line change 184184 207 => 1 ,
185185 208 => 1 ,
186186 212 => 1 ,
187- 217 => 1 ,
188187 221 => 1 ,
189188 223 => 1 ,
190189 225 => 1 ,
222221 417 => 1 ,
223222 418 => 1 ,
224223 419 => 1 ,
225- 420 => 2 ,
226224 421 => 1 ,
227225 423 => 1 ,
228226 424 => 1 ,
Original file line number Diff line number Diff line change 164164 393 => 1 ,
165165 394 => 1 ,
166166 395 => 1 ,
167+ 402 => 1 ,
167168 415 => 1 ,
168169 425 => 1 ,
169170 451 => 1 ,
269270 399 => 1 ,
270271 400 => 1 ,
271272 401 => 1 ,
272- 402 => 1 ,
273273 403 => 1 ,
274274 404 => 1 ,
275275 405 => 1 ,
You can’t perform that action at this time.
0 commit comments