Lines Matching refs:error
78 $error = 'Inline shorthand IF statement must be declared on a single line';
79 $phpcsFile->addError($error, $stackPtr, 'NotSingleLine');
87 $error = 'Inline shorthand IF statement requires brackets around comparison';
88 $phpcsFile->addError($error, $stackPtr, 'NoBrackets');
93 $error = 'Inline shorthand IF statement requires 1 space before THEN; %s found';
95 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingBeforeThen', $data);
113 …$error = 'Inline shorthand IF statement without THEN statement requires 0 spaces between THEN and …
114 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'ElvisSpacing');
122 $error = 'Inline shorthand IF statement requires 1 space after THEN; %s found';
124 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingAfterThen', $data);
137 $error = 'Inline shorthand IF statement requires 1 space before ELSE; %s found';
139 … $fix = $phpcsFile->addFixableError($error, $inlineElse, 'SpacingBeforeElse', $data);
153 $error = 'Inline shorthand IF statement requires 1 space after ELSE; %s found';
155 $fix = $phpcsFile->addFixableError($error, $inlineElse, 'SpacingAfterElse', $data);