Home
last modified time | relevance | path

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

12345678910>>...83

/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Reports/
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) {
76 $messages .= '{"message":"'.$error['message'].'",';
77 $messages .= '"source":"'.$error['source'].'",';
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/ControlStructures/
DForEachLoopDeclarationSniff.php78 $error = 'Possible parse error: FOREACH has no opening parenthesis';
79 $phpcsFile->addWarning($error, $stackPtr, 'MissingOpenParenthesis');
84 $error = 'Possible parse error: FOREACH has no closing parenthesis';
85 $phpcsFile->addWarning($error, $stackPtr, 'MissingCloseParenthesis');
92 $error = 'Space found after opening bracket of FOREACH loop';
93 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpaceAfterOpen');
104 $error = 'Expected %s spaces after opening bracket; %s found';
109 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingAfterOpen', $data);
122 $error = 'Space found before closing bracket of FOREACH loop';
123 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpaceBeforeClose');
[all …]
DSwitchDeclarationSniff.php107 … $error = strtoupper($type).' keyword must be lowercase; expected "%s" but found "%s"';
113 $fix = $phpcsFile->addFixableError($error, $nextCase, $type.'NotLower', $data);
120 …$error = strtoupper($type).' keyword must be indented '.$this->indent.' spaces from SWITCH keyword…
121 $fix = $phpcsFile->addFixableError($error, $nextCase, $type.'Indent');
139 $error = 'CASE keyword must be followed by a single space';
140 $fix = $phpcsFile->addFixableError($error, $nextCase, 'SpacingAfterCase');
151 $error = 'Possible parse error: CASE missing opening colon';
152 $phpcsFile->addWarning($error, $nextCase, 'MissingColon');
158 … $error = 'There must be no space before the colon in a '.strtoupper($type).' statement';
159 $fix = $phpcsFile->addFixableError($error, $nextCase, 'SpaceBeforeColon'.$type);
[all …]
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';
112 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingAfterOpen', $data);
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';
142 … $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingBeforeClose', $data);
[all …]
/plugin/zip/pear/File/Archive/
DReader.php66 $error = $this->close();
67 if (PEAR::isError($error)) {
68 return $error;
71 while (($error = $this->next()) === true) {
85 return $error;
134 while ( ($error = $this->next()) === true) {
138 if (PEAR::isError($error)) {
139 return $error;
250 $error = $writer->writeFile($filename);
251 if (PEAR::isError($error)) {
[all …]
/plugin/diagramsnet/lib/js/diagramly/
DDriveFile.js47 return err != null && err.error != null && err.error.code == 412;
148 DriveFile.prototype.save = function(revision, success, error, unloading, overwrite) argument
152 this.saveFile(null, revision, success, error, unloading, overwrite); argument
153 }), error, unloading, overwrite]);
162 DriveFile.prototype.saveFile = function(title, revision, success, error, unloading, overwrite) argument
224 }), error, token);
231 else if (error != null)
233 error(resp);
240 if (error != null)
242 error(e);
[all …]
DDropboxClient.js66 DropboxClient.prototype.updateUser = function(success, error, failOnAuth) argument
73 error({code: App.ERROR_TIMEOUT});
103 this.updateUser(success, error, true);
104 }), error);
108 error({message: mxResources.get('accessDenied')});
117 DropboxClient.prototype.authenticate = function(success, error) argument
125 this.authenticateStep2(req.getText(), success, error);
127 else if (error != null)
129 error(req);
131 }), error);
[all …]
DStorageFile.js96 StorageFile.prototype.save = function(revision, success, error) argument
98 this.saveAs(this.getTitle(), success, error);
107 StorageFile.prototype.saveAs = function(title, success, error) argument
110 this.saveFile(title, false, success, error);
119 StorageFile.insertFile = function(ui, title, data, success, error) argument
131 }, error);
136 ui.confirm(mxResources.get('replaceIt', [title]), fn, error);
159 StorageFile.getFileContent = function(ui, title, success, error) argument
171 else if (error != null)
173 error();
[all …]
DOneDriveFile.js219 OneDriveFile.prototype.loadDescriptor = function(success, error) argument
227 else if (error != null)
229 error();
231 }), error);
237 OneDriveFile.prototype.getLatestVersion = function(success, error) argument
239 this.ui.oneDrive.getFile(this.getId(), success, error);
277 OneDriveFile.prototype.loadPatchDescriptor = function(success, error) argument
289 error(this.ui.oneDrive.parseRequestText(req));
291 }), error)
324 OneDriveFile.prototype.save = function(revision, success, error, unloading, overwrite) argument
[all …]
DDropboxFile.js97 DropboxFile.prototype.getRevisions = function(success, error) argument
129 error(e);
136 error(err);
143 DropboxFile.prototype.getLatestVersion = function(success, error) argument
145 this.ui.dropbox.getFile(this.getId(), success, error);
162 DropboxFile.prototype.save = function(revision, success, error, unloading, overwrite) argument
164 this.doSave(this.getTitle(), revision, success, error, unloading, overwrite);
173 DropboxFile.prototype.saveAs = function(title, success, error) argument
175 this.doSave(title, false, success, error);
184 DropboxFile.prototype.doSave = function(title, revision, success, error, unloading, overwrite) argument
[all …]
DTrelloFile.js67 TrelloFile.prototype.save = function(revision, success, error) argument
69 this.doSave(this.getTitle(), success, error);
75 TrelloFile.prototype.saveAs = function(title, success, error) argument
77 this.doSave(title, success, error);
83 TrelloFile.prototype.doSave = function(title, success, error) argument
92 this.saveFile(title, false, success, error); argument
93 }), error]); argument
99 TrelloFile.prototype.saveFile = function(title, revision, success, error) argument
133 this.saveFile(title, revision, success, error);
140 if (error != null)
[all …]
DGitHubFile.js128 GitHubFile.prototype.getLatestVersion = function(success, error) argument
130 this.peer.getFile(this.getId(), success, error);
182 GitHubFile.prototype.save = function(revision, success, error, unloading, overwrite, message) argument
184 this.doSave(this.getTitle(), success, error, unloading, overwrite, message);
193 GitHubFile.prototype.saveAs = function(title, success, error) argument
195 this.doSave(title, success, error);
204 GitHubFile.prototype.doSave = function(title, success, error, unloading, overwrite, message) argument
213 this.saveFile(title, false, success, error, unloading, overwrite, message); argument
214 }), error, unloading, overwrite]);
223 GitHubFile.prototype.saveFile = function(title, revision, success, error, unloading, overwrite, mes… argument
[all …]
DNotionFile.js84 NotionFile.prototype.save = function(revision, success, error, unloading, overwrite) argument
86 this.doSave(this.getTitle(), success, error, unloading, overwrite);
92 NotionFile.prototype.saveAs = function(title, success, error) argument
94 this.doSave(title, success, error);
100 NotionFile.prototype.doSave = function(title, success, error, unloading, overwrite) argument
109 this.saveFile(title, false, success, error, unloading, overwrite); argument
110 }), error, unloading, overwrite]);
116 NotionFile.prototype.saveFile = function(title, revision, success, error, unloading, overwrite) argument
153 if (error != null)
155 error(err);
[all …]
/plugin/passpolicy/_test/
DHelperTest.php64 …s->assertTrue($policy->checkPolicy('tested', 'tested'), '1 pool, no user check ' . $policy->error);
66 '1 pool, no user check, but too short ' . $policy->error);
67 $this->assertEquals(\helper_plugin_passpolicy::LENGTH_VIOLATION, $policy->error);
68 …assertTrue($policy->checkPolicy('tested99!', 'tested'), '1 pool, no user check ' . $policy->error);
71 …>assertFalse($policy->checkPolicy('tested', 'tested'), '3 pools, no user check ' . $policy->error);
72 $this->assertEquals(\helper_plugin_passpolicy::POOL_VIOLATION, $policy->error);
73 …ssertTrue($policy->checkPolicy('tested99!', 'tested'), '3 pools, no user check ' . $policy->error);
76 …his->assertFalse($policy->checkPolicy('tested', 'tested'), '1 pool, user check ' . $policy->error);
77 $this->assertEquals(\helper_plugin_passpolicy::USERNAME_VIOLATION, $policy->error);
78 …->assertFalse($policy->checkPolicy('tested99!', 'tested'), '1 pool, user check ' . $policy->error);
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Commenting/
DFunctionCommentSniff.php65 $error = 'Only 1 @return tag is allowed in a function comment';
66 $phpcsFile->addError($error, $tag, 'DuplicateReturn');
81 $error = 'Return type missing for @return tag in function comment';
82 $phpcsFile->addError($error, $return, 'MissingReturnType');
104 $error = 'Expected "%s" but found "%s" for function return type';
109 $fix = $phpcsFile->addFixableError($error, $return, 'InvalidReturn', $data);
147 … $error = 'Function return type is void, but function contains return statement';
148 $phpcsFile->addError($error, $return, 'InvalidReturnVoid');
159 … $error = 'Function return type is not void, but function has no return statement';
160 $phpcsFile->addError($error, $return, 'InvalidNoReturn');
[all …]
DBlockCommentSniff.php111 $error = 'Block comments must be started with /*';
112 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'WrongStart');
119 $error = 'Block comments must be ended with */';
120 $fix = $phpcsFile->addFixableError($error, $end, 'WrongEnd');
157 $error = 'Empty block comment not allowed';
158 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'Empty');
174 … $error = 'Single line block comment not allowed; use inline ("// text") comment instead';
175 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SingleLine');
186 $error = 'Block comment text must start on a new line';
187 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'NoNewLine');
[all …]
/plugin/asciidocjs/node_modules/pug-error/
DREADME.md1 # pug-error
3 Standard error objects for pug. This module is intended for use by the lexer, parser, loader, link…
5 …Status](https://img.shields.io/travis/pugjs/pug-error/master.svg)](https://travis-ci.org/pugjs/pug…
6 …m.org/pugjs/pug/status.svg?path=packages/pug-error)](https://david-dm.org/pugjs/pug?path=packages/…
7 [![NPM version](https://img.shields.io/npm/v/pug-error.svg)](https://www.npmjs.org/package/pug-erro…
11 npm install pug-error
16 var error = require('pug-error');
19 ### `error(code, message, options)`
21 Create a Pug error object.
23 `code` is a required unique code for the error type that can be used to pinpoint a certain error.
[all …]
/plugin/yuriigantt/src/
DJsonRequest.php58 protected function checkCSRF(&$error) argument
61 $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);
113 $responseData = $this->error('Unknown action');
121 protected function validate(&$error) argument
124 $error = $this->error('no payload');
129 $error = $this->error('this action is not supported');
[all …]
/plugin/zip/pear/File/Archive/Writer/
DMemoryArchive.php85 $error = $this->sendHeader();
86 if (PEAR::isError($error)) {
87 return $error;
90 $error = $this->flush();
91 if (PEAR::isError($error)) {
92 return $error;
108 $error = $this->flush();
109 if (PEAR::isError($error)) {
110 return $error;
112 $error = $this->sendFooter();
[all …]
DMulti.php57 $error = $this->writers[$key]->newFile($filename, $stat, $mime);
58 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();
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Commenting/
DDocCommentSniff.php75 $error = 'Doc comment is empty';
76 $phpcsFile->addError($error, $stackPtr, 'Empty');
82 $error = 'The open comment tag must be the only content on the line';
83 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'ContentAfterOpen');
95 $error = 'The close comment tag must be the only content on the line';
96 $fix = $phpcsFile->addFixableError($error, $commentEnd, 'ContentBeforeClose');
104 $error = 'Additional blank lines found at end of doc comment';
105 $fix = $phpcsFile->addFixableError($error, $commentEnd, 'SpacingAfter');
122 $error = 'Missing short description in doc comment';
123 $phpcsFile->addError($error, $stackPtr, 'MissingShort');
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/NamingConventions/
DValidFunctionNameSniff.php104 …$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);
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Arrays/
DArrayDeclarationSniff.php71 $error = 'Array keyword should be lower case; expected "array" but found "%s"';
73 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'NotLowerCase', $data);
89 … $error = 'There must be no space between the "array" keyword and the opening parenthesis';
90 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpaceAfterKeyword');
112 $error = 'Empty array declaration must have no space between the parentheses';
113 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpaceInEmptyArray');
174 $error = 'Comma not allowed after last value in single-line array declaration';
175 $fix = $phpcsFile->addFixableError($error, $i, 'CommaAfterLast');
188 $error = 'Expected 1 space between "%s" and double arrow; 0 found';
190 … $fix = $phpcsFile->addFixableError($error, $nextArrow, 'NoSpaceBeforeDoubleArrow', $data);
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/Files/
DIncludingFileSniff.php68 $error = '"%s" is a statement not a function; no parentheses are required';
70 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'BracketsNotRequired', $data);
114 $error = 'File is being conditionally included; ';
115 $error .= 'use "include_once" instead';
116 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'UseIncludeOnce');
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';
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/Commenting/
DFunctionCommentSniff.php87 $error = 'There must be no blank lines after the function comment';
88 $phpcsFile->addError($error, $commentEnd, 'SpacingAfter');
97 $error = 'Content missing for @see tag in function comment';
98 $phpcsFile->addError($error, $tag, 'EmptySees');
132 $error = 'Only 1 @return tag is allowed in a function comment';
133 $phpcsFile->addError($error, $tag, 'DuplicateReturn');
148 $error = 'Return type missing for @return tag in function comment';
149 $phpcsFile->addError($error, $return, 'MissingReturnType');
152 $error = 'Missing @return tag in function comment';
153 $phpcsFile->addError($error, $tokens[$commentStart]['comment_closer'], 'MissingReturn');
[all …]

12345678910>>...83