Skip to content

Commit e9671a8

Browse files
committed
use php cs fixer
1 parent 92cb153 commit e9671a8

File tree

137 files changed

+343
-138
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+343
-138
lines changed

src/Action/Action.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515

1616
final readonly class Action
1717
{
18-
public function __construct(private ?string $plugin, private ExpressionLanguage $interpreter = new Satellite\ExpressionLanguage()) {}
18+
public function __construct(private ?string $plugin, private ExpressionLanguage $interpreter = new Satellite\ExpressionLanguage())
19+
{
20+
}
1921

2022
public function __invoke(array $config, ActionBuilder $action, RepositoryInterface $repository): void
2123
{

src/Action/ConfigurationApplier.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ public function __construct(
1717
private readonly string $plugin,
1818
private readonly FactoryInterface $service,
1919
private readonly ExpressionLanguage $interpreter,
20-
) {}
20+
) {
21+
}
2122

2223
public function withAction(): self
2324
{

src/Action/Custom/Builder/Action.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ final class Action implements ActionBuilderInterface
1212
private ?Node\Expr $logger = null;
1313
private ?Node\Expr $state = null;
1414

15-
public function __construct(private readonly Node\Expr $service, private readonly string $containerNamespace) {}
15+
public function __construct(private readonly Node\Expr $service, private readonly string $containerNamespace)
16+
{
17+
}
1618

1719
public function withLogger(Node\Expr $logger): self
1820
{

src/Action/SFTP/Builder/Action.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ public function __construct(
1818
private readonly Node\Expr $password,
1919
private readonly Node\Expr $localFilePath,
2020
private readonly Node\Expr $serverFilePath,
21-
) {}
21+
) {
22+
}
2223

2324
public function withLogger(Node\Expr $logger): self
2425
{

src/Action/SFTP/Factory/Repository/Repository.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010

1111
final readonly class Repository implements Configurator\RepositoryInterface
1212
{
13-
public function __construct(private Builder\Action $builder) {}
13+
public function __construct(private Builder\Action $builder)
14+
{
15+
}
1416

1517
public function addFiles(Packaging\FileInterface|Packaging\DirectoryInterface ...$files): self
1618
{

src/Adapter/AdapterChoice.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
{
1111
public function __construct(
1212
private array $adapters,
13-
) {}
13+
) {
14+
}
1415

1516
public function __invoke(array $configuration): Configurator\SatelliteBuilderInterface
1617
{

src/Adapter/AdapterNotFoundException.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44

55
namespace Kiboko\Component\Satellite\Adapter;
66

7-
final class AdapterNotFoundException extends \RuntimeException {}
7+
final class AdapterNotFoundException extends \RuntimeException
8+
{
9+
}

src/Adapter/Docker/FileOrDirectoryNotFoundException.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44

55
namespace Kiboko\Component\Satellite\Adapter\Docker;
66

7-
class FileOrDirectoryNotFoundException extends \RuntimeException {}
7+
class FileOrDirectoryNotFoundException extends \RuntimeException
8+
{
9+
}

src/Adapter/Docker/NetworkInterface.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44

55
namespace Kiboko\Component\Satellite\Adapter\Docker;
66

7-
interface NetworkInterface {}
7+
interface NetworkInterface
8+
{
9+
}

src/Builder/API/PipelineBuilder.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99

1010
final readonly class PipelineBuilder
1111
{
12-
public function __construct(private Builder $builder) {}
12+
public function __construct(private Builder $builder)
13+
{
14+
}
1315

1416
public function getNode(): Node\Expr
1517
{

src/Builder/Action.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ final class Action implements Builder
1313

1414
public function __construct(
1515
private readonly Node\Expr $runtime,
16-
) {}
16+
) {
17+
}
1718

1819
public function addAction(
1920
Node\Expr|Builder $loader,

src/Builder/Hook/PipelineBuilder.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99

1010
final readonly class PipelineBuilder
1111
{
12-
public function __construct(private Builder $builder) {}
12+
public function __construct(private Builder $builder)
13+
{
14+
}
1315

1416
public function getNode(): Node\Expr
1517
{

src/Builder/Pipeline.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ final class Pipeline implements Builder
1313

1414
public function __construct(
1515
private readonly Node\Expr $runtime
16-
) {}
16+
) {
17+
}
1718

1819
public function addExtractor(
1920
Node\Expr|Builder $extractor,

src/Builder/Repository/API.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ final class API implements Configurator\RepositoryInterface
1515
/** @var string[] */
1616
private array $packages = [];
1717

18-
public function __construct(private readonly Satellite\Builder\API $builder) {}
18+
public function __construct(private readonly Satellite\Builder\API $builder)
19+
{
20+
}
1921

2022
public function addFiles(Packaging\FileInterface|Packaging\DirectoryInterface ...$files): Configurator\RepositoryInterface
2123
{

src/Builder/Repository/Action.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ final class Action implements Configurator\RepositoryInterface
1515
/** @var string[] */
1616
private array $packages = [];
1717

18-
public function __construct(private readonly Satellite\Builder\Action $builder) {}
18+
public function __construct(private readonly Satellite\Builder\Action $builder)
19+
{
20+
}
1921

2022
public function addFiles(Packaging\FileInterface|Packaging\DirectoryInterface ...$files): Configurator\RepositoryInterface
2123
{

src/Builder/Repository/Hook.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ final class Hook implements Configurator\RepositoryInterface
1515
/** @var string[] */
1616
private array $packages = [];
1717

18-
public function __construct(private readonly Satellite\Builder\Hook $builder) {}
18+
public function __construct(private readonly Satellite\Builder\Hook $builder)
19+
{
20+
}
1921

2022
public function addFiles(Packaging\FileInterface|Packaging\DirectoryInterface ...$files): Configurator\RepositoryInterface
2123
{

src/Builder/Repository/Pipeline.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ final class Pipeline implements Configurator\RepositoryInterface
1515
/** @var string[] */
1616
private array $packages = [];
1717

18-
public function __construct(private readonly Satellite\Builder\Pipeline $builder) {}
18+
public function __construct(private readonly Satellite\Builder\Pipeline $builder)
19+
{
20+
}
1921

2022
public function addFiles(Packaging\FileInterface|Packaging\DirectoryInterface ...$files): Configurator\RepositoryInterface
2123
{

src/Builder/Repository/Workflow.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ final class Workflow implements Configurator\RepositoryInterface
1515
/** @var string[] */
1616
private array $packages = [];
1717

18-
public function __construct(private readonly Satellite\Builder\Workflow $builder) {}
18+
public function __construct(private readonly Satellite\Builder\Workflow $builder)
19+
{
20+
}
1921

2022
public function addFiles(Packaging\FileInterface|Packaging\DirectoryInterface ...$files): Configurator\RepositoryInterface
2123
{

src/Builder/Workflow.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ final class Workflow implements Builder
1313

1414
public function __construct(
1515
private readonly Node\Expr $runtime
16-
) {}
16+
) {
17+
}
1718

1819
public function addPipeline(
1920
string $pipelineFilename,

src/Builder/Workflow/ActionBuilder.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99

1010
final readonly class ActionBuilder implements Builder
1111
{
12-
public function __construct(private Builder $builder) {}
12+
public function __construct(private Builder $builder)
13+
{
14+
}
1315

1416
public function getNode(): Node\Expr
1517
{

src/Builder/Workflow/PipelineBuilder.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99

1010
final readonly class PipelineBuilder implements Builder
1111
{
12-
public function __construct(private Builder $builder) {}
12+
public function __construct(private Builder $builder)
13+
{
14+
}
1315

1416
public function getNode(): Node\Expr
1517
{

src/Cloud/AccessDeniedException.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44

55
namespace Kiboko\Component\Satellite\Cloud;
66

7-
final class AccessDeniedException extends \RuntimeException {}
7+
final class AccessDeniedException extends \RuntimeException
8+
{
9+
}

src/Cloud/AddAfterPipelineStepFailedException.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44

55
namespace Kiboko\Component\Satellite\Cloud;
66

7-
class AddAfterPipelineStepFailedException extends \RuntimeException {}
7+
class AddAfterPipelineStepFailedException extends \RuntimeException
8+
{
9+
}

src/Cloud/AddBeforePipelineStepFailedException.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44

55
namespace Kiboko\Component\Satellite\Cloud;
66

7-
class AddBeforePipelineStepFailedException extends \RuntimeException {}
7+
class AddBeforePipelineStepFailedException extends \RuntimeException
8+
{
9+
}

src/Cloud/AddPipelineComposerPSR4AutoloadFailedException.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44

55
namespace Kiboko\Component\Satellite\Cloud;
66

7-
class AddPipelineComposerPSR4AutoloadFailedException extends \RuntimeException {}
7+
class AddPipelineComposerPSR4AutoloadFailedException extends \RuntimeException
8+
{
9+
}

src/Cloud/AddPipelineStepProbeFailedException.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44

55
namespace Kiboko\Component\Satellite\Cloud;
66

7-
class AddPipelineStepProbeFailedException extends \RuntimeException {}
7+
class AddPipelineStepProbeFailedException extends \RuntimeException
8+
{
9+
}

src/Cloud/AppendPipelineStepFailedException.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44

55
namespace Kiboko\Component\Satellite\Cloud;
66

7-
class AppendPipelineStepFailedException extends \RuntimeException {}
7+
class AppendPipelineStepFailedException extends \RuntimeException
8+
{
9+
}

src/Cloud/Command/Command.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44

55
namespace Kiboko\Component\Satellite\Cloud\Command;
66

7-
interface Command {}
7+
interface Command
8+
{
9+
}

src/Cloud/Command/Pipeline/AddAfterPipelineStepCommand.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ public function __construct(
1515
public PipelineId $pipeline,
1616
public StepCode $previous,
1717
public Step $step,
18-
) {}
18+
) {
19+
}
1920
}

src/Cloud/Command/Pipeline/AddBeforePipelineStepCommand.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ public function __construct(
1515
public PipelineId $pipeline,
1616
public StepCode $next,
1717
public Step $step,
18-
) {}
18+
) {
19+
}
1920
}

src/Cloud/Command/Pipeline/AddPipelineComposerPSR4AutoloadCommand.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ public function __construct(
1313
public PipelineId $pipeline,
1414
public string $namespace,
1515
public array $paths
16-
) {}
16+
) {
17+
}
1718
}

src/Cloud/Command/Pipeline/AddPipelineStepProbeCommand.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ public function __construct(
1313
public DTO\PipelineId $pipeline,
1414
public DTO\StepCode $stepCode,
1515
public DTO\Probe $probe,
16-
) {}
16+
) {
17+
}
1718
}

src/Cloud/Command/Pipeline/AppendPipelineStepCommand.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ final class AppendPipelineStepCommand implements Command
1313
public function __construct(
1414
public PipelineId $pipeline,
1515
public Step $step,
16-
) {}
16+
) {
17+
}
1718
}

src/Cloud/Command/Pipeline/CompilePipelineCommand.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ final class CompilePipelineCommand implements Command
1111
{
1212
public function __construct(
1313
public PipelineId $pipeline
14-
) {}
14+
) {
15+
}
1516
}

src/Cloud/Command/Pipeline/DeclarePipelineCommand.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@ public function __construct(
1919
public DTO\AuthList $auths,
2020
public DTO\OrganizationId $organizationId,
2121
public DTO\WorkspaceId $project,
22-
) {}
22+
) {
23+
}
2324
}

src/Cloud/Command/Pipeline/MoveAfterPipelineStepCommand.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ public function __construct(
1414
public PipelineId $pipeline,
1515
public StepCode $previous,
1616
public StepCode $current,
17-
) {}
17+
) {
18+
}
1819
}

src/Cloud/Command/Pipeline/MoveBeforePipelineStepCommand.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ public function __construct(
1414
public PipelineId $pipeline,
1515
public StepCode $next,
1616
public StepCode $current,
17-
) {}
17+
) {
18+
}
1819
}

src/Cloud/Command/Pipeline/PrependPipelineStepCommand.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ final class PrependPipelineStepCommand implements Command
1313
public function __construct(
1414
public PipelineId $pipeline,
1515
public Step $step,
16-
) {}
16+
) {
17+
}
1718
}

