Lines Matching refs:error
99 $error = 'ASP style opening tag used; expected "<?php" but found "%s"';
103 $error = 'Script style opening tag used; expected "<?php" but found "%s"';
108 if (isset($error, $closer, $errorCode) === true) {
112 $phpcsFile->addError($error, $stackPtr, $errorCode, $data);
114 $fix = $phpcsFile->addFixableError($error, $stackPtr, $errorCode, $data);
125 …$error = 'ASP style opening tag used with echo; expected "<?php echo %s ..." but found "%s %s ..…
137 $phpcsFile->addError($error, $stackPtr, 'ASPShortOpenTagFound', $data);
139 … $fix = $phpcsFile->addFixableError($error, $stackPtr, 'ASPShortOpenTagFound', $data);
153 $error = 'Script style opening tag used; expected "<?php" but found "%s"';
157 $phpcsFile->addError($error, $stackPtr, 'ScriptOpenTagFound', $data);
163 $error = 'Possible use of ASP style short opening tags detected; found: %s';
167 $phpcsFile->addWarning($error, $stackPtr, 'MaybeASPShortOpenTagFound', $data);
169 $error = 'Possible use of ASP style opening tags detected; found: %s';
173 $phpcsFile->addWarning($error, $stackPtr, 'MaybeASPOpenTagFound', $data);