| /plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/MySource/Sniffs/Objects/ |
| D | CreateWidgetTypeCallbackSniff.php | 10 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 21 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 60 $tokens = $phpcsFile->getTokens(); 62 $className = $phpcsFile->findPrevious(T_STRING, ($stackPtr - 1)); 63 if (substr(strtolower($tokens[$className]['content']), -10) !== 'widgettype') { 68 …$create = $phpcsFile->findNext(T_PROPERTY, $stackPtr, $tokens[$stackPtr]['bracket_closer'], null, … 73 $function = $phpcsFile->findNext(array(T_WHITESPACE, T_COLON), ($create + 1), null, true); 81 $end = ($tokens[$function]['scope_closer'] - 1); 84 …$arg = $phpcsFile->findNext(T_WHITESPACE, ($tokens[$function]['parenthesis_opener'] + 1), null, tr… 86 … $error = 'The first argument of the create() method of a widget type must be called "callback"'; [all …]
|
| /plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Arrays/ |
| D | ArrayDeclarationSniff.php | 11 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 23 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 58 $tokens = $phpcsFile->getTokens(); 61 $phpcsFile->recordMetric($stackPtr, 'Short array syntax used', 'no'); 66 $phpcsFile->recordMetric($stackPtr, 'Array keyword case', 'upper'); 68 $phpcsFile->recordMetric($stackPtr, 'Array keyword case', 'mixed'); 71 $error = 'Array keyword should be lower case; expected "array" but found "%s"'; 73 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'NotLowerCase', $data); 75 $phpcsFile->fixer->replaceToken($stackPtr, 'array'); 78 $phpcsFile->recordMetric($stackPtr, 'Array keyword case', 'lower'); [all …]
|
| /plugin/move/script/ |
| D | progress.js | 12 * Set visibility of buttons according to current error state 17 $this.find('.ctlfrm-start').addClass('hide'); 20 $this.find('.ctlfrm-skip').removeClass('hide'); 21 $this.find('.ctlfrm-retry').removeClass('hide'); 22 $this.find('.ctlfrm-continue').addClass('hide'); 24 $this.find('.ctlfrm-skip').addClass('hide'); 25 $this.find('.ctlfrm-retry').addClass('hide'); 26 $this.find('.ctlfrm-continue').addClass('hide'); 33 * @param {bool} skip should an error be skipped? 36 // clear error output [all …]
|
| D | MoveMediaManager.js | 3 * Based on the implementation in diagrams plugin 27 if (mutation.type !== 'childList') continue; 30 if (mutation.target.classList.contains('file') === false) continue; 32 if (!link) continue; 35 if (actionList.querySelector('button.move-btn')) continue; // already added 38 if (deleteButton === null) continue; // no delete permissions 43 moveButton.classList.add('move-btn'); 94 errorContainer.className = 'move-error'; 99 original.name = 'move-old-filename'; 111 fileExt.name = 'move-file-ext'; [all …]
|
| /plugin/combo/ComboStrap/ |
| H A D | PageExplorerTag.php | 13 public const FOLDER_ICON = "images:page-explorer-folder"; 17 public const CANONICAL = "page-explorer"; 19 public const PAGE_ATTRIBUTES = "page-attributes"; 20 public const INDEX_INSTRUCTIONS = "index-instructions"; 21 public const NAMESPACE_ATTRIBUTES = "namespace-attributes"; 23 public const PAGE_INSTRUCTIONS = "page-instructions"; 24 public const PARENT_ATTRIBUTES = "parent-attributes"; 25 public const INDEX_ATTRIBUTES = "index-attributes"; 26 public const NAMESPACE_INSTRUCTIONS = "namespace-instructions"; 28 * Tag in Dokuwiki cannot have a `-` [all …]
|
| H A D | GridTag.php | 13 * * the children may create may be layout on more than one line 15 …* * even if this is a layout component that works only on one axis and not two. There is little … 36 public const HTML_TAG_ATT = "html-tag"; 42 …* @deprecated - contained/fit type was the same and has been deprecated for the {@link Align} attr… 59 public const MAX_CHILDREN_ATTRIBUTE = "max-line"; 65 public const TYPE_WIDTH_SPECIFIED = "width-specified"; 86 $parent = $callStack->moveToParent(); 97 && !in_array($parent->getTagName(), [ 110 …LogUtility::warning("A non-contained row has been deprecated for grid. You should rename the row t… 119 * On a two cell grid, the content will not [all …]
|
| /plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Functions/ |
| D | MultiLineFunctionDeclarationSniff.php | 10 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 16 $error = 'Class PEAR_Sniffs_Functions_FunctionDeclarationSniff not found'; variable 17 throw new PHP_CodeSniffer_Exception($error); 23 * Ensure single and multi-line function declarations are defined correctly. 28 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 48 * Determine if this is a multi-line function declaration. 64 // Closures may use the USE keyword and so be multi-line in this way. 66 …$use = $phpcsFile->findNext(T_USE, ($tokens[$openBracket]['parenthesis_closer'] + 1), $tokens[$sta… 68 $open = $phpcsFile->findNext(T_OPEN_PARENTHESIS, ($use + 1)); 76 // If the first argument is on a new line, this is a multi-line [all …]
|
| /plugin/confmanager/lang/en/ |
| D | lang.php | 10 …ation File Manager allows you to edit various configuration files from DokuWiki and its plug-ins.'; 13 $lang['please_select'] = '--- Please select an entry ---'; 29 $lang['toggle_description'] = 'Toggle description on/off'; 30 $lang['toggle_defaults'] = 'Toggle display of default values on/off'; 33 …om convenience functions like collapsing sections, quick actions on items, etc. turn on your JavaS… 40 $lang['continue'] = 'Continue'; 58 $lang['invalid save arguments'] = 'An error occured while saving the config file'; 61 $lang['no local file given'] = 'Error loading config file: no path specified'; 67 $lang['upload_errUploadError'] = 'Error while uploading'; 71 $lang['iconDelete_error'] = 'Error deleting the icon. This could be due to a lack of permissio… [all …]
|
| /plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Commenting/ |
| D | DocCommentAlignmentSniff.php | 11 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 25 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 67 $tokens = $phpcsFile->getTokens(); 71 if ($phpcsFile->tokenizerType === 'JS') { 77 $nextToken = $phpcsFile->findNext($ignore, ($stackPtr + 1), null, true); 95 …$prevToken = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($stackPtr - 1), null,… 109 continue; 113 // Can't process the close tag if it is not the first thing on the line. 114 … $prev = $phpcsFile->findPrevious(T_DOC_COMMENT_WHITESPACE, ($i - 1), $stackPtr, true); 116 continue; [all …]
|
| D | BlockCommentSniff.php | 11 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 25 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 34 * The --tab-width CLI value that is being used. 67 if ($this->_tabWidth === null) { 68 $cliValues = $phpcsFile->phpcs->cli->getCommandLineValues(); 71 $this->_tabWidth = 4; 73 $this->_tabWidth = $cliValues['tabWidth']; 77 $tokens = $phpcsFile->getTokens(); 87 …$nextToken = $phpcsFile->findNext(PHP_CodeSniffer_Tokens::$emptyTokens, ($stackPtr + 1), null, tru… 106 …$prevToken = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($stackPtr - 1), null,… [all …]
|
| /plugin/projects/lib/ |
| D | layout.php | 4 * manages the display layout of the project files on the wiki page 25 $this->ID = $ID; 26 $this->file_name = array_pop(explode(":", $ID)); 27 $this->project = $project; 28 $this->file = $file; 32 if ($this->project == NULL) { 33 $renderer->doc .= "<div class=\"project_file_errors\">"; 34 $this->add_error($renderer, htmlspecialchars('<' . PROJECTS_TAG . '>') . 38 $renderer->doc .= "</div>"; 41 $errors = $this->project->error($this->file_name); [all …]
|
| /plugin/combo/vendor/antlr/antlr4-php-runtime/src/ |
| H A D | TokenSource.php | 14 * going or you do not upon token recognition error. If you do not want 15 * to continue lexing then you do not want to continue parsing. Just throw 17 * toss you all the way out of the recognizers. If you want to continue lexing 18 * then you should not throw an exception to the parser--it has already requested 26 * {@see CharStream}). Do not fail/return upon lexing error; keep chewing 27 * on the characters until you get a good one; errors are not passed through 43 * the input stream. The first character on a line has position 0. 46 * or -1 if the current token source does not track 63 * a non-null, non-empty string. If such a name is not known, this method
|
| /plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/ |
| D | MakeWellFormed.php | 4 * Takes tokens makes them well-formed (balance end tags, etc.) 8 * - MakeWellFormed_TagClosedError: This armor field is used to 11 * Purifier, we may rely on our infrastructure to close it for us 12 * and shouldn't report an error to the user [TagClosedAuto]. 68 $definition = $config->getHTMLDefinition(); 72 $escape_invalid_tags = $config->get('Core.EscapeInvalidTags'); 74 …$global_parent_allowed_elements = $definition->info_parent_def->child->getAllowedElements($config); 75 $e = $context->get('ErrorCollector', true); 85 $this->stack =& $stack; 86 $this->tokens =& $tokens; [all …]
|
| /plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Debug/ |
| D | ClosureLinterSniff.php | 10 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 18 * Runs gjslint on the file. 23 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 32 * A list of error codes that should show errors. 34 * All other error codes will show warnings. 41 * A list of error codes to ignore. 79 $fileName = $phpcsFile->getFilename(); 87 $cmd = '$lintPath --nosummary --notime --unix_mode '.escapeshellarg($fileName); 96 $numMatches = preg_match('/^(.*):([0-9]+):\(.*?([0-9]+)\)(.*)$/', $finding, $matches); 98 continue; [all …]
|
| /plugin/sentry/action/ |
| D | errors.php | 8 * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html 25 if (!$this->getConf('dsn')) { 37 $controller->register_hook('INDEXER_TASKS_RUN', 'AFTER', $this, 'handle_indexer'); 40 $controller->register_hook('INFO_DEPRECATION_LOG', 'AFTER', $this, 'handle_deprecation'); 44 * Send pending tasks on indexer run 58 $events = $helper->getPendingEventIDs(); 63 $event->preventDefault(); 64 $event->stopPropagation(); 67 $event = $helper->loadEvent($eid); 69 continue; [all …]
|
| /plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/Functions/ |
| D | FunctionCallSignatureSniff.php | 11 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 23 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 49 * If TRUE, multiple arguments can be defined per line in a multi-line call. 93 $this->requiredSpacesAfterOpen = (int) $this->requiredSpacesAfterOpen; 94 $this->requiredSpacesBeforeClose = (int) $this->requiredSpacesBeforeClose; 95 $tokens = $phpcsFile->getTokens(); 97 // Find the next non-empty token. 98 …$openBracket = $phpcsFile->findNext(PHP_CodeSniffer_Tokens::$emptyTokens, ($stackPtr + 1), null, t… 110 // Find the previous non-empty token. 113 $previous = $phpcsFile->findPrevious($search, ($stackPtr - 1), null, true); [all …]
|
| /plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR1/Sniffs/Files/ |
| D | SideEffectsSniff.php | 10 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 24 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 56 $tokens = $phpcsFile->getTokens(); 57 $result = $this->_searchForConflict($phpcsFile, 0, ($phpcsFile->numTokens - 1), $tokens); 60 …error = 'A file should declare new symbols (classes, functions, constants, etc.) and cause no othe… 65 $phpcsFile->addWarning($error, 0, 'FoundWithSymbols', $data); 66 $phpcsFile->recordMetric($stackPtr, 'Declarations and side effects mixed', 'yes'); 68 $phpcsFile->recordMetric($stackPtr, 'Declarations and side effects mixed', 'no'); 72 return ($phpcsFile->numTokens + 1); 112 continue; [all …]
|
| /plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Functions/ |
| D | FunctionCallArgumentSpacingSniff.php | 11 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 25 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 62 $tokens = $phpcsFile->getTokens(); 72 $functionKeyword = $phpcsFile->findPrevious($ignoreTokens, ($stackPtr - 1), null, true); 77 // If the next non-whitespace token after the function or method call 79 …$openBracket = $phpcsFile->findNext(PHP_CodeSniffer_Tokens::$emptyTokens, ($functionName + 1), nul… 98 …while (($nextSeparator = $phpcsFile->findNext($find, ($nextSeparator + 1), $closeBracket)) !== fal… 102 continue; 106 continue; 114 continue; [all …]
|
| /plugin/idoit/ |
| D | syntax.php | 17 …public function connectTo($mode) { $this->Lexer->addEntryPattern('<idoitAPI>(?=.*?</idoitAPI>)','b… 18 public function postConnect() { $this->Lexer->addExitPattern('</idoitAPI>','plugin_idoit'); } 25 'date' => '2014-11-19', 26 'name' => 'i-doit API client plugin', 27 'desc' => 'Call i-doit API with JSON requests directly from DokuWiki', 28 'url' => 'https://github.com/oliverguenther/dokuwiki-idoit-syntax' 51 // continue with next filter 53 continue 2; 64 * Execute the request on the JSON RPC apai 72 $this->getConf('api_endpoint'), [all …]
|
| /plugin/authssocas/vendor/apereo/phpcas/source/CAS/ |
| H A D | GracefullTerminationException.php | 12 * http://www.apache.org/licenses/LICENSE-2.0 15 * distributed under the License is distributed on an "AS IS" BASIS, 27 * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 39 * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 51 * for a redirect without filling the error logs with uncaught exceptions. 52 * In unit testing scenarios we cannot exit or we won't be able to continue 56 * @param int $code Error code 66 // Throw exceptions to allow unit testing to continue; 75 * an increase in Apache error logging if CAS_GracefulTerminiationExceptions
|
| /plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/PHP/ |
| D | EmbeddedPhpSniff.php | 11 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 25 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 57 $tokens = $phpcsFile->getTokens(); 59 // If the close php tag is on the same line as the opening 61 $closeTag = $phpcsFile->findNext(T_CLOSE_TAG, $stackPtr); 63 $this->_validateMultilineEmbeddedPhp($phpcsFile, $stackPtr); 65 $this->_validateInlineEmbeddedPhp($phpcsFile, $stackPtr); 72 * Validates embedded PHP that exists on multiple lines. 82 $tokens = $phpcsFile->getTokens(); 84 $prevTag = $phpcsFile->findPrevious(T_OPEN_TAG, ($stackPtr - 1)); [all …]
|
| /plugin/combo/action/ |
| H A D | metafacebook.php | 27 …: https://www.linkedin.com/help/linkedin/answer/a521928/making-your-website-shareable-on-linkedin… 32 * https://github.com/twbs/bootstrap/blob/v4-dev/site/layouts/partials/social.html 33 * https://github.com/mprins/dokuwiki-plugin-socialcards/blob/master/action.php 54 // ie $this->lang 55 $this->setupLocale(); 60 …$controller->register_hook('TPL_METAHEADER_OUTPUT', 'BEFORE', $this, 'metaFacebookProcessing', arr… 72 $templateForWebPage = $executionContext->getExecutingPageTemplate(); 77 if (!$templateForWebPage->isSocial()) { 87 $requestedPath = $templateForWebPage->getRequestedContextPath(); 93 "og:title" => StringUtility::truncateString($page->getTitleOrDefault(), 70) [all …]
|
| H A D | imgmove.php | 34 …$controller->register_hook('PLUGIN_MOVE_HANDLERS_REGISTER', 'BEFORE', $this, 'handle_move', array(… 37 …$controller->register_hook('PLUGIN_MOVE_MEDIA_RENAME', 'AFTER', $this, 'fileSystemStoreUpdate', ar… 49 $affectedPagesId = $event->data["affected_pages"]; 50 $sourceImageId = $event->data["src_id"]; 51 $targetImageId = $event->data["dst_id"]; 57 ->setRuntimeObject(action_plugin_combo_linkmove::FILE_MOVE_OPERATION, $sourceImageId); 61 ->setReadStore(MetadataDokuWikiStore::class); 66 ->setResource($affectedPage) 67 ->setReadStore(MetadataDokuWikiStore::class); 70 continue; [all …]
|
| /plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/VersionControl/ |
| D | SubversionPropertiesSniff.php | 10 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 23 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 42 'svn:eol-style' => 'native', 69 $tokens = $phpcsFile->getTokens(); 73 $prevOpenTag = $phpcsFile->findPrevious(T_OPEN_TAG, ($stackPtr - 1)); 78 $path = $phpcsFile->getFileName(); 79 $properties = $this->getProperties($path); 85 $allProperties = ($properties + $this->properties); 88 && isset($this->properties[$key]) === false 90 $error = 'Unexpected Subversion property "%s" = "%s"'; [all …]
|
| /plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/ControlStructures/ |
| D | SwitchDeclarationSniff.php | 11 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 26 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 75 $tokens = $phpcsFile->getTokens(); 86 $caseAlignment = ($switch['column'] + $this->indent); 90 …while (($nextCase = $phpcsFile->findNext(array(T_CASE, T_DEFAULT, T_SWITCH), ($nextCase + 1), $swi… 91 // Skip nested SWITCH statements; they are handled on their own. 94 continue; 107 … $error = strtoupper($type).' keyword must be lowercase; expected "%s" but found "%s"'; 113 $fix = $phpcsFile->addFixableError($error, $nextCase, $type.'NotLower', $data); 115 $phpcsFile->fixer->replaceToken($nextCase, $expected); [all …]
|