Skip to content

Commit 6df381d

Browse files
committed
Use ';' in eval() in order to provide some more realistic data for testing.
1 parent 1efced4 commit 6df381d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruleset_test.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ wp_remote_post( $this->endpoint, array(
121121
);
122122

123123
// Squiz.PHP.Eval
124-
eval(); // Bad. Error.
124+
eval( ';' ); // Bad. Error.
125125

126126
// WordPressVIPMinimum.VIP.RestrictedFunctions
127127
wpcom_vip_irc(); // Bad. Error.

0 commit comments

Comments
 (0)