-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Documented the "values" option of the Expression constraint #9428
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
Conversation
I'm not knowledgable in XML, but this reminds me same issue we had with Workflow metadata. @stof responded with this symfony/symfony#23257 (comment), seems it could be applied here too |
@ostrolucky thanks for your help! I did some changes, but we'll need a review here from some XML expert. Thanks! |
reference/constraints/Expression.rst
Outdated
values | ||
~~~~~~ | ||
|
||
**type**: ``array`` **default**: an empty array |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we use []
in that case? (or just nothing, as empty is like no default)
reference/constraints/Expression.rst
Outdated
|
||
class Analysis | ||
{ | ||
// ... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
imo, this and the empty line below can be removed. That saves some lines
I can confirm the XML is correct status: reviewed |
Tried this xml, works |
This fixes #9098.
@ostrolucky I have problems defining the XML config of this example. Could you please help me? Thanks!