Commit 6bedb968 authored by Klaus Purer's avatar Klaus Purer
Browse files

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

parent 1e93d2e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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()