Lines Matching refs:error

111             $error = 'Block comments must be started with /*';
112 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'WrongStart');
119 $error = 'Block comments must be ended with */';
120 $fix = $phpcsFile->addFixableError($error, $end, 'WrongEnd');
157 $error = 'Empty block comment not allowed';
158 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'Empty');
174 … $error = 'Single line block comment not allowed; use inline ("// text") comment instead';
175 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SingleLine');
186 $error = 'Block comment text must start on a new line';
187 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'NoNewLine');
214 $error = 'Empty line not allowed at start of comment';
215 $fix = $phpcsFile->addFixableError($error, $commentLines[1], 'HasEmptyLine');
235 $error = 'First line of comment not aligned correctly; expected %s but found %s';
236 … $fix = $phpcsFile->addFixableError($error, $commentLines[1], 'FirstLineIndent', $data);
252 $error = 'Block comments must start with a capital letter';
253 $phpcsFile->addError($error, $commentLines[1], 'NoCapital');
286 $error = 'Comment line indented incorrectly; expected at least %s but found %s';
287 $fix = $phpcsFile->addFixableError($error, $line, 'LineIndent', $data);
307 $error = 'Comment closer must be on a new line';
308 $phpcsFile->addError($error, $commentLines[$lastIndex], 'CloserSameLine');
326 $error = 'Last line of comment aligned incorrectly; expected %s but found %s';
327 $phpcsFile->addError($error, $commentLines[$lastIndex], 'LastLineIndent', $data);
337 $error = 'Empty line not required before block comment';
338 $phpcsFile->addError($error, $stackPtr, 'HasEmptyLineBefore');
342 $error = 'Empty line required before block comment';
343 $phpcsFile->addError($error, $stackPtr, 'NoEmptyLineBefore');
350 $error = 'Empty line required after block comment';
351 $phpcsFile->addError($error, $commentCloser, 'NoEmptyLineAfter');