diff --git a/composer.json b/composer.json index c6d8fd24..faa68532 100644 --- a/composer.json +++ b/composer.json @@ -87,7 +87,7 @@ "bin": ["bin/satellite", "bin/cloud"], "extra": { "branch-alias": { - "dev-main": "0.6.x-dev" + "dev-main": "0.7.x-dev" }, "gyroscops": { "adapters": [ diff --git a/src/Runtime/Pipeline/Configuration.php b/src/Runtime/Pipeline/Configuration.php index a3086eeb..ac01516e 100644 --- a/src/Runtime/Pipeline/Configuration.php +++ b/src/Runtime/Pipeline/Configuration.php @@ -80,7 +80,7 @@ public function getConfigTreeBuilder(): TreeBuilder ->scalarPrototype()->end() ->end() ->scalarNode('name')->end() - ->scalarNode('code')->end() + ->scalarNode('code')->isRequired()->end() ->append($this->getStepsTreeBuilder()->getRootNode()) ->end() ;