| /dokuwiki/inc/ |
| H A D | Logger.php | 63 * @param int $line A line number for the above file 66 public static function error($message, $details = null, $file = '', $line = 0) argument 72 $line 82 * @param int $line A line number for the above file 85 public static function debug($message, $details = null, $file = '', $line = 0) argument 91 $line 101 * @param int $line A line number for the above file 104 public static function deprecated($message, $details = null, $file = '', $line = 0) argument 110 $line 120 * @param int $line A line number for the above file [all …]
|
| H A D | confutils.php | 11 * line prefix used to negate single value config items 146 foreach ($lines as $line) { 147 $line = trim(preg_replace('/#.*$/', '', $line)); 148 if ($line === '') continue; 149 [$key, $val] = sexplode('=', $line, 2, ''); 232 foreach ($lines as $line) { 234 $line = preg_replace('/(?<![&\\\\])#.*$/', '', $line); 235 $line = str_replace('\\#', '#', $line); 236 $line = trim($line); 237 if ($line === '') continue; [all …]
|
| H A D | changelog.php | 16 * parses a changelog line into it's components 18 * @param string $line changelog line 19 * @return array|bool parsed line or false 25 function parseChangelogLine($line) argument 28 return ChangeLog::parseLogLine($line); 296 foreach ($lines as $line) { 297 $rec = _handleRecentLogLine($line, $ns, $flags, $seen); 314 * Parse a line and checks whether it should be included 322 * @param string $line changelog line 328 function _handleRecentLogLine($line, $ns, $flags, &$seen) argument [all …]
|
| H A D | DifferenceEngine.php | 155 $line = $to_lines[$yi]; 156 if (($this->ychanged[$yi] = empty($xhash[$line]))) 158 $yhash[$line] = 1; 159 $this->yv[] = $line; 163 $line = $from_lines[$xi]; 164 if (($this->xchanged[$xi] = empty($yhash[$line]))) 166 $this->xv[] = $line; 269 $line = $flip ? $this->yv[$x] : $this->xv[$x]; 270 if (empty($ymatches[$line])) 272 $matches = $ymatches[$line]; [all …]
|
| H A D | ErrorHandler.php | 116 … new FatalException($error['message'], 0, $error['type'], $error['file'], $error['line']) 187 foreach ($e->getTrace() as $line) { 189 isset($line['class']) && 190 preg_match('/\w+?_plugin_(\w+)/', $line['class'], $match) 196 isset($line['file']) && 197 preg_match('/lib\/plugins\/(\w+)\//', str_replace('\\', '/', $line['file']), $match)
|
| /dokuwiki/_test/tests/Feed/ |
| H A D | FeedCreatorValidationTest.php | 47 $line = (int)$xml->xpath('//m:warnings/m:warninglist/warning/line')[0]; 53 $show = trim($lines[$line - 1]); 57 "Line $line: $text\n" . 65 $line = (int)$xml->xpath('//m:errors/m:errorlist/error/line')[0]; 71 $show = trim($lines[$line - 1]); 75 "Line $line: $text\n" .
|
| /dokuwiki/inc/Debug/ |
| H A D | DebugHelper.php | 59 $self['line'] ?? $call['line'] ?? 0 104 $backtrace[0]['line'] 118 * @param int $line 126 $line, argument 139 $line 149 * @param int $line 157 $line argument 165 'line' => $line, 170 … $msg .= $event->data['caller'] . ' in ' . $event->data['file'] . ':' . $event->data['line'];
|
| /dokuwiki/inc/ChangeLog/ |
| H A D | ChangeLogTrait.php | 15 * @return array added log line as revision info 20 * Parses a changelog line into its components 22 * @param string $line changelog line 23 * @return array|bool parsed line or false 27 public static function parseLogLine($line) argument 29 $info = sexplode("\t", rtrim($line, "\n"), 8); 30 if ($info[3]) { // we need at least the page id to consider it a valid line 34 'type' => $info[2], // log line type 38 'extra' => $info[6], // extra data (varies by line type) 47 * Build a changelog line from its components [all …]
|
| /dokuwiki/vendor/php81_bc/strftime/ |
| H A D | .gitattributes | 1 # Define the line ending behavior of the different file extensions 7 # to native line endings on checkout. 24 # Declare files that will always have CRLF line endings on checkout. 27 # Declare files that will always have LF line endings on checkout.
|
| /dokuwiki/_test/tests/inc/ |
| H A D | io_replaceinfile.test.php | 74 …X\012Test\012", io_readFile($file), "Edge case: backreference like construct in replacement line"); 77 * Test with replace all where replacement line == search line - must not timeout 86 …012Delete\012DeleteX\012Test\012", io_readFile($file), "Edge case: new line the same as old line"); 90 …* Test where $oldline exactly matches one line and also matches part of other lines - only the … 99 …01201Delete\01202Delete\012Test\012", io_readFile($file), "Edge case: old line is a match for part…
|
| H A D | utf8_romanize.test.php | 17 $line = 1; 22 $this->assertEquals($rom,$chk,"$jap\t->\t$chk\t!=\t$rom\t($line)"); 23 $line++;
|
| H A D | io_readfile.test.php | 28 …// since git converts line endings, we can't check in this test file but have to create it ourselv… 58 $line = str_repeat('a', 8888)."\012"; 59 …$this->assertEquals(array($line,"\012",$line,"!"), bzfile(__DIR__.'/io_readfile/long.txt.bz2', tru…
|
| H A D | mailer.test.php | 246 $line = trim($lines[$i]); 247 if($line == '-----------') break; //skip appendix 249 // get possible continuation of the line 251 $line .= ' '.trim($lines[$i+1]); 255 // check the line for errors 256 if(substr($line,0,5) == 'ERROR' || substr($line,0,7) == 'WARNING'){ 258 if(strpos($line, "missing mandatory header 'return-path'")) continue; #set by MDA 259 …if(strpos($line, "bare newline in text body decoded")) continue; #we don't send mail bodies as CRL… 260 … if(strpos($line, "last decoded line too long")) continue; #we don't send mail bodies as CRLF, yet 264 if(preg_match('/line (\d+)$/', $line, $m)){ [all …]
|
| /dokuwiki/lib/scripts/ |
| H A D | compatibility.js | 17 var line = 'DEPRECATED function call'+func+'. '+msg; 20 console.warn(line); 22 console.log(line);
|
| /dokuwiki/vendor/splitbrain/php-cli/ |
| H A D | composer.json | 3 …"description": "Easy command line scripts for PHP with opt parsing and color output. No dependenci… 8 "command line",
|
| /dokuwiki/vendor/splitbrain/lesserphp/src/ |
| H A D | ParserException.php | 35 $message .= " line: $sourceLine"; 52 * This is the line the parser choked on. Not always available. 71 * The line number where the error was triggered
|
| /dokuwiki/vendor/splitbrain/php-cli/src/ |
| H A D | Colors.php | 107 * Convenience function to print a line in a given color 109 * @param string $line the line to print, a new line is added automatically 115 public function ptln($line, $color, $channel = STDOUT) argument 118 fwrite($channel, rtrim($line) . "\n");
|
| H A D | TableFormatter.php | 297 foreach ($lines as &$line) { 298 $line = rtrim($line); 299 if ($this->strlen($line) <= $width) { 302 $words = explode(' ', $line); 303 $line = ''; 313 # Remember color so we can reapply it after a line break 322 $line .= rtrim($actual) . $break; 327 $line .= $this->substr($actual, 0, $width) . $break; 334 $line .= trim($actual);
|
| /dokuwiki/vendor/geshi/geshi/src/geshi/ |
| H A D | abap.php | 125 'at line-selection', 181 'modify line', 189 'read line', 248 'as line', 267 'begin of line', 314 'during line-selection', 321 'end of line', 405 'initial line of', 406 'initial line', 420 'line format', [all …]
|
| H A D | reg.php | 27 * - Add a verification to the multi-line portion of the hex field regex 28 * for a '\' character on the line preceding the line of the multi-line 35 * all lines after the first does not verify that the previous line contains 36 * a line continuation character '\'. This regex also does not check for 37 * end of line as it should. 193 // Highlight Hexadecimal Values (Single-Line and Multi-Line)
|
| /dokuwiki/lib/plugins/logviewer/ |
| H A D | admin.php | 162 array_shift($lines); // Discard the first line 188 $line = $lines[$i]; 189 if (str_starts_with($line, ' ')) { 192 while (str_starts_with($line, ' ')) { 193 echo hsc(substr($line, 2)) . '<br />'; 195 $line = $lines[$i] ?? ''; 201 [$dt, $file, $msg] = sexplode("\t", $line, 3, '');
|
| /dokuwiki/inc/Search/ |
| H A D | Indexer.php | 867 foreach ($lines as $line) { 868 $pages = array_merge($pages, $this->parseTuples($page_idx, $line)); 904 foreach ($index as $wid => $line) { 905 $freq = $this->countTuples($line); 922 foreach ($index as $wid => $line) { 923 $freq = $this->countTuples($line); 1033 * Retrieve a line from the index. 1037 * @param int $id the line number 1038 * @return string a line with trailing whitespace removed 1050 while (($line = fgets($fh)) !== false) { [all …]
|
| /dokuwiki/vendor/kissifrot/php-ixr/src/Client/ |
| H A D | Client.php | 118 $line = fgets($fp, 4096); 120 // Check line for '200' 121 if (strstr($line, '200') === false) { 126 if (trim($line) == '') { 131 $contents .= $line; 134 $debugContents .= $line;
|
| /dokuwiki/inc/Cache/ |
| H A D | CacheInstructions.php | 22 * @param bool $clean true to clean line endings, false to leave line endings alone
|
| /dokuwiki/lib/plugins/authplain/ |
| H A D | auth.php | 101 * Creates a string suitable for saving as a line 158 // prepare user line 421 foreach ($lines as $line) { 422 $line = preg_replace('/(?<!\\\\)#.*$/', '', $line); //ignore comments (unless escaped) 423 $line = trim($line); 424 if (empty($line)) continue; 426 $row = $this->splitUserData($line); 442 * Get the user line split into it's parts 444 * @param string $line 447 protected function splitUserData($line) argument [all …]
|