Skip to content
Snippets Groups Projects
Commit 6bedb968 authored by Klaus Purer's avatar Klaus Purer
Browse files

fix(TodoComment): Improve warning message (#2222435)

parent 1e93d2e8
Branches
Tags 8.3.12
No related merge requests found
......@@ -148,7 +148,7 @@ class TodoCommentSniff implements Sniff
}
$comment = trim($comment, " /\r\n");
$phpcsFile->addWarning("'%s' should match the format '@todo Some task'", $stackPtr, 'TodoFormat', [$comment]);
$phpcsFile->addWarning("'%s' should match the format '@todo Fix problem X here.'", $stackPtr, 'TodoFormat', [$comment]);
}
}//end checkTodoFormat()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment