Skip to content

Commit

Permalink
Fix deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoColomb authored and github-actions[bot] committed Feb 4, 2023
1 parent 2da8a6f commit d6e6bd3
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 31 deletions.
60 changes: 30 additions & 30 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Package/Writer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
);

Expand Down
2 changes: 2 additions & 0 deletions tests/Package/PackageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

class PackageTest extends TestCase
{
private Package $builder;

public Package $pkgA;
public Package $pkgAAlpha;
public Package $pkgB;
Expand Down

0 comments on commit d6e6bd3

Please sign in to comment.