A place to report and discuss bugs - please mention CMSimple-version, server, platform and browser version
-
frase
- Posts: 5085
- Joined: Thu Apr 21, 2016 6:32 am
- Location: Saxony
-
Contact:
Post
by frase » Tue Jan 10, 2023 1:53 pm
XH 1.7.5
PHP 8.2.0
Settings → Configuration
Debug mode reports:
DEPRECATED: Using ${var} in strings is deprecated, use {$var} instead
… \cmsimple\classes\CoreConfigFileEdit.php:52
DEPRECATED: Using ${var} in strings is deprecated, use {$var} instead
… \cmsimple\classes\CoreConfigFileEdit.php:53
DEPRECATED: Creation of dynamic property XH\CoreConfigFileEdit::$varName is deprecated
… \cmsimple\classes\CoreConfigFileEdit.php:26
-
cmb
- Posts: 14227
- Joined: Tue Jun 21, 2011 11:04 am
- Location: Bingen, RLP, DE
-
Contact:
Post
by cmb » Fri Jan 20, 2023 10:16 pm
frase wrote: ↑Tue Jan 10, 2023 1:53 pm
DEPRECATED: Using ${var} in strings is deprecated, use {$var} instead
… \cmsimple\classes\CoreConfigFileEdit.php:52
DEPRECATED: Using ${var} in strings is deprecated, use {$var} instead
… \cmsimple\classes\CoreConfigFileEdit.php:53
Gefixt.
frase wrote: ↑Tue Jan 10, 2023 1:53 pm
DEPRECATED: Creation of dynamic property XH\CoreConfigFileEdit::$varName is deprecated
… \cmsimple\classes\CoreConfigFileEdit.php:26
Das hatte ich schon
vor einer Weile gefixt (halt nur im "master"). Das ist übrigens ein schönes Beispiel für die Vorteile von statischer Analyse; da hatte ich kein PHP 8.2 im Einsatz, und obwohl erst dort die Deprecation-Notice erzeugt wird, hat das Phan schon vorab bemängelt.