Home
last modified time | relevance | path

Searched refs:error (Results 1 – 25 of 1231) sorted by relevance

12345678910>>...50

/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Reports/
H A DJson.php63 foreach ($colErrors as $error) {
64 $error['message'] = str_replace('\\', '\\\\', $error['message']);
65 $error['message'] = str_replace('"', '\"', $error['message']);
66 $error['message'] = str_replace('/', '\/', $error['message']);
67 $error['message'] = str_replace("\n", '\n', $error['message']);
68 $error['message'] = str_replace("\r", '\r', $error['message']);
69 $error['message'] = str_replace("\t", '\t', $error['message']);
72 if ($error['fixable'] === true) {
77 $messages .= '"source":"'.$error['source'].'",';
78 $messages .= '"severity":'.$error['severity'].',';
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/ControlStructures/
H A DForEachLoopDeclarationSniff.php92 $error = 'Space found after opening bracket of FOREACH loop';
153 $error = 'Possible parse error: FOREACH has no AS statement';
154 $phpcsFile->addWarning($error, $stackPtr, 'MissingAs');
177 $error = 'Expected 1 space before "=>"; 0 found';
185 $error = 'Expected 1 space before "=>"; %s found';
195 $error = 'Expected 1 space after "=>"; 0 found';
203 $error = 'Expected 1 space after "=>"; %s found';
214 $error = 'Expected 1 space before "as"; 0 found';
222 $error = 'Expected 1 space before "as"; %s found';
232 $error = 'Expected 1 space after "as"; 0 found';
[all …]
H A DSwitchDeclarationSniff.php139 $error = 'CASE keyword must be followed by a single space';
151 $error = 'Possible parse error: CASE missing opening colon';
152 $phpcsFile->addWarning($error, $nextCase, 'MissingColon');
274 $error = 'Empty CASE statements are not allowed';
275 $phpcsFile->addError($error, $nextCase, 'EmptyCase');
290 $error = 'Comment required for empty DEFAULT case';
296 $error = 'DEFAULT case must have a breaking statement';
297 $phpcsFile->addError($error, $nextCase, 'DefaultNoBreak');
302 $error = 'All SWITCH statements must contain a DEFAULT case';
303 $phpcsFile->addError($error, $stackPtr, 'MissingDefault');
[all …]
H A DForLoopDeclarationSniff.php87 $error = 'Possible parse error: no opening parenthesis for FOR keyword';
88 $phpcsFile->addWarning($error, $stackPtr, 'NoOpenBracket');
95 $error = 'Space found after opening bracket of FOR loop';
96 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingAfterOpen');
107 $error = 'Expected %s spaces after opening bracket; %s found';
125 $error = 'Space found before closing bracket of FOR loop';
126 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingBeforeClose');
137 $error = 'Expected %s spaces before closing bracket; %s found';
159 $error = 'Space found before first semicolon of FOR loop';
169 $error = 'Expected 1 space after first semicolon of FOR loop; 0 found';
[all …]
/plugin/zip/pear/File/Archive/
H A DReader.php66 $error = $this->close();
68 return $error;
85 return $error;
138 if (PEAR::isError($error)) {
139 return $error;
252 return $error;
261 return $error;
306 if (PEAR::isError($error)) {
307 return $error;
336 $result = $error;
[all …]
/plugin/passpolicy/_test/
H A Dhelper.test.php48 $this->assertEquals(helper_plugin_passpolicy::LENGTH_VIOLATION, $policy->error);
53 $this->assertEquals(helper_plugin_passpolicy::POOL_VIOLATION, $policy->error);
58 $this->assertEquals(helper_plugin_passpolicy::USERNAME_VIOLATION, $policy->error);
71 $this->assertEquals(helper_plugin_passpolicy::COMMON_VIOLATION, $policy->error);
81 $this->assertEquals(helper_plugin_passpolicy::LEAK_VIOLATION, $policy->error);
105 $this->assertEquals(helper_plugin_passpolicy::POOL_VIOLATION, $policy->error);
111 $this->assertEquals(helper_plugin_passpolicy::POOL_VIOLATION, $policy->error);
113 $this->assertEquals(helper_plugin_passpolicy::POOL_VIOLATION, $policy->error);
118 $this->assertEquals(helper_plugin_passpolicy::POOL_VIOLATION, $policy->error);
120 $this->assertEquals(helper_plugin_passpolicy::POOL_VIOLATION, $policy->error);
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Commenting/
H A DFunctionCommentSniff.php172 $error = 'Missing @return tag in function comment';
212 $phpcsFile->addError($error, $tag, 'InvalidThrows');
215 $phpcsFile->addError($error, $tag, 'EmptyThrows');
336 $error = 'Missing parameter comment';
341 $error = 'Missing parameter name';
345 $error = 'Missing parameter type';
416 $error = 'Type hint "%s" missing for %s';
517 $error .= 'case of ';
521 $error .= 'actual variable name %s';
527 $error = 'Superfluous parameter comment';
[all …]
H A DBlockCommentSniff.php111 $error = 'Block comments must be started with /*';
119 $error = 'Block comments must be ended with */';
157 $error = 'Empty block comment not allowed';
158 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'Empty');
186 $error = 'Block comment text must start on a new line';
214 $error = 'Empty line not allowed at start of comment';
252 $error = 'Block comments must start with a capital letter';
307 $error = 'Comment closer must be on a new line';
337 $error = 'Empty line not required before block comment';
342 $error = 'Empty line required before block comment';
[all …]
H A DVariableCommentSniff.php79 $phpcsFile->addError($error, $tag, 'DuplicateVar');
87 $error = 'Content missing for @see tag in member variable comment';
88 $phpcsFile->addError($error, $tag, 'EmptySees');
91 $error = '%s tag is not allowed in member variable comment';
93 $phpcsFile->addWarning($error, $tag, 'TagNotAllowed', $data);
99 $error = 'Missing @var tag in member variable comment';
100 $phpcsFile->addError($error, $commentEnd, 'MissingVar');
106 $error = 'The @var tag must be the first tag in a member variable comment';
107 $phpcsFile->addError($error, $foundVar, 'VarOrder');
113 $error = 'Content missing for @var tag in member variable comment';
[all …]
/plugin/yuriigantt/src/
H A DJsonRequest.php61 $error = $this->error("Invalid CSRF token {$this->csrf}");
71 if (!$this->checkCSRF($error)) {
72 return json_encode($error);
75 if (!$this->validate($error)) {
76 return json_encode($error);
124 $error = $this->error('no payload');
129 $error = $this->error('this action is not supported');
134 $error = $this->error('this action is not supported');
139 $error = $this->error('invalid pageId');
144 $error = $this->error('you don\'t have permissions');
[all …]
/plugin/zip/pear/File/Archive/Writer/
H A DMemoryArchive.php86 if (PEAR::isError($error)) {
87 return $error;
90 $error = $this->flush();
92 return $error;
108 $error = $this->flush();
109 if (PEAR::isError($error)) {
110 return $error;
112 $error = $this->sendFooter();
113 if (PEAR::isError($error)) {
114 return $error;
[all …]
H A DMulti.php58 if (PEAR::isError($error)) {
59 $globalError = $error;
86 $error = $this->writers[$key]->writeData($data);
87 if (PEAR::isError($error)) {
88 $globalError = $error;
103 $error = $this->writers[$key]->writeFile($filename);
104 if (PEAR::isError($error)) {
105 $globalError = $error;
120 $error = $this->writers[$key]->close();
121 if (PEAR::isError($error)) {
[all …]
/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 …]
/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/Squiz/Sniffs/Arrays/
H A DArrayDeclarationSniff.php175 $fix = $phpcsFile->addFixableError($error, $i, 'CommaAfterLast');
188 $error = 'Expected 1 space between "%s" and double arrow; 0 found';
213 $error = 'Expected 1 space between double arrow and "%s"; 0 found';
260 $error = 'Expected 1 space between comma and "%s"; 0 found';
430 $phpcsFile->addError($error, $nextToken, 'NoKeySpecified');
472 $error = 'Key specified for array entry; first entry has no key';
473 $phpcsFile->addError($error, $nextToken, 'KeySpecified');
580 $error = 'Comma required after last value in array declaration';
697 $error = 'Each index in a multi-line array must be on a new line';
828 $error = 'Each line in an array declaration must end in a comma';
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/Commenting/
H A DFunctionCommentSniff.php88 $phpcsFile->addError($error, $commentEnd, 'SpacingAfter');
98 $phpcsFile->addError($error, $tag, 'EmptySees');
152 $error = 'Missing @return tag in function comment';
192 $phpcsFile->addError($error, $tag, 'InvalidThrows');
266 $error = 'Missing parameter comment';
270 $error = 'Missing parameter name';
274 $error = 'Missing parameter type';
361 $error .= 'case of ';
365 $error .= 'actual variable name %s';
371 $error = 'Superfluous parameter comment';
[all …]
H A DFileCommentSniff.php140 $error = 'You must use "/**" style comments for a file comment';
141 $phpcsFile->addError($error, $errorToken, 'WrongStyle');
199 $error = 'PHP version not specified';
200 $phpcsFile->addWarning($error, $commentEnd, 'MissingVersion');
243 $error = 'Only one %s tag is allowed in a %s comment';
256 $error = 'Content missing for %s tag in %s comment';
271 $error = 'Missing %s tag in %s comment';
293 $error = 'The tag in position %s should be the %s tag';
380 $error = 'Package name "%s" is not valid';
473 $phpcsFile->addError($error, $tag, 'InvalidAuthors');
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/Files/
H A DIncludingFileSniff.php68 $error = '"%s" is a statement not a function; no parentheses are required';
114 $error = 'File is being conditionally included; ';
115 $error .= 'use "include_once" instead';
121 $error = 'File is being conditionally included; ';
122 $error .= 'use "include" instead';
123 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'UseInclude');
131 $error = 'File is being unconditionally included; ';
132 $error .= 'use "require_once" instead';
138 $error = 'File is being unconditionally included; ';
139 $error .= 'use "require" instead';
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/Classes/
H A DClassDeclarationSniff.php16 $error = 'Class PEAR_Sniffs_Classes_ClassDeclarationSniff not found'; variable
17 throw new PHP_CodeSniffer_Exception($error);
88 $error = 'Expected 1 space between %s and %s keywords; %s found';
138 $error = 'Expected 1 space between %s keyword and %s name; %s found';
156 $error = 'Expected 1 space after %s name; %s found';
320 $error = 'Expected %s spaces before interface name; %s found';
344 $error = 'Expected 1 space before "%s"; 0 found';
359 $error = 'Expected 1 space before "%s"; %s found';
381 $error = 'Expected 0 spaces between "%s" and comma; %s found';
447 $error = 'Closing %s brace must be on a line by itself';
[all …]
/plugin/zip/pear/File/Archive/Reader/
H A DUncompress.php169 if (!$error) {
178 } while (!$error);
218 $error = $this->next();
219 if ($error === false) {
222 return $error;
236 return $error;
280 return $error;
289 $error = $this->next();
291 return $error;
303 $error = $this->next();
[all …]
H A DFilter.php60 $error = $this->source->next();
61 if ($error !== true) {
62 return $error;
74 $error = $this->close();
75 if (PEAR::isError($error)) {
76 return $error;
81 $error = $this->source->select($filename, false);
82 if ($error !== true) {
83 return $error;
/plugin/elasticsearch/vendor/ruflin/elastica/lib/Elastica/Exception/
H A DElasticsearchException.php35 * @param string $error Error message from elasticsearch
37 public function __construct(int $code, string $error) argument
39 $this->_parseError($error);
40 parent::__construct($error, $code);
46 * @param string $error Error message
48 protected function _parseError(string $error) argument
50 $errors = \explode(']; nested: ', $error);
67 * @param string $error
71 protected function _extractException(string $error) argument
73 if (\preg_match('/^(\w+)\[.*\]/', $error, $matches)) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/CSS/
H A DOpacitySniff.php80 $error = 'Opacity values must be between 0 and 1';
81 $phpcsFile->addError($error, $next, 'Invalid');
85 $error = 'Opacity values must have a single value after the decimal point';
86 $phpcsFile->addError($error, $next, 'DecimalPrecision');
88 $error = 'Opacity value does not require decimal point; use %s instead';
90 $fix = $phpcsFile->addFixableError($error, $next, 'PointNotRequired', $data);
95 $error = 'Opacity values must not start with a decimal point; use 0%s instead';
97 $fix = $phpcsFile->addFixableError($error, $next, 'StartWithPoint', $data);
102 $error = 'Opacity values must be between 0 and 1';
103 $phpcsFile->addError($error, $next, 'Invalid');
/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/PHP/
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 …]

12345678910>>...50