Lines Matching refs:error

101                 $error = 'Empty embedded PHP tag found';
102 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'Empty');
117 $error = 'Opening PHP tag must be on a line by itself';
118 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'ContentAfterOpen');
140 $error = 'Blank line found at start of embedded PHP content';
141 $fix = $phpcsFile->addFixableError($error, $i, 'SpacingBefore');
168 $error = 'First line of embedded PHP code must be indented %s spaces; %s found';
173 $fix = $phpcsFile->addFixableError($error, $firstContent, 'Indent', $data);
190 $error = 'Opening PHP tag must be on a line by itself';
191 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'ContentBeforeOpen');
226 … $error = 'Opening PHP tag indent incorrect; expected no more than %s spaces but found %s';
231 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'OpenTagIndent', $data);
246 $error = 'Closing PHP tag must be on a line by itself';
247 $fix = $phpcsFile->addFixableError($error, $closingTag, 'ContentBeforeEnd');
256 $error = 'Closing PHP tag must be on a line by itself';
257 $fix = $phpcsFile->addFixableError($error, $closingTag, 'ContentAfterEnd');
283 $error = 'Blank line found at end of embedded PHP content';
284 $fix = $phpcsFile->addFixableError($error, $i, 'SpacingAfter');
328 $error = 'Empty embedded PHP tag found';
329 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'Empty');
349 $error = 'Expected 1 space after opening PHP tag; %s found';
351 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingAfterOpen', $data);
364 $error = 'Inline PHP statement must end with a semicolon';
365 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'NoSemicolon');
378 $error = 'Inline PHP statement must contain a single statement; %s found';
380 $phpcsFile->addError($error, $stackPtr, 'MultipleStatements', $data);
390 $error = 'Expected 1 space before closing PHP tag; %s found';
392 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingBeforeClose', $data);