Skip to content

Commit 1d1a977

Browse files
committed
Functions/DynamicCalls: error message tweak
1 parent 3118358 commit 1d1a977

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WordPressVIPMinimum/Sniffs/Functions/DynamicCallsSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ private function find_dynamic_calls() {
181181
return;
182182
}
183183

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

0 commit comments

Comments
 (0)