Skip to content

Commit 91da338

Browse files
authored
Merge branch 'main' into feature/copy-filesystem
2 parents f8ee82b + 85aaa1f commit 91da338

File tree

16 files changed

+31
-24
lines changed

16 files changed

+31
-24
lines changed

bin/satellite

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ $app->addCommands([
2525
new \Kiboko\Component\Satellite\Console\Command\ValidateCommand(),
2626
new \Kiboko\Component\Satellite\Console\Command\PipelineRunCommand(),
2727
new \Kiboko\Component\Satellite\Console\Command\WorkflowRunCommand(),
28+
new \Kiboko\Component\Satellite\Console\Command\RunCommand(),
2829
]);
2930

3031
$app->run(new Input\ArgvInput(), new Output\ConsoleOutput());

rector.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
declare(strict_types=1);
44

55
use Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector;
6+
use Rector\CodingStyle\Rector\String_\UseClassKeywordForClassNameResolutionRector;
67
use Rector\Config\RectorConfig;
78
use Rector\Php55\Rector\String_\StringClassNameToClassConstantRector;
89
use Rector\Set\ValueObject\LevelSetList;
@@ -22,7 +23,5 @@
2223
SymfonyLevelSetList::UP_TO_SYMFONY_60,
2324
]);
2425

25-
$rectorConfig->skip([
26-
StringClassNameToClassConstantRector::class
27-
]);
26+
$rectorConfig->skip([StringClassNameToClassConstantRector::class]);
2827
};

src/Action/Custom/Service.php

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

1414
#[Configurator\Action(
1515
name: 'custom',
16+
dependencies: [
17+
'symfony/dependency-injection:^6.0',
18+
],
1619
)]
1720
final readonly class Service implements Configurator\ActionInterface
1821
{

src/Action/SFTP/Builder/Action.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function withState(Node\Expr $state): self
3838
public function getNode(): Node
3939
{
4040
return new Node\Expr\New_(
41-
class: new Node\Name\FullyQualified('Kiboko\Component\Action\Flow\SFTP\UploadFile'),
41+
class: new Node\Name\FullyQualified('Kiboko\\Component\\Action\\Flow\\SFTP\\UploadFile'),
4242
args: [
4343
new Node\Arg(
4444
value: $this->host,

src/Feature/Rejection/Builder/Rejection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function withRejection(Node\Expr $rejection): void
2222
private static function nullRejection(): Node\Expr
2323
{
2424
return new Node\Expr\New_(
25-
new Node\Name\FullyQualified(\Kiboko\Contract\Pipeline\NullRejection::class)
25+
new Node\Name\FullyQualified('Kiboko\\Contract\\Pipeline\\NullRejection')
2626
);
2727
}
2828

src/Feature/Rejection/Factory/Repository/RabbitMQRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function __construct(private readonly Rejection\Builder\RabbitMQBuilder $
1515
{
1616
$this->files = [];
1717
$this->packages = [
18-
'php-etl/rabbitmq-flow',
18+
'php-etl/rabbitmq-flow:*',
1919
];
2020
}
2121

src/Pipeline/Loader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function __invoke(array $config, Pipeline $pipeline, StepRepositoryInterf
5050
$rejection = $compiled->getBuilder()->getNode();
5151
} else {
5252
$rejection = new Node\Expr\New_(
53-
new Node\Name\FullyQualified(\Kiboko\Contract\Pipeline\NullStepRejection::class),
53+
new Node\Name\FullyQualified('Kiboko\\Contract\\Pipeline\\NullStepRejection'),
5454
);
5555
}
5656

@@ -62,7 +62,7 @@ public function __invoke(array $config, Pipeline $pipeline, StepRepositoryInterf
6262
$state = $compiled->getBuilder()->getNode();
6363
} else {
6464
$state = new Node\Expr\New_(
65-
new Node\Name\FullyQualified(\Kiboko\Contract\Pipeline\NullStepState::class),
65+
new Node\Name\FullyQualified('Kiboko\\Contract\\Pipeline\\NullStepState'),
6666
);
6767
}
6868

src/Pipeline/Transformer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function __invoke(array $config, Pipeline $pipeline, StepRepositoryInterf
5050
$rejection = $compiled->getBuilder()->getNode();
5151
} else {
5252
$rejection = new Node\Expr\New_(
53-
new Node\Name\FullyQualified(\Kiboko\Contract\Pipeline\NullStepRejection::class),
53+
new Node\Name\FullyQualified('Kiboko\\Contract\\Pipeline\\NullStepRejection'),
5454
);
5555
}
5656

@@ -62,7 +62,7 @@ public function __invoke(array $config, Pipeline $pipeline, StepRepositoryInterf
6262
$state = $compiled->getBuilder()->getNode();
6363
} else {
6464
$state = new Node\Expr\New_(
65-
new Node\Name\FullyQualified(\Kiboko\Contract\Pipeline\NullStepState::class),
65+
new Node\Name\FullyQualified('Kiboko\\Contract\\Pipeline\\NullStepState'),
6666
);
6767
}
6868

src/Plugin/Batching/Builder/Fork.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class: new Node\Stmt\Class_(
5252
name: null,
5353
subNodes: [
5454
'implements' => [
55-
new Node\Name\FullyQualified('Kiboko\\Contract\\Pipeline\\TransformerInterface::class'),
55+
new Node\Name\FullyQualified('Kiboko\\Contract\\Pipeline\\TransformerInterface'),
5656
],
5757
'stmts' => [
5858
new Node\Stmt\ClassMethod(

src/Plugin/Batching/Builder/Merge.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ class: new Node\Stmt\Class_(
4545
name: null,
4646
subNodes: [
4747
'implements' => [
48-
new Node\Name\FullyQualified(\Kiboko\Contract\Pipeline\TransformerInterface::class),
49-
new Node\Name\FullyQualified(\Kiboko\Contract\Pipeline\FlushableInterface::class),
48+
new Node\Name\FullyQualified('Kiboko\\Contract\\Pipeline\\TransformerInterface'),
49+
new Node\Name\FullyQualified('Kiboko\\Contract\\Pipeline\\FlushableInterface'),
5050
],
5151
'stmts' => [
5252
new Node\Stmt\Property(
@@ -226,7 +226,7 @@ class: new Node\Name\FullyQualified('Kiboko\\Component\\Bucket\\AcceptanceResult
226226
)
227227
),
228228
],
229-
'returnType' => new Node\Name\FullyQualified(\Kiboko\Contract\Bucket\ResultBucketInterface::class),
229+
'returnType' => new Node\Name\FullyQualified('Kiboko\\Contract\\Bucket\\ResultBucketInterface'),
230230
],
231231
),
232232
],

0 commit comments

Comments
 (0)