catfan / Medoo

The lightweight PHP database framework to accelerate the development.
https://medoo.in
MIT License
4.84k stars 1.15k forks source link

Bad string interpolation syntax in Medoo.php #1074

Closed greg1lutz closed 1 year ago

greg1lutz commented 1 year ago

Lines 870 and 1321 of Medoo.php, ver 2.1.7, use the wrong string interpolation syntax: " ... ${var} ... " rather than " ... {$var} ... ". As of php 8.2, this syntax is deprecated, and produces messages to that effect when the code is executed.

jadeops commented 1 year ago

This was fixed recently https://github.com/catfan/Medoo/pull/1072

@catfan Please tag a new release.

catfan commented 1 year ago

v2.1.8 was released with the fix. https://github.com/catfan/Medoo/releases/tag/v2.1.8