Maks Rafalko

Results 321 comments of Maks Rafalko

As for me, you are right, these particular examples could be avoided. And we can do it even without PHPstan's type knowledge. AST gives us an ability to check it....

Since this mutator is disabled by default, I don't think we need to invest time into it. Detailed conversation is here: https://github.com/infection/infection/pull/2135#discussion_r2133516494 Closing, feel free to reopen if needed.

> Let me handle it. out of curiosity - do you use these 2 disabled by default mutators?

> I think the question is more to which length we want to go to do this in the mutator and when do we want to leave it to a...

> what is a "natural"? I believe this is 0,1,2,3,... https://en.wikipedia.org/wiki/Natural_number

Still have the same error with the latest versions (at the time of writing this comment): - [email protected] - [email protected] - [email protected] - node 22.13.0 In my case, it's reproduced...

> Something like `--filter-class='My\Filter\FilterClass'` which can programatically determine what tests to run. > (So it could be used even when running tests outside of infection based on source versioning changes)...

> I assume the "what files changed" here is source files right? it will be 1 source file, because for every mutation (1-file change) we need to run tests. I...

for visibility: this issue was added to a parent one: https://github.com/infection/infection/issues/1231