-
Notifications
You must be signed in to change notification settings - Fork 36
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
PHPUnit constructor deprecation #176
Comments
Hey Peter. |
Hey, can I ask what is the use case for MatcherFactory? In general that class is mostly for building matchers in specific order which is super important when it comes to pattern validation. However, it would be better to actually use Is there maybe some use case behind MatcherFactory that I'm missing here? I'm totally open to add whatever is needed into PHPMatcher if that could help to drop MatcherFactory which is more a technical class, rather than something that should be used outside of the library. (I know I might be digging out something old but I finally managed to find some time to properly focus on the matcher) |
Consequences of some old refactor, which provided also support for UUIDs: #149. And probably we've misused that. |
yeah, matcher comes with the UUID support, I guess you might mark this property as deprecated then? |
Using PHPUnit 9.1.5 I'm seeing this deprecation notice on every run.
I haven't got a proposed fix, I mean what you do in the constructor seems sensible 🤷♂️
See: sebastianbergmann/phpunit#3975
The text was updated successfully, but these errors were encountered: