Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility/Zoninator: remove the sniff #775

Merged
merged 1 commit into from
Aug 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions WordPress-VIP-Go/ruleset-test.inc
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,8 @@ class MyWidget extends WP_Widget {
class BadTestClass extends WP_CLI_Command { // Warning.
}

// WordPressVIPMinimum.Compatibility.ZoninatorSniff
wpcom_vip_load_plugin( 'zoninator', 'plugins', '0.8' ); // Warning.



// WordPressVIPMinimum.Constants.ConstantString
define( WPCOM_VIP ); // Error.
Expand Down
1 change: 0 additions & 1 deletion WordPress-VIP-Go/ruleset-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@
269 => 1,
273 => 1,
322 => 1,
326 => 1,
332 => 1,
392 => 1,
394 => 1,
Expand Down
90 changes: 0 additions & 90 deletions WordPressVIPMinimum/Sniffs/Compatibility/ZoninatorSniff.php

This file was deleted.

13 changes: 0 additions & 13 deletions WordPressVIPMinimum/Tests/Compatibility/ZoninatorUnitTest.inc

This file was deleted.

43 changes: 0 additions & 43 deletions WordPressVIPMinimum/Tests/Compatibility/ZoninatorUnitTest.php

This file was deleted.

4 changes: 2 additions & 2 deletions WordPressVIPMinimum/ruleset-test.inc
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@ class MyWidget extends WP_Widget {
// WordPressVIPMinimum.Classes.RestrictedExtendClasses
class BadTestClass extends WP_CLI_Command { } // Warning.

// WordPressVIPMinimum.Compatibility.ZoninatorSniff
wpcom_vip_load_plugin( 'zoninator', 'plugins', '0.8' ); // Warning.



// WordPressVIPMinimum.Constants.ConstantString
define( WPCOM_VIP ); // Error.
Expand Down
1 change: 0 additions & 1 deletion WordPressVIPMinimum/ruleset-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@
256 => 1,
264 => 2,
279 => 1,
282 => 1,
288 => 1,
293 => 1,
294 => 1,
Expand Down