Alexey Kopytko

Results 59 issues of Alexey Kopytko

This PR: - [x] Adds new `ExpressionRepeat` mutator, within a new family of `Augmentation` - [x] Covered by tests - [x] Tries to walk around statements without obvious side-effects: -...

Mutator

We added new feature in #1171 where Infection would skip mutations that are known to take more time than configured. Another place where this new feature should be mentioned is...

Help Wanted
Feature Request
Good First Issue / Easy Pick

This PR: - [x] Adds optional pre-filters - [x] Fixes #1323 - [ ] Covered by tests (pending pre-approval) - [x] PHPStan isn't unhappy - [ ] Doc PR: TBD...

Feature

- Clarify that this test isn't working with PHPDBG anywhere. The same goes e.g. for PHPUnit's `@runInSeparateProcess`. - Allow running with pcov. - Do not log progress. - Fixes #1119...

When testing Infection on a big project you don't want to actually MT that project. Because it'll take a lot of time, and because you are testing Infection, but not...

Feature Request

**Is your feature request related to a problem? Please describe.** It is a lot said these days about "timeout" mutations. - Some say that if Infection changes the code for...

Feature Request

```diff -function () use ($foo) {} +static function () use ($foo) {} ``` Similar to those of [Function Signature family](https://infection.github.io/guide/mutators.html#Function-Signature).

Mutator

We have a PerMutator logger which prints a nice table. See #1122, for example. What I really would've loved to see in this table, is the average test run time...

Feature Request

[The build is failing with:](https://travis-ci.org/infection/infection/jobs/658378536#L436) > Cannot open file ""--exclude-group=integration".php". This might suggest that [`--test-framework-options` flag](https://infection.github.io/guide/command-line-options.html#test-framework-options) is broken, but it isn't. Fixing this above issue we find that it still...

Bug
Has PR

Consider there's this loop: ```php foreach (get_object_vars($oldObject) as $key => $value) { $newObject->{$key} = $value; } ``` Now, if we break the loop prematurely like so: ```diff foreach (get_object_vars($oldObject) as...

Feature Request
Good First Issue / Easy Pick
RFC
Mutator