PHPStorm does not recognize smarty closing tags correctly Follow Michael Created June 05, 2019 13:48 Instead of marking the closing /block, it marks the closing /if. This makes it even harder to work with messy smarty templates.
Thank you for the report.
In fact, it looks pretty similar to https://youtrack.jetbrains.com/issue/WI-29492
If there are no tags like {s} or {t} inside of {if}{/if}, things are working fine.
I will add these examples to the mentioned YouTrack issue.