Lines Matching refs:tag
140 foreach ($tokens[$commentStart]['comment_tags'] as $tag) {
141 $name = $tokens[$tag]['content'];
147 … $phpcsFile->addError($error, $tag, 'Duplicate'.ucfirst(substr($name, 1)).'Tag', $data);
156 $string = $phpcsFile->findNext(T_DOC_COMMENT_STRING, $tag, $commentEnd);
157 if ($string === false || $tokens[$string]['line'] !== $tokens[$tag]['line']) {
160 $phpcsFile->addError($error, $tag, 'Empty'.ucfirst(substr($name, 1)).'Tag', $data);
167 $fix = $phpcsFile->addFixableError($error, $tag, 'IncorrectAuthor');
176 $fix = $phpcsFile->addFixableError($error, $tag, 'IncorrectCopyright');
193 foreach ($required as $tag => $true) {
194 if (in_array($tag, $foundTags) === false) {
196 $data = array($tag);
197 … $phpcsFile->addError($error, $commentEnd, 'Missing'.ucfirst(substr($tag, 1)).'Tag', $data);
204 if ($foundTags[$pos] !== $tag) {
208 $tag,
210 …rror($error, $tokens[$commentStart]['comment_tags'][$pos], ucfirst(substr($tag, 1)).'TagOrder', $d…