Lines Matching refs:error
120 $error = 'There must be no blank lines before the file comment';
121 $phpcsFile->addError($error, $stackPtr, 'SpacingAfterOpen');
127 $error = 'There must be exactly one blank line after the file comment';
128 $phpcsFile->addError($error, $commentEnd, 'SpacingAfterComment');
145 $error = 'Only one %s tag is allowed in a file comment';
147 … $phpcsFile->addError($error, $tag, 'Duplicate'.ucfirst(substr($name, 1)).'Tag', $data);
158 $error = 'Content missing for %s tag in file comment';
160 $phpcsFile->addError($error, $tag, 'Empty'.ucfirst(substr($name, 1)).'Tag', $data);
166 $error = 'Expected "Squiz Pty Ltd <products@squiz.net>" for author tag';
167 $fix = $phpcsFile->addFixableError($error, $tag, 'IncorrectAuthor');
175 … $error = 'Expected "xxxx-xxxx Squiz Pty Ltd (ABN 77 084 670 600)" for copyright declaration';
176 $fix = $phpcsFile->addFixableError($error, $tag, 'IncorrectCopyright');
195 $error = 'Missing %s tag in file comment';
197 … $phpcsFile->addError($error, $commentEnd, 'Missing'.ucfirst(substr($tag, 1)).'Tag', $data);
205 $error = 'The tag in position %s should be the %s tag';
210 …$phpcsFile->addError($error, $tokens[$commentStart]['comment_tags'][$pos], ucfirst(substr($tag, 1)…