Skip to content
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

Add --custom-function parameter to check #5

Closed
umutphp opened this issue Jun 23, 2020 · 2 comments
Closed

Add --custom-function parameter to check #5

umutphp opened this issue Jun 23, 2020 · 2 comments

Comments

@umutphp
Copy link
Contributor

umutphp commented Jun 23, 2020

In one of the projects that I have been working for a while, there are some legacy custom dump functions created and used frequently by the team. A sample function is;

function pre_dump( $var ) { echo '<pre>'; var_dump( $var ); echo '</pre>'; }
The check tool can not find the usage of such kind of functions. A sample usage might be;

$ ./vendor/bin/var-dump-check --no-colors --tracy --custom-function pre_dump,echo_dump .

@grogy
Copy link
Member

grogy commented Aug 14, 2020

Hello,

it makes me sense. Thanks for PR, I will review it

@grogy
Copy link
Member

grogy commented Aug 14, 2020

It looks very good. You have some comments in PR. This issue i close, because PR will be merged. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants