Lines Matching refs:error

104 …$error = 'Method name "%s" is invalid; only PHP magic methods should be prefixed with a double und…
105 $phpcsFile->addError($error, $stackPtr, 'MethodDoubleUnderscore', $errorData);
134 $error = 'Private method name "%s" must be prefixed with an underscore';
135 $phpcsFile->addError($error, $stackPtr, 'PrivateNoUnderscore', $errorData);
145 $error = '%s method name "%s" must not be prefixed with an underscore';
150 $phpcsFile->addError($error, $stackPtr, 'PublicUnderscore', $data);
166 $error = '%s method name "%s" is not in camel caps format';
171 $phpcsFile->addError($error, $stackPtr, 'ScopeNotCamelCaps', $data);
173 $error = 'Method name "%s" is not in camel caps format';
174 $phpcsFile->addError($error, $stackPtr, 'NotCamelCaps', $errorData);
211 …$error = 'Function name "%s" is invalid; only PHP magic methods should be prefixed with a double u…
212 $phpcsFile->addError($error, $stackPtr, 'FunctionDoubleUnderscore', $errorData);
236 …$error = 'Function name "%s" is invalid; only private methods should be prefixed with an underscor…
237 $phpcsFile->addError($error, $stackPtr, 'FunctionUnderscore', $errorData);
242 …$error = 'Function name "%s" is prefixed with a package name but does not begin with a capital let…
243 $phpcsFile->addError($error, $stackPtr, 'FunctionNoCapital', $errorData);
250 $error = 'Function name "%s" is not valid; name appears incomplete';
251 $phpcsFile->addError($error, $stackPtr, 'FunctionInvalid', $errorData);
289 $error = 'Function name "%s" is invalid; consider "%s" instead';
292 $phpcsFile->addError($error, $stackPtr, 'FunctionNameInvalid', $data);