Skip to content

Commit

Permalink
Ran php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
sebprt committed Jan 10, 2024
1 parent 9708028 commit f15cebe
Show file tree
Hide file tree
Showing 13 changed files with 34 additions and 13 deletions.
4 changes: 3 additions & 1 deletion src/Dockerfile/Copy.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

final readonly class Copy implements LayerInterface, \Stringable
{
public function __construct(private string $source, private string $destination) {}
public function __construct(private string $source, private string $destination)
{
}

/** @return \Iterator|self[] */
public static function directory(string $sourcePath, string $destinationPath): \Iterator
Expand Down
4 changes: 3 additions & 1 deletion src/Dockerfile/From.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

final readonly class From implements LayerInterface, \Stringable
{
public function __construct(private string $source) {}
public function __construct(private string $source)
{
}

public function __toString(): string
{
Expand Down
4 changes: 3 additions & 1 deletion src/Dockerfile/Label.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

final readonly class Label implements LayerInterface, \Stringable
{
public function __construct(private string $key, private string $value) {}
public function __construct(private string $key, private string $value)
{
}

public function __toString(): string
{
Expand Down
4 changes: 3 additions & 1 deletion src/Dockerfile/Maintainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

final readonly class Maintainer implements LayerInterface, \Stringable
{
public function __construct(private string $name, private string $email) {}
public function __construct(private string $name, private string $email)
{
}

public function __toString(): string
{
Expand Down
4 changes: 3 additions & 1 deletion src/Dockerfile/Run.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

final readonly class Run implements LayerInterface, \Stringable
{
public function __construct(private string $command) {}
public function __construct(private string $command)
{
}

public function __toString(): string
{
Expand Down
4 changes: 3 additions & 1 deletion src/Dockerfile/Workdir.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

final readonly class Workdir implements LayerInterface, \Stringable
{
public function __construct(private string $path) {}
public function __construct(private string $path)
{
}

public function __toString(): string
{
Expand Down
3 changes: 2 additions & 1 deletion src/PHP/ComposerAddComposerRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
public function __construct(
private string $name,
private string $url
) {}
) {
}

public function __toString(): string
{
Expand Down
3 changes: 2 additions & 1 deletion src/PHP/ComposerAddGithubRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
public function __construct(
private string $name,
private string $url
) {}
) {
}

public function __toString(): string
{
Expand Down
3 changes: 2 additions & 1 deletion src/PHP/ComposerAddVcsRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
public function __construct(
private string $name,
private string $url
) {}
) {
}

public function __toString(): string
{
Expand Down
3 changes: 2 additions & 1 deletion src/PHP/ComposerAuthenticationToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
public function __construct(
private string $url,
private string $token,
) {}
) {
}

public function __toString(): string
{
Expand Down
3 changes: 2 additions & 1 deletion src/PHP/ComposerAutoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ public function __construct(
* @param array<string, array<string, string|list<string>>> $autoloads
*/
private array $autoloads
) {}
) {
}

private static function command(string ...$command): string
{
Expand Down
4 changes: 3 additions & 1 deletion src/PHP/ComposerInit.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@

final readonly class ComposerInit implements Dockerfile\LayerInterface, \Stringable
{
public function __construct(private string $name) {}
public function __construct(private string $name)
{
}

public function __toString(): string
{
Expand Down
4 changes: 3 additions & 1 deletion src/PHP/ComposerMinimumStability.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@

final readonly class ComposerMinimumStability implements Dockerfile\LayerInterface, \Stringable
{
public function __construct(private string $minimumStability) {}
public function __construct(private string $minimumStability)
{
}

public function __toString(): string
{
Expand Down

0 comments on commit f15cebe

Please sign in to comment.