Skip to content

Commit 21d0153

Browse files
jrfnlGaryJones
authored andcommitted
Compatibility/Zoninator: remove the sniff
* Remove the sniff. * Remove the related test in the `WordPressVIPMinimum/ruleset-test.inc` file. * Remove the related test in the `WordPress-VIP-Go/ruleset-test.inc` file.
1 parent ad61b64 commit 21d0153

File tree

7 files changed

+4
-152
lines changed

7 files changed

+4
-152
lines changed

WordPress-VIP-Go/ruleset-test.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,8 @@ class MyWidget extends WP_Widget {
322322
class BadTestClass extends WP_CLI_Command { // Warning.
323323
}
324324

325-
// WordPressVIPMinimum.Compatibility.ZoninatorSniff
326-
wpcom_vip_load_plugin( 'zoninator', 'plugins', '0.8' ); // Warning.
325+
326+
327327

328328
// WordPressVIPMinimum.Constants.ConstantString
329329
define( WPCOM_VIP ); // Error.

WordPress-VIP-Go/ruleset-test.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@
196196
269 => 1,
197197
273 => 1,
198198
322 => 1,
199-
326 => 1,
200199
332 => 1,
201200
392 => 1,
202201
394 => 1,

WordPressVIPMinimum/Sniffs/Compatibility/ZoninatorSniff.php

Lines changed: 0 additions & 90 deletions
This file was deleted.

WordPressVIPMinimum/Tests/Compatibility/ZoninatorUnitTest.inc

Lines changed: 0 additions & 13 deletions
This file was deleted.

WordPressVIPMinimum/Tests/Compatibility/ZoninatorUnitTest.php

Lines changed: 0 additions & 43 deletions
This file was deleted.

WordPressVIPMinimum/ruleset-test.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,8 @@ class MyWidget extends WP_Widget {
278278
// WordPressVIPMinimum.Classes.RestrictedExtendClasses
279279
class BadTestClass extends WP_CLI_Command { } // Warning.
280280

281-
// WordPressVIPMinimum.Compatibility.ZoninatorSniff
282-
wpcom_vip_load_plugin( 'zoninator', 'plugins', '0.8' ); // Warning.
281+
282+
283283

284284
// WordPressVIPMinimum.Constants.ConstantString
285285
define( WPCOM_VIP ); // Error.

WordPressVIPMinimum/ruleset-test.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,6 @@
248248
256 => 1,
249249
264 => 2,
250250
279 => 1,
251-
282 => 1,
252251
288 => 1,
253252
293 => 1,
254253
294 => 1,

0 commit comments

Comments
 (0)