Skip to content

Commit

Permalink
MDL-76415 portfolio: Fixed ${var} string interpolation deprecations.
Browse files Browse the repository at this point in the history
Since PHP 8.2, placing the dollar sign outside the curly brace is deprecated when
the expression inside the braces resolves to a variable or an expression.
  • Loading branch information
meirzamoodle committed Feb 13, 2023
1 parent 1e8ed4e commit 1c21888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion portfolio/googledocs/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function send_package() {
// Create each of the directories in Google Drive that we need.
foreach ($directories as $directory) {
// Update the current path for this file.
$path .= "${directory}/";
$path .= "{$directory}/";

if (!isset($directoryids[$path])) {
// This directory hasn't been created yet so let's go ahead and create it.
Expand Down

0 comments on commit 1c21888

Please sign in to comment.