History log of /dokuwiki/inc/Debug/PropertyDeprecationHelper.php (Results 1 – 6 of 6)
Revision Date Author Comments
# 0f7af8fc 25-Nov-2024 Andreas Gohr <andi@splitbrain.org>

replace E_USER_ERROR triggers with RuntimeExceptions

The use of trigger_error with a E_USER_ERROR is deprecated in PHP 8.4


# 52b00652 14-Nov-2023 Andreas Gohr <andi@splitbrain.org>

do not call get_class() without a parameter

This has been deprecated in PHP 8.3


# d4f83172 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

code style: line breaks


# 1490c177 29-Aug-2023 Andreas Gohr <andi@splitbrain.org>

Apply rector fixes to inc/Extension and inc/Debug


# 0c5eb5e2 25-Feb-2019 Michael Große <mic.grosse@googlemail.com>

Refactor deprecation logging into its own class

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


# 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 ...