Process .phtml files as PHP
Sjord opened this issue · comments
Sjoerd Langkemper commented
PHP scripts sometimes use the extension .phtml
. It would be nice if semgrep processed phtml files as PHP files, i.e. applying all PHP rules on them.
- The view scripts in Laminas MVC are phtml by default.
- In this GitHub code search you can see that most of the phtml files are in fact PHP.
Sjoerd Langkemper commented
This is now fixed in Semgrep 1.67.0.