-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Php Blueprints do not pass validation #83
Comments
Aha, that's Opis not liking |
Ok. For experiment's sake I've modified the constructor in the public function __construct() {
$this->blueprint = new Blueprint();
$this->blueprint->setConstants( new \ArrayObject() );
$this->blueprint->setSiteOptions( new \ArrayObject() );
} And it did move on. (Which, in my case, is an error wile executing step downloadWordPress.) But let's stick to the topic of this issue. What would be a suitable solution here? This, some other way to make those params ArrayObjects or rather the opis validation accepting |
What you've done is spot on. That, and removing |
...actually, perhaps setting the default to |
@maypaw - e2e tests are also blocked here, could you take a look? This is also a case where a quick unblocking fix exists, but a bit more effort is needed to solve the problem comprehensively. |
@reimic I'll check this out. Looks like it may be connected to the issues with the blueprint compiling scripts as well. |
I have looked into this issue and it seems to me that the suggested solution in However, to be honest, I don't really know how the |
During e2e tests implementation I've uncovered that Php Blueprints do not pass validation. See this test run.
This blueprint:
...results in this error:
Same applies to this blueprint:
The text was updated successfully, but these errors were encountered: