I'm having trouble getting Twig syntax checking and highlighting for *.php
and *.tpl*
files in PhpStorm? It throws a lot of syntax errors. The HTML and PHP syntax is already getting picked up.
In Settings | File Types | Twig, I can't add filetype *.php
because it's already in use and it asks me to replace it.