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
test: check to have DataProviders code agnostic of PHP version #7575
Conversation
Isn't it an overkill? I was thinking of simply checking for:
in any test file, as all those should be handled via |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have it similar (#7580) to how we check preg_
functions calls?
We do not want For |
# Conflicts: # tests/AutoReview/ProjectCodeTest.php
Aren't those 2 classes the only places we want to allow PHP version awareness? IMHO in all other places |
I do not understand the part of I see no reason to prevent usage of |
Any
I look at it from the other side - I see no reason to allow using |
Then, let's extract all |
depends on PRs raised few mins ago