diff --git a/composer.lock b/composer.lock index 3fe4ee88..457a4b7f 100644 --- a/composer.lock +++ b/composer.lock @@ -8,16 +8,16 @@ "packages": [ { "name": "composer/ca-bundle", - "version": "1.3.4", + "version": "1.3.5", "source": { "type": "git", "url": "https://github.com/composer/ca-bundle.git", - "reference": "69098eca243998b53eed7a48d82dedd28b447cd5" + "reference": "74780ccf8c19d6acb8d65c5f39cd72110e132bbd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/ca-bundle/zipball/69098eca243998b53eed7a48d82dedd28b447cd5", - "reference": "69098eca243998b53eed7a48d82dedd28b447cd5", + "url": "https://api.github.com/repos/composer/ca-bundle/zipball/74780ccf8c19d6acb8d65c5f39cd72110e132bbd", + "reference": "74780ccf8c19d6acb8d65c5f39cd72110e132bbd", "shasum": "" }, "require": { @@ -64,7 +64,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/ca-bundle/issues", - "source": "https://github.com/composer/ca-bundle/tree/1.3.4" + "source": "https://github.com/composer/ca-bundle/tree/1.3.5" }, "funding": [ { @@ -80,7 +80,7 @@ "type": "tidelift" } ], - "time": "2022-10-12T12:08:29+00:00" + "time": "2023-01-11T08:27:00+00:00" }, { "name": "composer/class-map-generator", @@ -157,16 +157,16 @@ }, { "name": "composer/composer", - "version": "2.5.1", + "version": "2.5.2", "source": { "type": "git", "url": "https://github.com/composer/composer.git", - "reference": "923278ad13e1621946eb76ab2882655d2cc396a4" + "reference": "c76c013c555160410af47c03a0e173518e3f5796" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/composer/zipball/923278ad13e1621946eb76ab2882655d2cc396a4", - "reference": "923278ad13e1621946eb76ab2882655d2cc396a4", + "url": "https://api.github.com/repos/composer/composer/zipball/c76c013c555160410af47c03a0e173518e3f5796", + "reference": "c76c013c555160410af47c03a0e173518e3f5796", "shasum": "" }, "require": { @@ -250,7 +250,7 @@ "support": { "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/composer/issues", - "source": "https://github.com/composer/composer/tree/2.5.1" + "source": "https://github.com/composer/composer/tree/2.5.2" }, "funding": [ { @@ -266,7 +266,7 @@ "type": "tidelift" } ], - "time": "2022-12-22T14:33:54+00:00" + "time": "2023-02-04T13:33:22+00:00" }, { "name": "composer/metadata-minifier", @@ -2060,16 +2060,16 @@ }, { "name": "symfony/finder", - "version": "v6.2.0", + "version": "v6.2.5", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "eb2355f69519e4ef33f1835bca4c935f5d42e570" + "reference": "c90dc446976a612e3312a97a6ec0069ab0c2099c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/eb2355f69519e4ef33f1835bca4c935f5d42e570", - "reference": "eb2355f69519e4ef33f1835bca4c935f5d42e570", + "url": "https://api.github.com/repos/symfony/finder/zipball/c90dc446976a612e3312a97a6ec0069ab0c2099c", + "reference": "c90dc446976a612e3312a97a6ec0069ab0c2099c", "shasum": "" }, "require": { @@ -2104,7 +2104,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v6.2.0" + "source": "https://github.com/symfony/finder/tree/v6.2.5" }, "funding": [ { @@ -2120,7 +2120,7 @@ "type": "tidelift" } ], - "time": "2022-10-09T08:55:40+00:00" + "time": "2023-01-20T17:45:48+00:00" }, { "name": "symfony/polyfill-ctype", @@ -2695,16 +2695,16 @@ }, { "name": "symfony/process", - "version": "v6.2.0", + "version": "v6.2.5", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "ba6e55359f8f755fe996c58a81e00eaa67a35877" + "reference": "9ead139f63dfa38c4e4a9049cc64a8b2748c83b7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/ba6e55359f8f755fe996c58a81e00eaa67a35877", - "reference": "ba6e55359f8f755fe996c58a81e00eaa67a35877", + "url": "https://api.github.com/repos/symfony/process/zipball/9ead139f63dfa38c4e4a9049cc64a8b2748c83b7", + "reference": "9ead139f63dfa38c4e4a9049cc64a8b2748c83b7", "shasum": "" }, "require": { @@ -2736,7 +2736,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.2.0" + "source": "https://github.com/symfony/process/tree/v6.2.5" }, "funding": [ { @@ -2752,7 +2752,7 @@ "type": "tidelift" } ], - "time": "2022-11-02T09:08:04+00:00" + "time": "2023-01-01T08:38:09+00:00" }, { "name": "symfony/service-contracts", @@ -3956,16 +3956,16 @@ }, { "name": "phpunit/phpunit", - "version": "10.0.0", + "version": "10.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "c4c60c34c0e92045afce938510f8878d7cd84f8a" + "reference": "140897d407ce1c9e0b6b5ced8663d442af7c5560" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/c4c60c34c0e92045afce938510f8878d7cd84f8a", - "reference": "c4c60c34c0e92045afce938510f8878d7cd84f8a", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/140897d407ce1c9e0b6b5ced8663d442af7c5560", + "reference": "140897d407ce1c9e0b6b5ced8663d442af7c5560", "shasum": "" }, "require": { @@ -4036,7 +4036,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.0.0" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.0.3" }, "funding": [ { @@ -4052,7 +4052,7 @@ "type": "tidelift" } ], - "time": "2023-02-03T07:16:15+00:00" + "time": "2023-02-04T13:39:07+00:00" }, { "name": "sebastian/cli-parser", diff --git a/src/Package/Writer.php b/src/Package/Writer.php index 2ccdc49f..28c6a5fc 100644 --- a/src/Package/Writer.php +++ b/src/Package/Writer.php @@ -27,7 +27,7 @@ public function dumpFiles(Package $package, string $dir): array $paths = []; $this->filesystem->dumpFile( - $paths[] = "${dir}/composer.json", + $paths[] = "{$dir}/composer.json", $composerJsonContent ); diff --git a/tests/Package/PackageTest.php b/tests/Package/PackageTest.php index 086f3337..dca6033c 100644 --- a/tests/Package/PackageTest.php +++ b/tests/Package/PackageTest.php @@ -13,6 +13,8 @@ class PackageTest extends TestCase { + private Package $builder; + public Package $pkgA; public Package $pkgAAlpha; public Package $pkgB;