php-parallel-lint / PHP-Var-Dump-Check

Find forgotten variables dump in PHP source code.
Other
21 stars 11 forks source link

Feature request: Check dump() im Twig template files #15

Open umutphp opened 3 years ago

umutphp commented 3 years ago

An issue was already created on the former repo by @HarasimowiczKamil . Aditional to this issue, a new issue is also created in the umutphp/php-var-dump-check-action by @ajakov. So, I think It is worth discussing to add support to check the non-php file formats.

ajakov commented 3 years ago

Thank you @umutphp for raising the issue. I am also willing to contribute. Do you have some guidelines on what would be the easiest / proper way to do it?

umutphp commented 3 years ago

@ajakov

token_get_all does not support Twig files, so, imho the proper way seems to be a regular expression check in files. But, I am not sure if the maintainers prefers that way.