#
2e0b7f74 |
| 02-Sep-2025 |
Andreas Gohr <gohr@cosmocode.de> |
set DOKU_INC in rector
I had several cases where rector failed to work on plugins without this. I'm not 100% sure why, but it doesn't hurt to set this early.
|
#
8b9fc108 |
| 02-Dec-2024 |
Andreas Gohr <andi@splitbrain.org> |
skip buggy rector rule
see rectorphp/rector#8916
|
#
1e467458 |
| 02-Dec-2024 |
Andreas Gohr <andi@splitbrain.org> |
skip two more rules from rector
|
#
93aadb6c |
| 02-Dec-2024 |
Andreas Gohr <andi@splitbrain.org> |
update rector to 1.2
Some of our skipped rules no longer exist or apply. Next auto-cleanup should be checked extra careful
|
#
ed46af86 |
| 27-Mar-2024 |
Andreas Gohr <andi@splitbrain.org> |
disable RemoveUnusedConstructorParamRector
At least until rectorphp/rector#8580 is fixed
|
#
462a5601 |
| 10-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
tune parallel tasks in rector
The default options for running paralell rector tasks changed in 0.19 resulting in failures on github runners.
See also https://github.com/rectorphp/rector/issues/8396
|
#
05fd0e83 |
| 10-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
update rector
|
#
9b944650 |
| 07-Dec-2023 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Upgrade rector to 0.18.12
Two classes in DokuWiki's skip rules were removed from rector in 0.18.12
|
#
108f17cf |
| 13-Nov-2023 |
Andreas Gohr <andi@splitbrain.org> |
updated devel dependencies
|
#
1fc5061d |
| 02-Nov-2023 |
Andreas Gohr <andi@splitbrain.org> |
skip CompleteMissingIfElseBracketRector
We like our one-line guardians.
See discussion in https://github.com/dokuwiki/dokuwiki/pull/4097#issuecomment-1788608355 https://github.com/dokuwiki/dokuwiki
skip CompleteMissingIfElseBracketRector
We like our one-line guardians.
See discussion in https://github.com/dokuwiki/dokuwiki/pull/4097#issuecomment-1788608355 https://github.com/dokuwiki/dokuwiki/pull/4097#issuecomment-1789826392
show more ...
|
#
bac51761 |
| 04-Sep-2023 |
Andreas Gohr <andi@splitbrain.org> |
rector env var might be empty -> ignore
|
#
26586410 |
| 03-Sep-2023 |
Andreas Gohr <andi@splitbrain.org> |
allow overriding the minimum PHP release for rector
By setting the environment variable RECTOR_MIN_PHP the supported minimum PHP release can be set. This is needed to make plugin changes compatible
allow overriding the minimum PHP release for rector
By setting the environment variable RECTOR_MIN_PHP the supported minimum PHP release can be set. This is needed to make plugin changes compatible with DokuWiki stable.
show more ...
|
#
80d85403 |
| 31-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
added rectors for new polyfills
We can use the PHP8 rector classes for the polyfills introduced in a4c648fffdf5bc5db83c9aa9c6c4bf5fb5edc85f
|
#
26dfc232 |
| 31-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Rector to rename print to echo calls
|
#
f9a94e78 |
| 31-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
deprecate ptln()
This method was used to ensure some basic readability in the created HTML sources long before Firebug and later the builtin inspector tools in browsers pretty printed the HTML for y
deprecate ptln()
This method was used to ensure some basic readability in the created HTML sources long before Firebug and later the builtin inspector tools in browsers pretty printed the HTML for you. Today, this is no longer needed.
This adds a custom rector rule to automatically change all occurances to echo statements.
show more ...
|
#
a0aeafaa |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
define custom renames
Automatically rename occurances of deprecated functions and classes. These renames will come in even more handy when rector is applied to 3rd party plugins.
|
#
b1f206e1 |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Apply rector fixes to bin and toplevel
|
#
74981a4e |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
apply PSR-12 constant visibility rule
PSR-12 says constants need their visibility declared from PHP 7.1 onwards
|
#
467c1427 |
| 29-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Apply rector fixes to config plugin
|
#
ab9790ca |
| 29-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Apply rector fixes to auth plugins
|
#
24870174 |
| 29-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Apply rector fixes to the rest of inc
|
#
bcaec9f4 |
| 29-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Apply rector fixes to inc/Parsing
|
#
faf3f01b |
| 29-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Apply rector fixes to inc/parser
|
#
6e695190 |
| 29-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
fix sizehandling in Changelog
Seems rector was too aggressive here in removing a variable.
|
#
f2554b3e |
| 29-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
define some more constants
when using bootstrapping, these defines seem not to be auto detected anymore. We probably have to add a few more once we start running on plugins.
|