| #
a95427a5 |
| 29-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Apply rector fixes to inc/Cache
|
| #
30ee8867 |
| 29-Feb-2020 |
kalenpw <kalenpwilliams@gmail.com> |
Use getters instead of deprecated property
|
| #
033eb35b |
| 29-Feb-2020 |
kalenpw <kalenpwilliams@gmail.com> |
Consistent capilization of io_saveFile and psr-2 formatting
|
| #
903d43fe |
| 31-Dec-2019 |
Michael Große <mic.grosse@googlemail.com> |
Check code style against PSR12
In 2019 PSR-12 was officially released and PSR-2 deprecated. We should adapt to that and check our files against that new coding standard.
|
| #
27f63a23 |
| 21-May-2019 |
Andreas Gohr <andi@splitbrain.org> |
some more PSR2 cleanup
mostly overlong lines and more exclude patterns
|
| #
cbb44eab |
| 15-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
deprecated trigger_event() in favor of a static method on Event
|
| #
b4b0b31b |
| 22-Feb-2019 |
Michael Große <mic.grosse@googlemail.com> |
Use deprecation helper
Instead of writing our own magic getters and setters for all variables that used to be public, this adds a trait that does that in a generic way. This trait was copied from Me
Use deprecation helper
Instead of writing our own magic getters and setters for all variables that used to be public, this adds a trait that does that in a generic way. This trait was copied from MediaWiki and adjusted to DokuWiki. The original author seems to be @tgr Tisza Gergő
The downside of this trait is that the properties keep their (potentially undesired) name. While that could be fixed within the helper, that might add unnecessary complexity. The name can change when support is dropped.
show more ...
|
| #
fec08cc9 |
| 14-Feb-2019 |
Michael Große <mic.grosse@googlemail.com> |
Use DokuWiki's own deprecation reporters
DokuWiki has its own way to report deprecation notifications. Let's use it!
|
| #
d2f1d7a1 |
| 14-Feb-2019 |
Michael Große <mic.grosse@googlemail.com> |
Rename fields and add deprecated __get/__set
These fields might still be accessed from the outside, so in order to not break backwards compatibility, this uses magic methods that emit deprecation er
Rename fields and add deprecated __get/__set
These fields might still be accessed from the outside, so in order to not break backwards compatibility, this uses magic methods that emit deprecation errors.
show more ...
|
| #
43ff1056 |
| 04-Feb-2019 |
Michael Große <mic.grosse@googlemail.com> |
Adjust comment to better reflect method
That method cannot be private or protected, since it has to be used by the event handler. Thus adjust the method comment to internal to better represent that
Adjust comment to better reflect method
That method cannot be private or protected, since it has to be used by the event handler. Thus adjust the method comment to internal to better represent that it shouldn't be used by other classes.
show more ...
|
| #
72c2bae8 |
| 04-Feb-2019 |
Michael Große <mic.grosse@googlemail.com> |
Fix typo and rename method in comments too
|
| #
42c00b45 |
| 02-Feb-2019 |
Michael Große <mic.grosse@googlemail.com> |
Rename methods to conform with PSR 2
The method _useCache doesn't seem to be in use outside the core cache classes[0], thus no deprecation placeholder was created.
[0]: https://codesearch.dokuwiki.
Rename methods to conform with PSR 2
The method _useCache doesn't seem to be in use outside the core cache classes[0], thus no deprecation placeholder was created.
[0]: https://codesearch.dokuwiki.org/search?project=dokuwiki&project=plugin&project=template&q=&defs=&refs=_useCache&path=&hist=&type=php
show more ...
|
| #
0db5771e |
| 02-Feb-2019 |
Michael Große <mic.grosse@googlemail.com> |
Refactor cache.php into different files
|