Home
last modified time | relevance | path

Searched refs:error (Results 1501 – 1525 of 1814) sorted by last modified time

1...<<61626364656667686970>>...73

/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/Namespaces/
H A DUseDeclarationSniff.php63 $error = 'There must be a single space after the USE keyword';
64 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpaceAfterUse');
73 $error = 'There must be one USE keyword per declaration';
74 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'MultipleDeclarations');
131 $error = 'USE declarations must go after the first namespace declaration';
132 $phpcsFile->addError($error, $stackPtr, 'UseAfterNamespace');
162 $error = 'There must be one blank line after the last USE statement; %s found;';
164 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpaceAfterLastUse', $data);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Commenting/
H A DClassCommentSniff.php82 $error = 'There must be no blank lines after the class comment';
83 $phpcsFile->addError($error, $commentEnd, 'SpacingAfter');
88 $error = '%s tag is not allowed in class comment';
90 $phpcsFile->addWarning($error, $tag, 'TagNotAllowed', $data);
H A DClosingDeclarationCommentSniff.php83 $error = 'Possible parse error: non-abstract method defined as abstract';
84 $phpcsFile->addWarning($error, $stackPtr, 'Abstract');
97 $error = 'Possible parse error: %s missing opening or closing brace';
99 $phpcsFile->addWarning($error, $stackPtr, 'MissingBrace', $data);
H A DDocCommentAlignmentSniff.php121 $error = 'Expected %s space(s) before asterisk; %s found';
126 $fix = $phpcsFile->addFixableError($error, $i, 'SpaceBeforeStar', $data);
147 $error = 'Expected 1 space after asterisk; 0 found';
148 $fix = $phpcsFile->addFixableError($error, $i, 'NoSpaceAfterStar');
155 $error = 'Expected 1 space after asterisk; %s found';
157 $fix = $phpcsFile->addFixableError($error, $i, 'SpaceAfterStar', $data);
H A DFunctionCommentThrowTagSniff.php19 $error = 'Class PHP_CodeSniffer_Standards_AbstractScopeSniff not found'; variable
20 throw new PHP_CodeSniffer_Exception($error);
230 $error = 'Missing @throws tag in function comment';
231 $phpcsFile->addError($error, $commentEnd, 'Missing');
244 $error = 'Expected %s @throws tag(s) in function comment; %s found';
249 $phpcsFile->addError($error, $commentEnd, 'WrongNumber', $data);
255 $error = 'Missing @throws tag for "%s" exception';
257 $phpcsFile->addError($error, $commentEnd, 'Missing', $data);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Files/
H A DFileExtensionSniff.php65 $error = '%s found in ".php" file; use ".inc" extension instead';
67 $phpcsFile->addError($error, $stackPtr, 'ClassFound', $data);
72 $error = 'No interface or class found in ".inc" file; use ".php" extension instead';
73 $phpcsFile->addError($error, $stackPtr, 'NoClass');
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Functions/
H A DFunctionDeclarationArgumentSpacingSniff.php148 … $fix = $phpcsFile->addFixableError($error, $nextToken, 'SpaceBeforeEquals', $data);
188 $error = 'Expected 0 spaces between argument "%s" and comma; %s found';
194 … $fix = $phpcsFile->addFixableError($error, $nextToken, 'SpaceBeforeComma', $data);
237 $error = 'Expected 1 space between type hint and argument "%s"; %s found';
254 $error = 'Expected 1 space between comma and type hint "%s"; 0 found';
278 $error = 'Expected 1 space between comma and argument "%s"; 0 found';
287 $error = 'Expected 1 space between comma and argument "%s"; %s found';
321 $error = 'Expected 1 space between type hint and argument "%s"; %s found';
388 $error = 'Expected 0 spaces between brackets of function declaration; %s found';
390 $fix = $phpcsFile->addFixableError($error, $openBracket, 'SpacingBetween', $data);
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Objects/
H A DObjectMemberCommaSniff.php66 $error = 'Last member of object must not be followed by a comma';
67 $fix = $phpcsFile->addFixableError($error, $prev, 'Missing');
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/PHP/
H A DCommentedOutCodeSniff.php229 $error = 'This comment is %s%% valid code; is this commented out code?';
231 $phpcsFile->addWarning($error, $stackPtr, 'Found', $data);
H A DDiscouragedFunctionsSniff.php54 public $error = false; variable in Squiz_Sniffs_PHP_DiscouragedFunctionsSniff
H A DEmbeddedPhpSniff.php101 $error = 'Empty embedded PHP tag found';
117 $error = 'Opening PHP tag must be on a line by itself';
190 $error = 'Opening PHP tag must be on a line by itself';
246 $error = 'Closing PHP tag must be on a line by itself';
256 $error = 'Closing PHP tag must be on a line by itself';
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';
349 $error = 'Expected 1 space after opening PHP tag; %s found';
364 $error = 'Inline PHP statement must end with a semicolon';
[all …]
H A DLowercasePHPFunctionsSniff.php125 … $error = 'Calls to inbuilt PHP functions must be lowercase; expected "%s" but found "%s"';
131 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'CallUppercase', $data);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Scope/
H A DMemberVarScopeSniff.php59 $error = 'Scope modifier not specified for member variable "%s"';
61 $phpcsFile->addError($error, $stackPtr, 'Missing', $data);
H A DStaticThisUsageSniff.php87 $error = 'Usage of "$this" in static methods will cause runtime errors';
88 $phpcsFile->addError($error, $thisUsage, 'Found');
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Strings/
H A DEchoedStringsSniff.php86 $error = 'Echoed strings should not be bracketed';
87 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'HasBracket');
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/WhiteSpace/
H A DCastSpacingSniff.php64 $error = 'Cast statements must not contain whitespace; expected "%s" but found "%s"';
70 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'ContainsWhiteSpace', $data);
H A DFunctionClosingBraceSpaceSniff.php85 …$error = 'The opening and closing braces of empty functions must be directly next to each other; e…
86 $fix = $phpcsFile->addFixableError($error, $closeBrace, 'SpacingBetween');
116 $error = 'Closing brace of nested function must be on a new line';
117 $fix = $phpcsFile->addFixableError($error, $closeBrace, 'ContentBeforeClose');
122 $error = 'Expected 0 blank lines before closing brace of nested function; %s found';
124 … $fix = $phpcsFile->addFixableError($error, $closeBrace, 'SpacingBeforeNestedClose', $data);
154 $error = 'Expected 1 blank line before closing function brace; %s found';
156 … $fix = $phpcsFile->addFixableError($error, $closeBrace, 'SpacingBeforeClose', $data);
H A DMemberVarSpacingSniff.php61 $error = 'Expected 0 blank lines after member var comment; %s found';
63 $fix = $phpcsFile->addFixableError($error, $prev, 'AfterComment', $data);
109 $error = 'Expected 1 blank line before member var; %s found';
111 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'Incorrect', $data);
H A DScopeClosingBraceSniff.php78 $error = 'Closing brace must be on a line by itself';
79 $fix = $phpcsFile->addFixableError($error, $scopeEnd, 'ContentBefore');
94 $error = 'Closing brace indented incorrectly; expected %s spaces, found %s';
100 $fix = $phpcsFile->addFixableError($error, $scopeEnd, 'Indent', $data);
H A DScopeKeywordSpacingSniff.php81 $error = 'Scope keyword "%s" must be followed by a single space';
83 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'Incorrect', $data);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Reports/
H A DVersionControl.php104 foreach ($colErrors as $error) {
108 $source = $error['source'];
112 'fixable' => $error['fixable'],
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/
H A DAbstractPatternSniff.php18 throw new PHP_CodeSniffer_Exception($error);
185 $error = 'Could not determine a token to listen for';
186 throw new PHP_CodeSniffer_Exception($error);
245 foreach ($errors as $stackPtr => $error) {
248 $allErrors[$stackPtr] = $error;
253 foreach ($allErrors as $stackPtr => $error) {
254 $phpcsFile->addError($error, $stackPtr, 'Found');
708 $error = $this->prepareError($found, $patternCode);
709 $errors[$origStackPtr] = $error;
734 $error = "Expected \"$expected\"; found \"$found\"";
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Functions/
H A DOpeningFunctionBraceBsdAllmanSniff.php105 $error = 'Opening brace should be on a new line';
106 $fix = $phpcsFile->addFixableError($error, $openingBrace, 'BraceOnSameLine');
120 … $error = 'Opening brace should be on the line after the declaration; found %s blank line(s)';
122 $fix = $phpcsFile->addFixableError($error, $openingBrace, 'BraceSpacing', $data);
142 $error = 'Opening brace must be the last content on the line';
143 $fix = $phpcsFile->addFixableError($error, $openingBrace, 'ContentAfterBrace');
169 $error = 'Opening brace indented incorrectly; expected %s spaces, found %s';
175 $fix = $phpcsFile->addFixableError($error, $openingBrace, 'BraceIndent', $data);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/NamingConventions/
H A DCamelCapsFunctionNameSniff.php134 …$error = 'Method name "%s" is invalid; only PHP magic methods should be prefixed with a double und…
135 $phpcsFile->addError($error, $stackPtr, 'MethodDoubleUnderscore', $errorData);
157 $error = '%s method name "%s" is not in camel caps format';
162 $phpcsFile->addError($error, $stackPtr, 'ScopeNotCamelCaps', $data);
164 $error = 'Method name "%s" is not in camel caps format';
165 $phpcsFile->addError($error, $stackPtr, 'NotCamelCaps', $errorData);
200 …$error = 'Function name "%s" is invalid; only PHP magic methods should be prefixed with a double u…
201 $phpcsFile->addError($error, $stackPtr, 'FunctionDoubleUnderscore', $errorData);
211 $error = 'Function name "%s" is not in camel caps format';
212 $phpcsFile->addError($error, $stackPtr, 'NotCamelCaps', $errorData);
H A DConstructorNameSniff.php17 $error = 'Class PHP_CodeSniffer_Standards_AbstractScopeSniff not found'; variable
18 throw new PHP_CodeSniffer_Exception($error);
87 $error = 'PHP4 style constructors are not allowed; use "__construct()" instead';
88 $phpcsFile->addError($error, $stackPtr, 'OldStyle');
113 …$error = 'PHP4 style calls to parent constructors are not allowed; use "parent::__construct()" ins…
114 $phpcsFile->addError($error, ($doubleColonIndex + 1), 'OldStyleCall');

1...<<61626364656667686970>>...73