Lines Matching refs:error

75             $error = 'Doc comment is empty';
76 $phpcsFile->addError($error, $stackPtr, 'Empty');
82 $error = 'The open comment tag must be the only content on the line';
83 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'ContentAfterOpen');
95 $error = 'The close comment tag must be the only content on the line';
96 $fix = $phpcsFile->addFixableError($error, $commentEnd, 'ContentBeforeClose');
104 $error = 'Additional blank lines found at end of doc comment';
105 $fix = $phpcsFile->addFixableError($error, $commentEnd, 'SpacingAfter');
122 $error = 'Missing short description in doc comment';
123 $phpcsFile->addError($error, $stackPtr, 'MissingShort');
129 $error = 'Doc comment short description must be on the first line';
130 $fix = $phpcsFile->addFixableError($error, $short, 'SpacingBeforeShort');
163 $error = 'Doc comment short description must start with a capital letter';
164 $phpcsFile->addError($error, $short, 'ShortNotCapital');
170 … $error = 'There must be exactly one blank line between descriptions in a doc comment';
171 $fix = $phpcsFile->addFixableError($error, $long, 'SpacingBetween');
189 $error = 'Doc comment long description must start with a capital letter';
190 $phpcsFile->addError($error, $long, 'LongNotCapital');
202 $error = 'There must be exactly one blank line before the tags in a doc comment';
203 $fix = $phpcsFile->addFixableError($error, $firstTag, 'SpacingBeforeTags');
249 $error = 'Parameter tags must be grouped together in a doc comment';
250 $phpcsFile->addError($error, $tag, 'ParamGroup');
257 $error = 'Tag cannot be grouped with parameter tags in a doc comment';
258 $phpcsFile->addError($error, $tag, 'NonParamGroup');
287 $error = 'There must be a single blank line after a tag group';
288 $fix = $phpcsFile->addFixableError($error, $lastTag, 'SpacingAfterTagGroup');
311 $error = 'Tag value indented incorrectly; expected %s spaces but found %s';
317 $fix = $phpcsFile->addFixableError($error, ($tag + 1), 'TagValueIndent', $data);
327 $error = 'Parameter tags must be defined first in a doc comment';
328 $phpcsFile->addError($error, $tagGroups[$paramGroupid][0], 'ParamNotFirst');
337 $error = 'Tags must be grouped together in a doc comment';
338 $phpcsFile->addError($error, $tag, 'TagsNotGrouped');