Skip to content

Commit 1d17e45

Browse files
authored
Merge pull request #77 from Automattic/fix-ruleset-test-eval
Use `';'` in `eval()` in order to provide some more realistic data fo…
2 parents 1efced4 + 6df381d commit 1d17e45

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)