From c3021087cf0e409f8657ef8d019f3b2f7c72a489 Mon Sep 17 00:00:00 2001 From: Ilesanmi Olawale Adedotun Date: Thu, 26 Jan 2023 13:19:35 +0100 Subject: [PATCH] fix: template literals deprecation for php 8.2.1 --- src/SolutionProviders/MergeConflictSolutionProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SolutionProviders/MergeConflictSolutionProvider.php b/src/SolutionProviders/MergeConflictSolutionProvider.php index 5e91aa63..a46b2016 100644 --- a/src/SolutionProviders/MergeConflictSolutionProvider.php +++ b/src/SolutionProviders/MergeConflictSolutionProvider.php @@ -49,7 +49,7 @@ public function getSolutions(Throwable $throwable): array protected function getCurrentBranch(string $directory): string { - $branch = "'".trim(shell_exec("cd ${directory}; git branch | grep \\* | cut -d ' ' -f2"))."'"; + $branch = "'".trim(shell_exec("cd {$directory}; git branch | grep \\* | cut -d ' ' -f2"))."'"; if ($branch === "''") { $branch = 'current branch';