Prevent false positive on `method_exists()` and `function_exists()`
Pre-existing tests have different expectations regarding the "is always true/false" results, then what was discussed in the linked issue. I wonder when/how we should/can differentiate whether we expect this "is always true/false" error or not.
I just did the trivial version, so we can see how this violates existing expectations and start discussion/feedback from here.
closes https://github.com/phpstan/phpstan/issues/8980
Maybe there should be a config switch to enable/disable this rule for function/method_exists?
This pull request has been marked as ready for review.
Should this also account for property_exists()?