Open
Description
During e2e tests implementation I've uncovered that Php Blueprints do not pass validation. See this test run.
This blueprint:
$blueprint = BlueprintBuilder::create()
->withWordPressVersion( 'https://wordpress.org/latest.zip' )
->toBlueprint();
...results in this error:
Array
(
[/constants] => Array
(
[0] => The data (array) must match the type: object
)
)
Same applies to this blueprint:
$blueprint = BlueprintBuilder::create()
->addStep( ( new MkdirStep() )->setPath( 'dir1' ) )
->addStep( ( new RmStep() )->setPath( 'dir1' ) )
->addStep( ( new MkdirStep() )->setPath( 'dir2' ) )
->toBlueprint()