Commit Graph

6 Commits

Author SHA1 Message Date
MDW
27e3a3ffc6 Fix: DeprecationHandler, correct isset(), ignore false phpstan positive
# Fix: DeprecationHandler, correct isset(), ignore false phpstan positive

When the old property name is used, the 'isset' result was not tested on the property.

Also ignore a false positive from phpstan
2025-02-19 15:20:51 +01:00
Laurent Destailleur
a3ae470fce FIX #30610 - Disable the deprecation mecanism. Too many regressions. 2024-08-13 11:53:21 +02:00
Laurent Destailleur
d03a926238 Clean code. Reduce warning for deprecated field to a better blanced
level, as we should start soon the beta.
2024-04-03 00:51:18 +02:00
Laurent Destailleur
fec7ed4b0f Reduce number of transitionnal warnings for deprecations 2024-04-02 23:16:48 +02:00
Laurent Destailleur
aea4c84a68 Better warnings 2024-04-02 21:29:16 +02:00
MDW
a6d4a99cca NEW: DolDeprecationHandler for deprecations
# NEW: DolDeprecationHandler for deprecations

This reusable class avoids needed to implement double assignments while enabling
the detection of the use of deprecated variables and methods.

There is no efficiency overhead when the proper variables and methods are
used.
2024-03-24 17:39:02 +01:00