semgrep / semgrep

Lightweight static analysis for many languages. Find bug variants with patterns that look like source code.

Home Page:https://semgrep.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Process .phtml files as PHP

Sjord opened this issue · comments

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.

This is now fixed in Semgrep 1.67.0.