Closed
Description
The PHP attribute highlight feature that @wouterj implemented in #173 works really well. However, I found an edge case. See:
https://symfony.com/doc/current/reference/constraints/AtLeastOneOf.html#basic-usage
The <span>
is applied to the entire PHP attribute, so everything is highlighted as an attribute in this case even if statements like new Assert\Regex('/#/')
should be highlighted differently.
In any case, this is very rarely used in Symfony Docs, so it's fine to keep this edge case unfixed if the possible solution is very complex or breaks other things. Thanks!
Metadata
Metadata
Assignees
Labels
No labels