History log of /dokuwiki/inc/cache.php (Results 1 – 25 of 48)
Revision Date Author Comments
# 7a9c51a0 10-Feb-2024 Andreas Gohr <[email protected]>

Imports may not be named like local classes. fixes #4200

For compatibility reasons we let our old `cache` class inherit from
`dokuwiki\Cache\Cache` but `cache` equals `Cache`. At least on some PHP
v

Imports may not be named like local classes. fixes #4200

For compatibility reasons we let our old `cache` class inherit from
`dokuwiki\Cache\Cache` but `cache` equals `Cache`. At least on some PHP
versions? I did not see any problem on my local machine running PHP 8.2
but the problem was visible on a machine running 8.1.27

show more ...


# 24870174 29-Aug-2023 Andreas Gohr <[email protected]>

Apply rector fixes to the rest of inc


# cbb44eab 15-Jun-2018 Andreas Gohr <[email protected]>

deprecated trigger_event() in favor of a static method on Event


# 27cff898 25-Feb-2019 Michael Große <[email protected]>

Remove PHP user deprecation errors

Remove these errors pending proper discussion.
These errors could be a problem for installations that have HTML errors on
in production. Since DokuWikis is often

Remove PHP user deprecation errors

Remove these errors pending proper discussion.
These errors could be a problem for installations that have HTML errors on
in production. Since DokuWikis is often used in smaller and private
contexts, this is a scenario that should be considered.

show more ...


# 0c5eb5e2 25-Feb-2019 Michael Große <[email protected]>

Refactor deprecation logging into its own class

This gives us the flexibility to handle both deprecated properties and
methods/functions properly.


# fec08cc9 14-Feb-2019 Michael Große <[email protected]>

Use DokuWiki's own deprecation reporters

DokuWiki has its own way to report deprecation notifications.
Let's use it!


# 0db5771e 02-Feb-2019 Michael Große <[email protected]>

Refactor cache.php into different files


# d4d8fb18 04-May-2018 Andreas Gohr <[email protected]>

moved Parser to Parsing namespace


# 64159a61 27-Apr-2018 Andreas Gohr <[email protected]>

line lengths shortened

This makes sure all files use line lenghts shorter than 120 characters.

This is a quick fix. It might not always be the nicest change.


# b4f2363a 27-Apr-2018 Andreas Gohr <[email protected]>

remove DOKU_INC checks

There is no need for this check, since these files should not have any
main code that is executed on direct call.

Fixes PSR1.Files.SideEffects.FoundWithSymbols


# 9c9753d6 12-May-2017 Andreas Gohr <[email protected]>

replace some var keywords

This should fix some tests on PHP 7.1. The work is far from done, we
still have a lot of variables without proper accessibility defined.


# 79eec18f 15-May-2015 Christopher Smith <[email protected]>

yet another class constructor


# 2863d103 15-May-2015 Christopher Smith <[email protected]>

another class_name to __construct


# 1cb97a10 15-May-2015 Christopher Smith <[email protected]>

update parent constructor calls to use __construct()


# 5c3b310d 15-May-2015 Christopher Smith <[email protected]>

more class constructors to __construct()


# 79e79377 07-Jan-2015 Andreas Gohr <[email protected]>

Remove error supression for file_exists()

In an older version of PHP a file_exists() call would issue a warning
when the file did not exist. This was fixed in later PHP releases. Since
we require PH

Remove error supression for file_exists()

In an older version of PHP a file_exists() call would issue a warning
when the file did not exist. This was fixed in later PHP releases. Since
we require PHP 5.3 now, there's no need to supress any error here
anymore. This might even give a minor performance boost.

show more ...


# 8702de7f 09-Dec-2014 Gerrit Uitslag <[email protected]>

Merge remote-tracking branch 'origin/master' into scrutinizerissues

Conflicts:
inc/media.php
inc/plugin.php
inc/template.php
lib/plugins/authplain/_test/escaping.test.php
lib/plugins/syntax.php


# 8fed17ed 02-Dec-2014 Gerrit Uitslag <[email protected]>

code formatting cache


# e0c26282 29-Sep-2014 Gerrit Uitslag <[email protected]>

scrutinizer documentations issues


# 8f3419f5 19-May-2014 Andreas Gohr <[email protected]>

declare field


# b2356002 16-Mar-2014 Christopher Smith <[email protected]>

Fix longstanding issue with cache class & cachetime setting

1. cachetime setting should only be applied to the cache_renderer
class. Previously it was applied to cache_parser (and by
extensio

Fix longstanding issue with cache class & cachetime setting

1. cachetime setting should only be applied to the cache_renderer
class. Previously it was applied to cache_parser (and by
extension cache_handler).
2. two special cachetime values, -1 & 0, weren't handled, per
FS#2183

To handle the cachetime setting, -1, disable caching, a new
property _nocache is added. When that property is true, any cache
file must not be used and storecache() should not store any values

show more ...


# a8795974 13-Mar-2014 Michael Hamann <[email protected]>

Fix caching (make the event callback public again)

Caching had been completely broken (disabled) for caches with events
because the default event handler (cache::_useCache()) was protected and
thus

Fix caching (make the event callback public again)

Caching had been completely broken (disabled) for caches with events
because the default event handler (cache::_useCache()) was protected and
thus couldn't be executed by the event handler. This was broken in
c59b3e001d1e8258b1d118909257b70516c8a6b1

show more ...


# cefd14cb 17-Feb-2014 Gerrit Uitslag <[email protected]>

PHPDocs of cache classes


# c59b3e00 17-Feb-2014 Gerrit Uitslag <[email protected]>

add visibility keywords and PHPDocs for cache


# d7fd4c3e 17-Feb-2014 Gerrit Uitslag <[email protected]>

Add dynamic declared _time attribute to cache object


12