PHP-Var-Dump-Check
PHP-Var-Dump-Check copied to clipboard
Add --custom-function parameter to check.
In one of the projects that I have been working for a while, there are some legacy 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 can not be able to find the usage of this kind of functions. With this pull request, user can give the names of such kind of custom debug functions to the check function with "--custom-function" parameter.
This will fix the issue #33.
Thanks for your pull request, I am happy to add that functionality after you resolve conflict and requested changes. Thanks! When this will be merged, I will release a new version.
Is this mergable ?
Is this mergable ?
@kl3sk Technically yes, but I think the owner of the repo is a bit busy for a while.
Ok, I didn't know it. Wait for it.