-
-
Notifications
You must be signed in to change notification settings - Fork 283
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
[Insight for Laravel] Verify if there no dd() calls #12
Comments
Is there a way to view function call names at the moment? 🤔 |
it is Squiz.PHP.DiscouragedFunctions.forbiddenFunctions in PHPCS Could we add dump() and extract, compact and list? |
Exactly, good idea @szepeviktor. @pxgamer You just need to add this code: ForbiddenFunctionsSniff::class => [
'sizeof' => 'count',
'delete' => 'unset',
// Any other...
] To
Don't forget to test it locally to see if it works. |
I'll take a look at it later, cheers. 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To solve this issue, you should create a pull request adding the
Insight
described on the title.The text was updated successfully, but these errors were encountered: