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;