Skip to content

Commit d6e6bd3

Browse files
LeoColombgithub-actions[bot]
authored andcommitted
Fix deprecation warnings
1 parent 2da8a6f commit d6e6bd3

File tree

3 files changed

+33
-31
lines changed

3 files changed

+33
-31
lines changed

composer.lock

Lines changed: 30 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Package/Writer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function dumpFiles(Package $package, string $dir): array
2727
$paths = [];
2828

2929
$this->filesystem->dumpFile(
30-
$paths[] = "${dir}/composer.json",
30+
$paths[] = "{$dir}/composer.json",
3131
$composerJsonContent
3232
);
3333

tests/Package/PackageTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
class PackageTest extends TestCase
1515
{
16+
private Package $builder;
17+
1618
public Package $pkgA;
1719
public Package $pkgAAlpha;
1820
public Package $pkgB;

0 commit comments

Comments
 (0)