Open mokraemer opened 8 months ago
Already supported in Debian by my patch. But not yet available in normal releases. Patch is #202
Thanks william. I guess it will not hold for php 9. But it is good for php 8.2,8.3
Yeah, but anyway I expect that before php 9 I will have done a new patch for the variables. It's not very complicated but takes time
Maybe there's automation tools for that a-la rector?
In fact I wanted to setup phpstan to detect all variables that are not assigned and fix this bug. For this task phpstan seems to be the easiest path.
If you want to make php projects more reliable, you can use phan, but this will give you much more potential problems.
Usually phpstan level 2 with exceptions is enough
is it planned to support newer php versions?
At the moment deprecated warnings makes it phpLDAPadmin unusable:
In a first step deprecated warnings should not interfer the execution, and a declaration:
#[AllowDynamicProperties]
should be added, In the next step this should totally be avoided for further php versions.