Problem/Motivation
error message with PHP 8.2 : Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /matomo/modules/matomo_tagmanager/matomo_tagmanager.install on line 43
Proposed resolution
change line 43 to be compliant with php8.2
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | deprecated_php8.2_-3414796-1.patch | 728 bytes | nicoc |
Issue fork matomo-3414796
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
nicoc commentedComment #3
andreasderijckeThanks, small fix, lot less warnings :)
Comment #4
finex commentedHi, the patch works fine. Thank you.
Comment #5
shelaneComment #6
timohuismanI see that this issue is closed because it seems like its a duplicate of #3390345: Using ${var} string is deprecated, but that fix is only committed on the 2.0 version. The 8.x-1.23 version is as far as I can tell still the recommend release, so it would be nice if this can also get fixed in that release.
The patch from #2 does still apply against 8.x-1.23 and resolves the warnings.
#3441281: PHP 8.3 Deprecated: Using ${var} in strings is deprecated, use {$var} instead is actually a duplicate of this issues.
Comment #7
grimreaperComment #10
grimreaper