Prevent duplicate code from being marked if only one can ever be rendered
PhpStorm detects and marks duplicate code fragments, such as IDs in HTML.
In some cases, only one may appear in the rendered HTML, for example if they are in the <f:then>
and the <f:else>
blocks of an <f:if>
statement. In this case, there will never be a duplicate ID in the frontend.
Here is an example of such a code block: