diff --git a/src/Action/Action.php b/src/Action/Action.php index 4e40eb23..33d035ba 100644 --- a/src/Action/Action.php +++ b/src/Action/Action.php @@ -45,7 +45,7 @@ public function __invoke(array $config, ActionBuilder $action, RepositoryInterfa $state = $compiled->getBuilder()->getNode(); } else { $state = new Node\Expr\New_( - new Node\Name\FullyQualified(\Kiboko\Contract\Action\NullState::class), + new Node\Name\FullyQualified('Kiboko\\Contract\\Action\\NullState'), ); } diff --git a/src/Builder/API/APIRuntime.php b/src/Builder/API/APIRuntime.php index b1034b10..84f36637 100644 --- a/src/Builder/API/APIRuntime.php +++ b/src/Builder/API/APIRuntime.php @@ -15,15 +15,15 @@ class: new Node\Name\FullyQualified('Kiboko\\Component\\Runtime\\API\\APIRuntime args: [ new Node\Arg( value: new Node\Expr\New_( - class: new Node\Name\FullyQualified(\Kiboko\Component\Pipeline\Pipeline::class), + class: new Node\Name\FullyQualified('Kiboko\\Component\\Pipeline\\Pipeline'), args: [ new Node\Arg( value: new Node\Expr\New_( - class: new Node\Name\FullyQualified(\Kiboko\Component\Pipeline\PipelineRunner::class), + class: new Node\Name\FullyQualified('Kiboko\\Component\\Pipeline\\PipelineRunner'), args: [ new Node\Arg( value: new Node\Expr\New_( - class: new Node\Name\FullyQualified(\Psr\Log\NullLogger::class) + class: new Node\Name\FullyQualified('Psr\\Log\\NullLogger') ) ), ] diff --git a/src/Builder/Hook/HookRuntime.php b/src/Builder/Hook/HookRuntime.php index bb348507..f9cce9fa 100644 --- a/src/Builder/Hook/HookRuntime.php +++ b/src/Builder/Hook/HookRuntime.php @@ -15,15 +15,15 @@ class: new Node\Name\FullyQualified('Kiboko\\Component\\Runtime\\Hook\\HookRunti args: [ new Node\Arg( value: new Node\Expr\New_( - class: new Node\Name\FullyQualified(\Kiboko\Component\Pipeline\Pipeline::class), + class: new Node\Name\FullyQualified('Kiboko\\Component\\Pipeline\\Pipeline'), args: [ new Node\Arg( value: new Node\Expr\New_( - class: new Node\Name\FullyQualified(\Kiboko\Component\Pipeline\PipelineRunner::class), + class: new Node\Name\FullyQualified('Kiboko\\Component\\Pipeline\\PipelineRunner'), args: [ new Node\Arg( value: new Node\Expr\New_( - class: new Node\Name\FullyQualified(\Psr\Log\NullLogger::class) + class: new Node\Name\FullyQualified('Psr\\Log\\NullLogger') ) ), ] diff --git a/src/Builder/Pipeline/ConsoleRuntime.php b/src/Builder/Pipeline/ConsoleRuntime.php index b77af50f..1c42e17f 100644 --- a/src/Builder/Pipeline/ConsoleRuntime.php +++ b/src/Builder/Pipeline/ConsoleRuntime.php @@ -12,24 +12,24 @@ final class ConsoleRuntime implements Builder public function getNode(): Node\Expr { return new Node\Expr\New_( - class: new Node\Name\FullyQualified(\Kiboko\Component\Runtime\Pipeline\Console::class), + class: new Node\Name\FullyQualified('Kiboko\\Component\\Runtime\\Pipeline\\Console'), args: [ new Node\Arg( value: new Node\Expr\New_( - class: new Node\Name\FullyQualified(\Symfony\Component\Console\Output\ConsoleOutput::class), + class: new Node\Name\FullyQualified('Symfony\\Component\\Console\\Output\\ConsoleOutput'), ) ), new Node\Arg( value: new Node\Expr\New_( - class: new Node\Name\FullyQualified(\Kiboko\Component\Pipeline\Pipeline::class), + class: new Node\Name\FullyQualified('Kiboko\\Component\\Pipeline\\Pipeline'), args: [ new Node\Arg( new Node\Expr\New_( - class: new Node\Name\FullyQualified(\Kiboko\Component\Pipeline\PipelineRunner::class), + class: new Node\Name\FullyQualified('Kiboko\\Component\\Pipeline\\PipelineRunner'), args: [ new Node\Arg( value: new Node\Expr\New_( - class: new Node\Name\FullyQualified(\Psr\Log\NullLogger::class), + class: new Node\Name\FullyQualified('Psr\\Log\\NullLogger'), ) ), ], diff --git a/src/Builder/Workflow.php b/src/Builder/Workflow.php index db023e7b..478eb825 100644 --- a/src/Builder/Workflow.php +++ b/src/Builder/Workflow.php @@ -24,7 +24,7 @@ public function addPipeline(string $code, string $pipelineFilename): self args: [ new Node\Arg( new Node\Expr\StaticCall( - new Node\Name\FullyQualified(\Kiboko\Component\Workflow\JobCode::class), + new Node\Name\FullyQualified('Kiboko\\Component\\Workflow\\JobCode'), new Node\Identifier('fromString'), [ new Node\Arg(new Node\Scalar\String_($code)), @@ -38,7 +38,7 @@ public function addPipeline(string $code, string $pipelineFilename): self args: [ new Node\Arg( new Node\Expr\StaticCall( - new Node\Name\FullyQualified(\Kiboko\Component\Workflow\JobCode::class), + new Node\Name\FullyQualified('Kiboko\\Component\\Workflow\\JobCode'), new Node\Identifier('fromString'), [ new Node\Arg(new Node\Scalar\String_($code)), @@ -73,7 +73,7 @@ public function addAction(string $code, string $pipelineFilename): self args: [ new Node\Arg( new Node\Expr\StaticCall( - new Node\Name\FullyQualified(\Kiboko\Component\Workflow\JobCode::class), + new Node\Name\FullyQualified('Kiboko\\Component\\Workflow\\JobCode'), new Node\Identifier('fromString'), [ new Node\Arg(new Node\Scalar\String_($code)), @@ -87,7 +87,7 @@ public function addAction(string $code, string $pipelineFilename): self args: [ new Node\Arg( new Node\Expr\StaticCall( - new Node\Name\FullyQualified(\Kiboko\Component\Workflow\JobCode::class), + new Node\Name\FullyQualified('Kiboko\\Component\\Workflow\\JobCode'), new Node\Identifier('fromString'), [ new Node\Arg(new Node\Scalar\String_($code)), diff --git a/src/Builder/Workflow/ActionBuilder.php b/src/Builder/Workflow/ActionBuilder.php index e9e162b4..62fa9924 100644 --- a/src/Builder/Workflow/ActionBuilder.php +++ b/src/Builder/Workflow/ActionBuilder.php @@ -21,7 +21,7 @@ public function getNode(): Node\Expr 'params' => [ new Node\Param( var: new Node\Expr\Variable('runtime'), - type: new Node\Name\FullyQualified(\Kiboko\Component\Runtime\Action\ActionRuntimeInterface::class), + type: new Node\Name\FullyQualified('Kiboko\\Component\\Runtime\\Action\\ActionRuntimeInterface'), ), ], 'stmts' => [ diff --git a/src/Builder/Workflow/PipelineBuilder.php b/src/Builder/Workflow/PipelineBuilder.php index 44481f52..f9a4485f 100644 --- a/src/Builder/Workflow/PipelineBuilder.php +++ b/src/Builder/Workflow/PipelineBuilder.php @@ -21,7 +21,7 @@ public function getNode(): Node\Expr 'params' => [ new Node\Param( var: new Node\Expr\Variable('runtime'), - type: new Node\Name\FullyQualified(\Kiboko\Component\Runtime\Pipeline\PipelineRuntimeInterface::class), + type: new Node\Name\FullyQualified('Kiboko\\Component\\Runtime\\Pipeline\\PipelineRuntimeInterface'), ), ], 'stmts' => [ diff --git a/src/Builder/Workflow/WorkflowRuntime.php b/src/Builder/Workflow/WorkflowRuntime.php index 92198b45..7e97f832 100644 --- a/src/Builder/Workflow/WorkflowRuntime.php +++ b/src/Builder/Workflow/WorkflowRuntime.php @@ -12,20 +12,20 @@ final class WorkflowRuntime implements Builder public function getNode(): Node\Expr { return new Node\Expr\New_( - class: new Node\Name\FullyQualified(\Kiboko\Component\Runtime\Workflow\Console::class), + class: new Node\Name\FullyQualified('Kiboko\\Component\\Runtime\\Workflow\\Console'), args: [ new Node\Arg( value: new Node\Expr\New_( - class: new Node\Name\FullyQualified(\Symfony\Component\Console\Output\ConsoleOutput::class), + class: new Node\Name\FullyQualified('Symfony\\Component\\Console\\Output\\ConsoleOutput'), ) ), new Node\Arg( new Node\Expr\New_( - class: new Node\Name\FullyQualified(\Kiboko\Component\Pipeline\PipelineRunner::class), + class: new Node\Name\FullyQualified('Kiboko\\Component\\Pipeline\\PipelineRunner'), args: [ new Node\Arg( value: new Node\Expr\New_( - class: new Node\Name\FullyQualified(\Psr\Log\NullLogger::class), + class: new Node\Name\FullyQualified('Psr\\Log\\NullLogger'), ) ), ], diff --git a/src/Plugin/Batching/Builder/Fork.php b/src/Plugin/Batching/Builder/Fork.php index 150e6ace..cb23858c 100644 --- a/src/Plugin/Batching/Builder/Fork.php +++ b/src/Plugin/Batching/Builder/Fork.php @@ -52,7 +52,7 @@ class: new Node\Stmt\Class_( name: null, subNodes: [ 'implements' => [ - new Node\Name\FullyQualified(\Kiboko\Contract\Pipeline\TransformerInterface::class), + new Node\Name\FullyQualified('Kiboko\\Contract\\Pipeline\\TransformerInterface'), ], 'stmts' => [ new Node\Stmt\ClassMethod( @@ -72,7 +72,7 @@ class: new Node\Stmt\Class_( expr: new Node\Expr\Yield_( new Node\Expr\New_( class: new Node\Name\FullyQualified( - name: \Kiboko\Component\Bucket\AcceptanceResultBucket::class + name: 'Kiboko\\Component\\Bucket\\AcceptanceResultBucket' ), args: [ new Node\Arg( diff --git a/src/Plugin/Batching/Builder/Merge.php b/src/Plugin/Batching/Builder/Merge.php index a59cb873..ec32ee89 100644 --- a/src/Plugin/Batching/Builder/Merge.php +++ b/src/Plugin/Batching/Builder/Merge.php @@ -45,8 +45,8 @@ class: new Node\Stmt\Class_( name: null, subNodes: [ 'implements' => [ - new Node\Name\FullyQualified(\Kiboko\Contract\Pipeline\TransformerInterface::class), - new Node\Name\FullyQualified(\Kiboko\Contract\Pipeline\FlushableInterface::class), + new Node\Name\FullyQualified('Kiboko\\Contract\\Pipeline\\TransformerInterface'), + new Node\Name\FullyQualified('Kiboko\\Contract\\Pipeline\\FlushableInterface'), ], 'stmts' => [ new Node\Stmt\Property( @@ -146,7 +146,7 @@ class: new Node\Stmt\Class_( var: new Node\Expr\Variable('line'), expr: new Node\Expr\Yield_( value: new Node\Expr\New_( - class: new Node\Name\FullyQualified(\Kiboko\Component\Bucket\AcceptanceResultBucket::class), + class: new Node\Name\FullyQualified('Kiboko\\Component\\Bucket\\AcceptanceResultBucket:'), args: [ new Node\Arg( new Node\Expr\PropertyFetch( @@ -192,7 +192,7 @@ class: new Node\Name\FullyQualified(\Kiboko\Component\Bucket\AcceptanceResultBuc var: new Node\Expr\Variable('line'), expr: new Node\Expr\Yield_( value: new Node\Expr\New_( - class: new Node\Name\FullyQualified(\Kiboko\Component\Bucket\EmptyResultBucket::class) + class: new Node\Name\FullyQualified('Kiboko\\Component\\Bucket\\EmptyResultBucket') ), ), ), @@ -214,7 +214,7 @@ class: new Node\Name\FullyQualified(\Kiboko\Component\Bucket\EmptyResultBucket:: 'stmts' => [ new Node\Stmt\Return_( expr: new Node\Expr\New_( - class: new Node\Name\FullyQualified(\Kiboko\Component\Bucket\AcceptanceResultBucket::class), + class: new Node\Name\FullyQualified('Kiboko\\Component\\Bucket\\AcceptanceResultBucket'), args: [ new Node\Arg( new Node\Expr\PropertyFetch( @@ -226,7 +226,7 @@ class: new Node\Name\FullyQualified(\Kiboko\Component\Bucket\AcceptanceResultBuc ) ), ], - 'returnType' => new Node\Name\FullyQualified(\Kiboko\Contract\Bucket\ResultBucketInterface::class), + 'returnType' => new Node\Name\FullyQualified('Kiboko\\Contract\\Bucket\\ResultBucketInterface'), ], ), ], diff --git a/src/Plugin/FTP/Builder/Loader.php b/src/Plugin/FTP/Builder/Loader.php index 2bfdfb78..dce6bac4 100644 --- a/src/Plugin/FTP/Builder/Loader.php +++ b/src/Plugin/FTP/Builder/Loader.php @@ -218,7 +218,7 @@ class: new Node\Stmt\Class_( name: null, subNodes: [ 'implements' => [ - new Node\Name\FullyQualified(\Kiboko\Contract\Pipeline\LoaderInterface::class), + new Node\Name\FullyQualified('Kiboko\\Contract\\Pipeline\\LoaderInterface:'), ], 'stmts' => [ new Node\Stmt\ClassMethod( @@ -228,7 +228,7 @@ class: new Node\Stmt\Class_( 'params' => [ new Node\Param( var: new Node\Expr\Variable('logger'), - type: new Node\Name\FullyQualified(name: \Psr\Log\LoggerInterface::class), + type: new Node\Name\FullyQualified(name: 'Psr\\Log\\LoggerInterface'), flags: Node\Stmt\Class_::MODIFIER_PRIVATE, ), ], @@ -291,7 +291,7 @@ class: new Node\Stmt\Class_( new Node\Expr\Assign( var: new Node\Expr\Variable('bucket'), expr: new Node\Expr\New_( - class: new Node\Name\FullyQualified(\Kiboko\Component\Bucket\ComplexResultBucket::class) + class: new Node\Name\FullyQualified('Kiboko\\Component\\Bucket\\ComplexResultBucket') ) ) ), @@ -510,7 +510,7 @@ class: new Node\Name\FullyQualified(\Kiboko\Component\Bucket\ComplexResultBucket ], ), args: [ - new Node\Arg(value: $this->logger ?? new Node\Expr\New_(new Node\Name\FullyQualified(\Psr\Log\NullLogger::class))), + new Node\Arg(value: $this->logger ?? new Node\Expr\New_(new Node\Name\FullyQualified('Psr\\Log\\NullLogger'))), ] ); } diff --git a/src/Plugin/Filtering/Builder/Drop.php b/src/Plugin/Filtering/Builder/Drop.php index 1abb8402..32ae3f7e 100644 --- a/src/Plugin/Filtering/Builder/Drop.php +++ b/src/Plugin/Filtering/Builder/Drop.php @@ -4,10 +4,7 @@ namespace Kiboko\Component\Satellite\Plugin\Filtering\Builder; -use Kiboko\Component\Bucket\AcceptanceResultBucket; -use Kiboko\Component\Bucket\RejectionResultBucket; use Kiboko\Contract\Configurator\StepBuilderInterface; -use Kiboko\Contract\Pipeline\TransformerInterface; use PhpParser\Builder; use PhpParser\Node; @@ -98,12 +95,12 @@ public function getNode(): Node return new Node\Expr\New_( class: new Node\Stmt\Class_(null, [ 'implements' => [ - new Node\Name\FullyQualified(TransformerInterface::class), + new Node\Name\FullyQualified('Kiboko\\Contract\\Pipeline\\TransformerInterface'), ], 'stmts' => [ (new Builder\Method('transform')) ->makePublic() - ->setReturnType(new Node\Name\FullyQualified(\Generator::class)) + ->setReturnType(new Node\Name\FullyQualified('Generator')) ->addStmts([ new Node\Stmt\Expression( new Node\Expr\Assign( @@ -125,7 +122,7 @@ class: new Node\Stmt\Class_(null, [ new Node\Expr\Variable('input'), new Node\Expr\Yield_( new Node\Expr\New_( - new Node\Name\FullyQualified(RejectionResultBucket::class), + new Node\Name\FullyQualified('Kiboko\\Component\\Bucket\\RejectionResultBucket'), ), ), ), @@ -139,7 +136,7 @@ class: new Node\Stmt\Class_(null, [ new Node\Expr\Variable('input'), new Node\Expr\Yield_( new Node\Expr\New_( - new Node\Name\FullyQualified(AcceptanceResultBucket::class), + new Node\Name\FullyQualified('Kiboko\\Component\\Bucket\\AcceptanceResultBucket'), [ new Node\Arg(new Node\Expr\Variable('input')), ] diff --git a/src/Plugin/Filtering/Builder/Reject.php b/src/Plugin/Filtering/Builder/Reject.php index 3e0af856..12bfdfb6 100644 --- a/src/Plugin/Filtering/Builder/Reject.php +++ b/src/Plugin/Filtering/Builder/Reject.php @@ -4,10 +4,7 @@ namespace Kiboko\Component\Satellite\Plugin\Filtering\Builder; -use Kiboko\Component\Bucket\AcceptanceResultBucket; -use Kiboko\Component\Bucket\RejectionResultBucket; use Kiboko\Contract\Configurator\StepBuilderInterface; -use Kiboko\Contract\Pipeline\TransformerInterface; use PhpParser\Builder; use PhpParser\Node; @@ -98,12 +95,12 @@ public function getNode(): Node return new Node\Expr\New_( class: new Node\Stmt\Class_(null, [ 'implements' => [ - new Node\Name\FullyQualified(TransformerInterface::class), + new Node\Name\FullyQualified('Kiboko\\Contract\\Pipeline\\TransformerInterface'), ], 'stmts' => [ (new Builder\Method('transform')) ->makePublic() - ->setReturnType(new Node\Name\FullyQualified(\Generator::class)) + ->setReturnType(new Node\Name\FullyQualified('Generator')) ->addStmts([ new Node\Stmt\Expression( new Node\Expr\Assign( @@ -125,7 +122,7 @@ class: new Node\Stmt\Class_(null, [ new Node\Expr\Variable('input'), new Node\Expr\Yield_( new Node\Expr\New_( - new Node\Name\FullyQualified(RejectionResultBucket::class), + new Node\Name\FullyQualified('Kiboko\\Component\\Bucket\\RejectionResultBucket'), [ new Node\Arg(new Node\Expr\Variable('input')), ] @@ -142,7 +139,7 @@ class: new Node\Stmt\Class_(null, [ new Node\Expr\Variable('input'), new Node\Expr\Yield_( new Node\Expr\New_( - new Node\Name\FullyQualified(AcceptanceResultBucket::class), + new Node\Name\FullyQualified('Kiboko\\Component\\Bucket\\AcceptanceResultBucket'), [ new Node\Arg(new Node\Expr\Variable('input')), ] diff --git a/src/Plugin/SFTP/Builder/Extractor.php b/src/Plugin/SFTP/Builder/Extractor.php index fcee987a..3f362576 100644 --- a/src/Plugin/SFTP/Builder/Extractor.php +++ b/src/Plugin/SFTP/Builder/Extractor.php @@ -89,7 +89,7 @@ class: new Node\Stmt\Class_( name: null, subNodes: [ 'implements' => [ - new Node\Name\FullyQualified(\Kiboko\Contract\Pipeline\LoaderInterface::class), + new Node\Name\FullyQualified('Kiboko\\Contract\\Pipeline\\LoaderInterface'), ], 'stmts' => [ new Node\Stmt\ClassMethod( @@ -137,7 +137,7 @@ class: new Node\Stmt\Class_( new Node\Expr\Assign( var: new Node\Expr\Variable('bucket'), expr: new Node\Expr\New_( - class: new Node\Name\FullyQualified(\Kiboko\Component\Bucket\ComplexResultBucket::class) + class: new Node\Name\FullyQualified('Kiboko\\Component\\Bucket\\ComplexResultBucket') ) ) ), diff --git a/src/Plugin/SFTP/Builder/Loader.php b/src/Plugin/SFTP/Builder/Loader.php index d5c8d2d3..7f1629c4 100644 --- a/src/Plugin/SFTP/Builder/Loader.php +++ b/src/Plugin/SFTP/Builder/Loader.php @@ -89,7 +89,7 @@ class: new Node\Stmt\Class_( name: null, subNodes: [ 'implements' => [ - new Node\Name\FullyQualified(\Kiboko\Contract\Pipeline\LoaderInterface::class), + new Node\Name\FullyQualified('Kiboko\\Contract\\Pipeline\\LoaderInterface'), ], 'stmts' => [ new Node\Stmt\ClassMethod( @@ -137,7 +137,7 @@ class: new Node\Stmt\Class_( new Node\Expr\Assign( var: new Node\Expr\Variable('bucket'), expr: new Node\Expr\New_( - class: new Node\Name\FullyQualified(\Kiboko\Component\Bucket\ComplexResultBucket::class) + class: new Node\Name\FullyQualified('Kiboko\\Component\\Bucket\\ComplexResultBucket') ) ) ), diff --git a/src/Plugin/Stream/Builder/DebugLoader.php b/src/Plugin/Stream/Builder/DebugLoader.php index b6736a78..dfda9007 100644 --- a/src/Plugin/Stream/Builder/DebugLoader.php +++ b/src/Plugin/Stream/Builder/DebugLoader.php @@ -41,7 +41,7 @@ public function withState(Node\Expr $state): self public function getNode(): Node { return new Node\Expr\New_( - class: new Node\Name\FullyQualified(\Kiboko\Component\Pipeline\Loader\DebugLoader::class), + class: new Node\Name\FullyQualified('Kiboko\\Component\\Pipeline\\Loader\\DebugLoader'), args: [ new Node\Arg( value: new Node\Expr\FuncCall( diff --git a/src/Plugin/Stream/Builder/JSONStreamLoader.php b/src/Plugin/Stream/Builder/JSONStreamLoader.php index dbce02a8..cdae743d 100644 --- a/src/Plugin/Stream/Builder/JSONStreamLoader.php +++ b/src/Plugin/Stream/Builder/JSONStreamLoader.php @@ -41,7 +41,7 @@ public function withState(Node\Expr $state): self public function getNode(): Node { return new Node\Expr\New_( - class: new Node\Name\FullyQualified(\Kiboko\Component\Pipeline\Loader\JSONStreamLoader::class), + class: new Node\Name\FullyQualified('Kiboko\\Component\\Pipeline\\Loader\\JSONStreamLoader'), args: [ new Node\Arg( value: new Node\Expr\FuncCall( diff --git a/src/Plugin/Stream/Builder/StderrLoader.php b/src/Plugin/Stream/Builder/StderrLoader.php index 9103f887..cc10c56b 100644 --- a/src/Plugin/Stream/Builder/StderrLoader.php +++ b/src/Plugin/Stream/Builder/StderrLoader.php @@ -37,7 +37,7 @@ public function withState(Node\Expr $state): self public function getNode(): Node { return new Node\Expr\New_( - class: new Node\Name\FullyQualified(\Kiboko\Component\Pipeline\Loader\StderrLoader::class), + class: new Node\Name\FullyQualified('Kiboko\\Component\\Pipeline\\Loader\\StderrLoader'), ); } } diff --git a/src/Plugin/Stream/Builder/StdoutLoader.php b/src/Plugin/Stream/Builder/StdoutLoader.php index 0835a0a9..4cceec34 100644 --- a/src/Plugin/Stream/Builder/StdoutLoader.php +++ b/src/Plugin/Stream/Builder/StdoutLoader.php @@ -37,7 +37,7 @@ public function withState(Node\Expr $state): self public function getNode(): Node { return new Node\Expr\New_( - class: new Node\Name\FullyQualified(\Kiboko\Component\Pipeline\Loader\StdoutLoader::class), + class: new Node\Name\FullyQualified('Kiboko\\Component\\Pipeline\\Loader\\StdoutLoader'), ); } } diff --git a/src/Runtime/Pipeline/Runtime.php b/src/Runtime/Pipeline/Runtime.php index 33c405ce..19b68910 100644 --- a/src/Runtime/Pipeline/Runtime.php +++ b/src/Runtime/Pipeline/Runtime.php @@ -52,7 +52,7 @@ public function build(Builder $builder): array 'params' => [ new Node\Param( var: new Node\Expr\Variable('runtime'), - type: new Node\Name\FullyQualified(\Kiboko\Component\Runtime\Pipeline\PipelineRuntimeInterface::class), + type: new Node\Name\FullyQualified('Kiboko\\Component\\Runtime\\Pipeline\\PipelineRuntimeInterface'), ), ], 'stmts' => [ diff --git a/src/Runtime/Workflow/Runtime.php b/src/Runtime/Workflow/Runtime.php index 4f06458e..4549a85e 100644 --- a/src/Runtime/Workflow/Runtime.php +++ b/src/Runtime/Workflow/Runtime.php @@ -50,7 +50,7 @@ public function build(Builder $builder): array 'params' => [ new Node\Param( var: new Node\Expr\Variable('runtime'), - type: new Node\Name\FullyQualified(\Kiboko\Component\Runtime\Workflow\Console::class), + type: new Node\Name\FullyQualified('Kiboko\\Component\\Runtime\\Workflow\\Console'), ), ], 'stmts' => [