src/Cloud/Command/Pipeline/RemovePipelineCommand.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ final class RemovePipelineCommand implements Command
1111
{
1212
public function __construct(
1313
public PipelineId $pipeline,
14-
) {}
14+
) {
15+
}
1516
}

src/Cloud/Command/Pipeline/RemovePipelineStepCommand.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ final class RemovePipelineStepCommand implements Command
1313
public function __construct(
1414
public PipelineId $pipeline,
1515
public StepCode $code,
16-
) {}
16+
) {
17+
}
1718
}

src/Cloud/Command/Pipeline/RemovePipelineStepProbeCommand.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ public function __construct(
1313
public DTO\PipelineId $pipeline,
1414
public DTO\StepCode $stepCode,
1515
public DTO\Probe $probe,
16-
) {}
16+
) {
17+
}
1718
}

src/Cloud/Command/Pipeline/ReplacePipelineStepCommand.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ public function __construct(
1515
public PipelineId $pipeline,
1616
public StepCode $former,
1717
public Step $step,
18-
) {}
18+
) {
19+
}
1920
}

src/Cloud/CommandBus.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ final class CommandBus
1616

1717
public function __construct(
1818
private readonly array $handlers
19-
) {}
19+
) {
20+
}
2021

2122
public static function withStandardHandlers(Client $client): self
2223
{

0 commit comments

Comments
 (0)