diff --git a/WordPressVIPMinimum/Sniffs/Functions/DynamicCallsSniff.php b/WordPressVIPMinimum/Sniffs/Functions/DynamicCallsSniff.php index afb64832..36c92021 100644 --- a/WordPressVIPMinimum/Sniffs/Functions/DynamicCallsSniff.php +++ b/WordPressVIPMinimum/Sniffs/Functions/DynamicCallsSniff.php @@ -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 ); }