Home
last modified time | relevance | path

Searched refs:error (Results 1476 – 1500 of 1814) sorted by last modified time

1...<<51525354555657585960>>...73

/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/
H A DAbstractVariableSniff.php17 $error = 'Class PHP_CodeSniffer_Standards_AbstractScopeSniff not found'; variable
18 throw new PHP_CodeSniffer_Exception($error);
131 $error = 'Possible parse error: non-abstract method defined as abstract';
132 $phpcsFile->addWarning($error, $stackPtr);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Arrays/
H A DDisallowLongArraySyntaxSniff.php55 $error = 'Short array syntax must be used to define arrays';
56 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'Found');
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Classes/
H A DOpeningBraceSameLineSniff.php69 $error = 'Possible parse error: %s missing opening or closing brace';
70 $phpcsFile->addWarning($error, $stackPtr, 'MissingBrace', $errorData);
84 $error = 'Opening brace should be on the same line as the declaration for %s';
85 … $fix = $phpcsFile->addFixableError($error, $openingBrace, 'BraceOnNewLine', $errorData);
104 $error = 'Opening brace must be the last content on the line';
105 $fix = $phpcsFile->addFixableError($error, $openingBrace, 'ContentAfterBrace');
126 $error = 'Expected 1 space before opening brace; found %s';
128 $fix = $phpcsFile->addFixableError($error, $openingBrace, 'SpaceBeforeBrace', $data);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/CodeAnalysis/
H A DEmptyStatementSniff.php100 $error = 'Empty %s statement detected';
101 $phpcsFile->addError($error, $stackPtr, 'Detected'.$name, array($name));
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Commenting/
H A DDocCommentSniff.php75 $error = 'Doc comment is empty';
76 $phpcsFile->addError($error, $stackPtr, 'Empty');
104 $error = 'Additional blank lines found at end of doc comment';
122 $error = 'Missing short description in doc comment';
123 $phpcsFile->addError($error, $stackPtr, 'MissingShort');
129 $error = 'Doc comment short description must be on the first line';
164 $phpcsFile->addError($error, $short, 'ShortNotCapital');
190 $phpcsFile->addError($error, $long, 'LongNotCapital');
250 $phpcsFile->addError($error, $tag, 'ParamGroup');
258 $phpcsFile->addError($error, $tag, 'NonParamGroup');
[all …]
H A DTodoSniff.php76 $error = 'Comment refers to a TODO task';
80 $error .= ' "%s"';
83 $phpcsFile->addWarning($error, $stackPtr, $type, $data);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Debug/
H A DESLintSniff.php107 foreach ($messages as $error) {
108 if (empty($error->fatal) === false || $error->severity === 2) {
109 $phpcsFile->addErrorOnLine($error->message, $error->line, $error->ruleId);
111 $phpcsFile->addWarningOnLine($error->message, $error->line, $error->ruleId);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Files/
H A DInlineHTMLSniff.php62 $error = 'PHP files must only contain PHP code';
63 $phpcsFile->addError($error, $stackPtr, 'Found');
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Functions/
H A DOpeningFunctionBraceKernighanRitchieSniff.php107 $error = 'Opening brace should be on the same line as the declaration';
108 $fix = $phpcsFile->addFixableError($error, $openingBrace, 'BraceOnNewLine');
144 $error = 'Opening brace must be the last content on the line';
145 $fix = $phpcsFile->addFixableError($error, $openingBrace, 'ContentAfterBrace');
165 $error = 'Expected 1 space before opening brace; found %s';
167 $fix = $phpcsFile->addFixableError($error, $closeBracket, 'SpaceBeforeBrace', $data);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Metrics/
H A DCyclomaticComplexitySniff.php109 $error = 'Function\'s cyclomatic complexity (%s) exceeds allowed maximum of %s';
114 $phpcsFile->addError($error, $stackPtr, 'MaxExceeded', $data);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/NamingConventions/
H A DUpperCaseConstantNameSniff.php115 $error = 'Class constants must be uppercase; expected %s but found %s';
120 $phpcsFile->addError($error, $stackPtr, 'ClassConstantNotUpperCase', $data);
174 $error = 'Constants must be uppercase; expected %s but found %s';
179 $phpcsFile->addError($error, $stackPtr, 'ConstantNotUpperCase', $data);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/PHP/
H A DBacktickOperatorSniff.php57 $error = 'Use of the backtick operator is forbidden';
58 $phpcsFile->addError($error, $stackPtr, 'Found');
H A DDeprecatedFunctionsSniff.php83 $error = 'Function %s() has been deprecated';
86 if ($this->error === true) {
87 $phpcsFile->addError($error, $stackPtr, $type, $data);
89 $phpcsFile->addWarning($error, $stackPtr, $type, $data);
H A DUpperCaseConstantSniff.php71 $error = 'TRUE, FALSE and NULL must be uppercase; expected "%s" but found "%s"';
77 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'Found', $data);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/VersionControl/
H A DSubversionPropertiesSniff.php90 $error = 'Unexpected Subversion property "%s" = "%s"';
95 $phpcsFile->addError($error, $stackPtr, 'Unexpected', $data);
102 $error = 'Missing Subversion property "%s" = "%s"';
107 $phpcsFile->addError($error, $stackPtr, 'Missing', $data);
114 $error = 'Subversion property "%s" = "%s" does not match "%s"';
120 $phpcsFile->addError($error, $stackPtr, 'NoMatch', $data);
153 $error = 'Error opening file; could not get Subversion properties';
154 throw new PHP_CodeSniffer_Exception($error);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/WhiteSpace/
H A DDisallowSpaceIndentSniff.php168 $error = 'Tabs must be used to indent lines; spaces are not allowed';
169 $fix = $phpcsFile->addFixableError($error, $i, 'SpacesUsed');
H A DDisallowTabIndentSniff.php69 $error = 'Spaces must be used to indent lines; tabs are not allowed';
120 $error = 'Spaces must be used for alignment; tabs are not allowed';
129 $fix = $phpcsFile->addFixableError($error, $i, $errorCode);
H A DScopeIndentSniff.php839 $error = 'Line indented incorrectly; expected ';
841 $error .= 'at least ';
846 $error .= '%s tabs, found %s';
852 $error .= '%s spaces, found %s';
861 $message = vsprintf($error, $data);
865 $fix = $phpcsFile->addFixableError($error, $checkToken, $type, $data);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/MySource/Sniffs/Channels/
H A DDisallowSelfActionsSniff.php123 …$error = "Static calls to public methods in Action classes must not use the $type keyword; use %s:…
128 $phpcsFile->addError($error, $token, 'Found'.ucfirst($funcData['type']), $data);
H A DIncludeOwnSystemSniff.php80 $error = "You do not need to include \"%s\" from within the system's own actions file";
82 $phpcsFile->addError($error, $stackPtr, 'NotRequired', $data);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/NamingConventions/
H A DValidFunctionNameSniff.php134 $error = 'Private method name "%s" must be prefixed with an underscore';
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);
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';
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/WhiteSpace/
H A DObjectOperatorIndentSniff.php145 … $error = 'Object operator not indented correctly; expected %s spaces but found %s';
151 $fix = $phpcsFile->addFixableError($error, $next, 'Incorrect', $data);
166 $error = 'Object operator must be at the start of the line, not the end';
167 $fix = $phpcsFile->addFixableError($error, $next, 'StartOfLine');
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR1/Sniffs/Files/
H A DSideEffectsSniff.php60 …$error = 'A file should declare new symbols (classes, functions, constants, etc.) and cause no oth…
65 $phpcsFile->addWarning($error, 0, 'FoundWithSymbols', $data);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/Methods/
H A DMethodDeclarationSniff.php66 … $error = 'Method name "%s" should not be prefixed with an underscore to indicate visibility';
68 $phpcsFile->addWarning($error, $stackPtr, 'Underscore', $data);
101 $error = 'The final declaration must precede the visibility declaration';
102 $fix = $phpcsFile->addFixableError($error, $final, 'FinalAfterVisibility');
115 $error = 'The abstract declaration must precede the visibility declaration';
116 $fix = $phpcsFile->addFixableError($error, $abstract, 'AbstractAfterVisibility');
129 $error = 'The static declaration must come after the visibility declaration';
130 $fix = $phpcsFile->addFixableError($error, $static, 'StaticBeforeVisibility');
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/Namespaces/
H A DNamespaceDeclarationSniff.php81 $error = 'There must be one blank line after the namespace declaration';
82 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'BlankLineAfter');

1...<<51525354555657585960>>...73