-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
twig dump #1
Comments
Hi @ajakov , Yes, you need to use You can configure as follows; on: [push]
jobs:
var_dump_checker:
runs-on: ubuntu-latest
name: Dump Function Checks
steps:
- name: Check 1
id: check1
uses: umutphp/php-var-dump-check-action@v1
with:
checktype: 'symfony'
exclude: 'vendor,test'
extensions: 'php' |
@ajakov |
Thank you for your quick response. I installed it also locally (to dismiss the possibility that my github actions configuration is wrong) and it doesn't detect dump in twig files. |
What is the extension for your twig files? If it is other than "php", please try adding it to |
Yes, I added that, too. |
I found an issue which was created in the former repository (JakubOnderka/PHP-Var-Dump-Check) and It seems it is not implemented :(. |
Exactly. |
If you create the issue in the new repo, I will also comment to promote it. PS: I am not sure If l have time to contribute to fix the issue, but I will try if I have :) |
I will check the codebase, but on the first glance it looks the tool is made exclusively for PHP, since it uses So, maybe using different tool for checking twig is better in this case. I will double-check when I have more time. |
Please, do not forget to update me :) |
Hey @umutphp, I published this in the meantime: https://github.com/ajakov/twig-dump-checker |
Hi @ajakov, Great news :). PS: The link is wrong in your comment is wrong by the way. |
Fixed the link, thank you! :) |
Hi @umutphp
Can this action check for dump in twig files?
Like, for example:
{{ dump() }}
or
{{ dump(variable) }}
The text was updated successfully, but these errors were encountered: