Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#3477364 BUGS-8928 - PHP 8.2+ - Deprecated string interpolation issue #201

Merged
merged 1 commit into from
Jan 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions RoboFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -148,7 +148,7 @@ protected function getCurrentConstraint(): string {
$branch_parts = explode('/', $branch);
$branch = end($branch_parts);
if ($branch) {
return "${branch}-dev";
return "{$branch}-dev";
}
}
}
Expand Down
Loading