Lines Matching refs:error

87             $error = 'There must be no blank lines after the function comment';
88 $phpcsFile->addError($error, $commentEnd, 'SpacingAfter');
97 $error = 'Content missing for @see tag in function comment';
98 $phpcsFile->addError($error, $tag, 'EmptySees');
132 $error = 'Only 1 @return tag is allowed in a function comment';
133 $phpcsFile->addError($error, $tag, 'DuplicateReturn');
148 $error = 'Return type missing for @return tag in function comment';
149 $phpcsFile->addError($error, $return, 'MissingReturnType');
152 $error = 'Missing @return tag in function comment';
153 $phpcsFile->addError($error, $tokens[$commentStart]['comment_closer'], 'MissingReturn');
191 $error = 'Exception type missing for @throws tag in function comment';
192 $phpcsFile->addError($error, $tag, 'InvalidThrows');
266 $error = 'Missing parameter comment';
267 $phpcsFile->addError($error, $tag, 'MissingParamComment');
270 $error = 'Missing parameter name';
271 $phpcsFile->addError($error, $tag, 'MissingParamName');
274 $error = 'Missing parameter type';
275 $phpcsFile->addError($error, $tag, 'MissingParamType');
310 $error = 'Expected %s spaces after parameter type; %s found';
316 … $fix = $phpcsFile->addFixableError($error, $param['tag'], 'SpacingAfterParamType', $data);
359 $error = 'Doc comment for parameter %s does not match ';
361 $error .= 'case of ';
365 $error .= 'actual variable name %s';
367 $phpcsFile->addError($error, $param['tag'], $code, $data);
371 $error = 'Superfluous parameter comment';
372 $phpcsFile->addError($error, $param['tag'], 'ExtraParamComment');
382 $error = 'Expected %s spaces after parameter name; %s found';
388 … $fix = $phpcsFile->addFixableError($error, $param['tag'], 'SpacingAfterParamName', $data);
430 $error = 'Doc comment for parameter "%s" missing';
432 $phpcsFile->addError($error, $commentStart, 'MissingParamTag', $data);