fix overeager optimization in Table handler. fixes #4186This reverts an optimization introduced inbcaec9f47d06126b3e653fea89a86d8b6a6cbef8The number of elements in $this->tableCalls may change d
fix overeager optimization in Table handler. fixes #4186This reverts an optimization introduced inbcaec9f47d06126b3e653fea89a86d8b6a6cbef8The number of elements in $this->tableCalls may change during the loop,so they need to be recounted on every step. To protect it from being"optimized" again, the loop was changed into a while loop.Ultimately it should be checked if this method could be optimized inanother way.
show more ...
Use str_starts_with/str_ends_with
code style: line breaks
code style: operator spacing
coding style: control flow line breaks
codestyle adjustments: function declaration braces/spaces
codestyle adjustments: class declaration braces
apply PSR-12 constant visibility rulePSR-12 says constants need their visibility declared from PHP 7.1onwards
Apply rector fixes to inc/Parsing
Remove the htmlok and phpok embedding optionsBoth options have grave security implications and novice users seem toignore advice about them. In the last decades I never came across a wikithat had
Remove the htmlok and phpok embedding optionsBoth options have grave security implications and novice users seem toignore advice about them. In the last decades I never came across a wikithat had legitimate use of these options.If someone needs the functionality, it can easily be added back using aplugin. But I prefer to give users one less option to shoot themselvesin the foot.Removal of the translations for the config strings can follow after thishas been merged.
fix phpdocCo-authored-by: Matthias Gutjahr <mattsches@gmail.com>
Fix accessing callsSome plugins need access to the handler (and rewriter) calls. Oneexample is the do plugin.This adds some accessing methods to the callWriter objects, ensures$calls can be acc
Fix accessing callsSome plugins need access to the handler (and rewriter) calls. Oneexample is the do plugin.This adds some accessing methods to the callWriter objects, ensures$calls can be accessed and removes some duplicate code by introducing anabstract base class.
Merge branch 'master' into psr2* master: upgraded JSON class to latest (2006) version continue is break in switch translation update reference existing proper progress gif. fixes #2441 Fi
Merge branch 'master' into psr2* master: upgraded JSON class to latest (2006) version continue is break in switch translation update reference existing proper progress gif. fixes #2441 Fix missing ui-bg_glass_95_fef1ec_1x400.png and be/jquery.ui.datepicker.js for jquery removed accidental merges of outdated translations Change `const` use to `var` for Safari 9 (on iOS) Fix .htaccess files for Apache 2.4 (and 2.2) add logic if the server uses unlimited memory settings in is_mem_available() removed safemode hack
Make lexer/state stack more understandable- rename lexer $mode property to avoid two different uses of "mode" variables in the lexer- clarify/improve comments
do not use DOKU_PARSER_EOL outside of testing
moved all parsing related namespaces to their own