Skip to content

Commit c8cb914

Browse files
authored
Merge pull request #8 from php-etl/fix/composer-install
--prefer-stable and --sort-packages don't exist during composer install
2 parents 4e39e55 + 243874b commit c8cb914

14 files changed

+14
-35
lines changed

src/Dockerfile/Copy.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66

77
final readonly class Copy implements LayerInterface, \Stringable
88
{
9-
public function __construct(private string $source, private string $destination)
10-
{
11-
}
9+
public function __construct(private string $source, private string $destination) {}
1210

1311
/** @return \Iterator|self[] */
1412
public static function directory(string $sourcePath, string $destinationPath): \Iterator

src/Dockerfile/From.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66

77
final readonly class From implements LayerInterface, \Stringable
88
{
9-
public function __construct(private string $source)
10-
{
11-
}
9+
public function __construct(private string $source) {}
1210

1311
public function __toString(): string
1412
{

src/Dockerfile/Label.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66

77
final readonly class Label implements LayerInterface, \Stringable
88
{
9-
public function __construct(private string $key, private string $value)
10-
{
11-
}
9+
public function __construct(private string $key, private string $value) {}
1210

1311
public function __toString(): string
1412
{

src/Dockerfile/Maintainer.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66

77
final readonly class Maintainer implements LayerInterface, \Stringable
88
{
9-
public function __construct(private string $name, private string $email)
10-
{
11-
}
9+
public function __construct(private string $name, private string $email) {}
1210

1311
public function __toString(): string
1412
{

src/Dockerfile/Run.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66

77
final readonly class Run implements LayerInterface, \Stringable
88
{
9-
public function __construct(private string $command)
10-
{
11-
}
9+
public function __construct(private string $command) {}
1210

1311
public function __toString(): string
1412
{

src/Dockerfile/Workdir.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66

77
final readonly class Workdir implements LayerInterface, \Stringable
88
{
9-
public function __construct(private string $path)
10-
{
11-
}
9+
public function __construct(private string $path) {}
1210

1311
public function __toString(): string
1412
{

src/PHP/ComposerAddComposerRepository.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
public function __construct(
1212
private string $name,
1313
private string $url
14-
) {
15-
}
14+
) {}
1615

1716
public function __toString(): string
1817
{

src/PHP/ComposerAddGithubRepository.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
public function __construct(
1212
private string $name,
1313
private string $url
14-
) {
15-
}
14+
) {}
1615

1716
public function __toString(): string
1817
{

src/PHP/ComposerAddVcsRepository.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
public function __construct(
1212
private string $name,
1313
private string $url
14-
) {
15-
}
14+
) {}
1615

1716
public function __toString(): string
1817
{

src/PHP/ComposerAuthenticationToken.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
public function __construct(
1212
private string $url,
1313
private string $token,
14-
) {
15-
}
14+
) {}
1615

1716
public function __toString(): string
1817
{

0 commit comments

Comments
 (0)