-
-
Notifications
You must be signed in to change notification settings - Fork 154
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
Add SQL / DQL mutators #1699
Comments
I had this idea for ages (framework/lib-specific mutators), so a big 👍 here. If (when) we go with extracting our mutators to a separate package (#669), this can be just a "plugin" / repo with doctrine-related mutators. For now it's easier to integrate it as a profile/standard mutators into Infection core, IMO.
I don't know how difficult it will be, we touched it a couple of times, Ondrej suggested to integrate PHPStan's analyzer here #697 (comment). Seems like not an easy task from the first glance, keeping in mind possible performance implication. |
Implicitly related: Infection now supports custom mutators: https://github.com/infection/infection/releases/tag/0.29.0 |
Hi, given the raise of static analysis tools that can interpret both DQL (phpstan-doctrine) and SQL (phpstan-dba) I wonder if and how we can introduce mutators also for queries.
The main mutators I'm looking for to challenge queries in PR are:
There are a lot of considerations to take into account:
--git-diff-lines
?The text was updated successfully, but these errors were encountered: