Lines Matching refs:error
76 public $error = true; variable in Squiz_Sniffs_CSS_ForbiddenStylesSniff
155 $error = 'The use of style %s is ';
156 if ($this->error === true) {
158 $error .= 'forbidden';
161 $error .= 'discouraged';
170 if ($this->error === true) {
171 …$fix = $phpcsFile->addFixableError($error.'; use %s instead', $stackPtr, $type.'WithAlternative', …
173 …$fix = $phpcsFile->addFixableWarning($error.'; use %s instead', $stackPtr, $type.'WithAlternative'…
180 if ($this->error === true) {
181 $phpcsFile->addError($error, $stackPtr, $type, $data);
183 $phpcsFile->addWarning($error, $stackPtr, $type, $data);