Lines Matching refs:error
78 $error = 'Only one @var tag is allowed in a member variable comment';
79 $phpcsFile->addError($error, $tag, 'DuplicateVar');
87 $error = 'Content missing for @see tag in member variable comment';
88 $phpcsFile->addError($error, $tag, 'EmptySees');
91 $error = '%s tag is not allowed in member variable comment';
93 $phpcsFile->addWarning($error, $tag, 'TagNotAllowed', $data);
99 $error = 'Missing @var tag in member variable comment';
100 $phpcsFile->addError($error, $commentEnd, 'MissingVar');
106 $error = 'The @var tag must be the first tag in a member variable comment';
107 $phpcsFile->addError($error, $foundVar, 'VarOrder');
113 $error = 'Content missing for @var tag in member variable comment';
114 $phpcsFile->addError($error, $foundVar, 'EmptyVar');
121 $error = 'Expected "%s" but found "%s" for @var tag in member variable comment';
127 $fix = $phpcsFile->addFixableError($error, ($foundVar + 2), 'IncorrectVarType', $data);