From f6bfbad6efe9888439054ab5c4b6e1145f42a978 Mon Sep 17 00:00:00 2001 From: Yaroslav Shestakov <2473385+sybbear@users.noreply.github.com> Date: Wed, 24 Sep 2025 09:35:38 +0300 Subject: [PATCH] Quickfix Acorn\PackageManifest: ${composerPath} -> {$composerPath} Hello, this makes 3 small fixes that stops php from producing [WARNING: Using ${var} in strings is deprecated, use {$var} instead] Please make a new release if it is easy to do. --- src/Roots/Acorn/PackageManifest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Roots/Acorn/PackageManifest.php b/src/Roots/Acorn/PackageManifest.php index 870af7a6..34bc2078 100644 --- a/src/Roots/Acorn/PackageManifest.php +++ b/src/Roots/Acorn/PackageManifest.php @@ -64,7 +64,7 @@ public function build() $packages = array_reduce($this->composerPaths, function ($all, $composerPath) { $packages = []; - $path = "${composerPath}/vendor/composer/installed.json"; + $path = "{$composerPath}/vendor/composer/installed.json"; if ($this->files->exists($path)) { $installed = json_decode($this->files->get($path), true); @@ -72,7 +72,7 @@ public function build() $packages = $installed['packages'] ?? $installed; } - $packages[] = json_decode($this->files->get("${composerPath}/composer.json"), true); + $packages[] = json_decode($this->files->get("{$composerPath}/composer.json"), true); $ignoreAll = in_array('*', $ignore = $this->packagesToIgnore()); @@ -111,7 +111,7 @@ protected function format($package, $vendorPath = null) protected function packagesToIgnore() { return array_reduce($this->composerPaths, function ($ignore, $composerPath) { - $path = "${composerPath}/composer.json"; + $path = "{$composerPath}/composer.json"; if (! $this->files->exists($path)) { return $ignore;