Skip to content

Commit

Permalink
Functions/DynamicCalls: error message tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Oct 23, 2020
1 parent 3118358 commit 1d1a977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WordPressVIPMinimum/Sniffs/Functions/DynamicCallsSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ private function find_dynamic_calls() {
return;
}

$message = 'Dynamic calling is not recommended in the case of %s.';
$message = 'Dynamic calling is not recommended in the case of %s().';
$data = [ $this->variables_arr[ $this->tokens[ $this->stackPtr ]['content'] ] ];
$this->phpcsFile->addError( $message, $this->stackPtr, 'DynamicCalls', $data );
}
Expand Down

0 comments on commit 1d1a977

Please sign in to comment.