We are using phplint to check our code and I am trying to find an option that would make it fail if there is a var_dump somwehere in the code. As I could not find an option for it, is there another way to achieve this?
Thanks for your help!
A static analysis tool such as PHP_CodeSniffer can (and should) be used to perform a check such as the one you describe.
Copyright © 2021 Jogjafile Inc.
A static analysis tool such as PHP_CodeSniffer can (and should) be used to perform a check such as the one you describe.