Skip to content

Commit 5df147f

Browse files
authored
🩹 ${composerPath} -> {$composerPath} (#483)
1 parent 4a4b2bb commit 5df147f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Roots/Acorn/PackageManifest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@ public function build()
6464
$packages = array_reduce($this->composerPaths, function ($all, $composerPath) {
6565
$packages = [];
6666

67-
$path = "${composerPath}/vendor/composer/installed.json";
67+
$path = "{$composerPath}/vendor/composer/installed.json";
6868

6969
if ($this->files->exists($path)) {
7070
$installed = json_decode($this->files->get($path), true);
7171

7272
$packages = $installed['packages'] ?? $installed;
7373
}
7474

75-
$packages[] = json_decode($this->files->get("${composerPath}/composer.json"), true);
75+
$packages[] = json_decode($this->files->get("{$composerPath}/composer.json"), true);
7676

7777
$ignoreAll = in_array('*', $ignore = $this->packagesToIgnore());
7878

@@ -111,7 +111,7 @@ protected function format($package, $vendorPath = null)
111111
protected function packagesToIgnore()
112112
{
113113
return array_reduce($this->composerPaths, function ($ignore, $composerPath) {
114-
$path = "${composerPath}/composer.json";
114+
$path = "{$composerPath}/composer.json";
115115

116116
if (! $this->files->exists($path)) {
117117
return $ignore;

0 commit comments

Comments
 (0)