Lines Matching refs:error

140             $error = 'You must use "/**" style comments for a file comment';
141 $phpcsFile->addError($error, $errorToken, 'WrongStyle');
199 $error = 'PHP version not specified';
200 $phpcsFile->addWarning($error, $commentEnd, 'MissingVersion');
243 $error = 'Only one %s tag is allowed in a %s comment';
248 … $phpcsFile->addError($error, $tag, 'Duplicate'.ucfirst(substr($name, 1)).'Tag', $data);
256 $error = 'Content missing for %s tag in %s comment';
261 $phpcsFile->addError($error, $tag, 'Empty'.ucfirst(substr($name, 1)).'Tag', $data);
271 $error = 'Missing %s tag in %s comment';
276 … $phpcsFile->addError($error, $commentEnd, 'Missing'.ucfirst(substr($tag, 1)).'Tag', $data);
293 $error = 'The tag in position %s should be the %s tag';
298 …$phpcsFile->addError($error, $tokens[$commentStart]['comment_tags'][$pos], ucfirst(substr($tag, 1)…
340 $error = 'Category name "%s" is not valid; consider "%s" instead';
346 $phpcsFile->addError($error, $tag, 'InvalidCategory', $data);
380 $error = 'Package name "%s" is not valid';
382 $phpcsFile->addError($error, $tag, 'InvalidPackageValue', $data);
393 $error = 'Package name "%s" is not valid; consider "%s" instead';
399 $phpcsFile->addError($error, $tag, 'InvalidPackage', $data);
438 $error = 'Subpackage name "%s" is not valid; consider "%s" instead';
444 $phpcsFile->addError($error, $tag, 'InvalidSubpackage', $data);
472 … $error = 'Content of the @author tag must be in the form "Display Name <username@example.com>"';
473 $phpcsFile->addError($error, $tag, 'InvalidAuthors');
503 $error = 'A hyphen must be used between the earliest and latest year';
504 $phpcsFile->addError($error, $tag, 'CopyrightHyphen');
508 …$error = "Invalid year span \"$matches[1]$matches[3]$matches[4]\" found; consider \"$matches[4]-$m…
509 $phpcsFile->addWarning($error, $tag, 'InvalidCopyright');
513 $error = '@copyright tag must contain a year and the name of the copyright holder';
514 $phpcsFile->addError($error, $tag, 'IncompleteCopyright');
542 $error = '@license tag must contain a URL and a license name';
543 $phpcsFile->addError($error, $tag, 'IncompleteLicense');
573 …$error = 'Invalid version "%s" in file comment; consider "CVS: <cvs_id>" or "SVN: <svn_id>" or "GI…
575 $phpcsFile->addWarning($error, $tag, 'InvalidVersion', $data);