PHP 8.2 Deprecated ${} string interpolation
In PHP 8.2 (planned to be released this November) ${} string interpolation has been deprecated:
https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation
echo "Hello ${name}"; // Deprecated
echo "Hello {$name}"; // Supported
There are not loads of places where the deprecated version is used, but there are a few. We should swap the position of the dollar to the non-deprecated version.
(I also realise CiviCRM does not fully support PHP 8.1 yet, but it doesn't hurt to start to get ahead).