diff --git a/RoboFile.php b/RoboFile.php index 1fc32bb..b953004 100644 --- a/RoboFile.php +++ b/RoboFile.php @@ -137,7 +137,7 @@ public function testFull(int $drupal_version = 9, string $site_name = NULL) { protected function getCurrentConstraint(): string { $branch = trim(shell_exec('git rev-parse --abbrev-ref HEAD')); if ($branch !== 'HEAD') { - return "${branch}-dev"; + return "{$branch}-dev"; } else { $tag = trim(shell_exec('git describe --exact-match --tags $(git log -n1 --pretty=\'%h\')')); if ($tag) { @@ -148,7 +148,7 @@ protected function getCurrentConstraint(): string { $branch_parts = explode('/', $branch); $branch = end($branch_parts); if ($branch) { - return "${branch}-dev"; + return "{$branch}-dev"; } } }