Checking if the result of the function/method is used is one way (Similar to how PhanUnusedConstant, etc.) works.
If 99%+ of the invocations of an internal function/method are used across various projects, it's a good indication to warn about the other <1% of invocations.
Expect to see json_encode, json_decode, sprintf, ->offsetExists(), etc.
Checking if the result of the function/method is used is one way (Similar to how PhanUnusedConstant, etc.) works.
If 99%+ of the invocations of an internal function/method are used across various projects, it's a good indication to warn about the other <1% of invocations.
Expect to see json_encode, json_decode, sprintf, ->offsetExists(), etc.