Valentin Udaltsov
Valentin Udaltsov
Reproducer: ```php
I've started working on this and noticed that `NewWithParenthesesFixer` already has two configuration options: `named_class: bool` and `anonymous_class: bool`. What if we only rename `NewWithParenthesesFixer` to `NewArgumentsParenthesesFixer` and change type...
There's another reason why a combined `NewParenthesesFixer` will not work. Arguments' list parentheses should be added before `ClassDefinitionFixer` (see [new_with_parentheses,class_definition.test](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/daab03a5f48c04af1c2ba4df06ccc835072b3d06/tests/Fixtures/Integration/priority/new_with_parentheses%2Cclass_definition.test)), but `new` expression parentheses should be removed after `NoUnneededControlParenthesesFixer`. It...
Today I've suddenly realized that infection does not work with functions... Looking forward to this feature!
> [@vudaltsov](https://github.com/vudaltsov) what are your use-cases? Just for understanding. I guess `thecodingmachine/safe` is an example of a package this could be useful. Hi, Maks! I use functions instead of static...
> I can see one problem with functions: for Infection to mutate functions it need to be able to unload them and reload them from a different location. But this...
Here's the hack that will actually disable a file registered via `autoload.files`: ```php
Today I spent 2 hours exploring Infection's source code. Given that I use Infection quite often, I found it readable and clear. Great job, maintainers! I realized that `IncludeInterceptor` already...
This PR is ready for review. `DocumentationTest` is failing. I've generated documentation by running `php84 dev-tools/doc.php`, however `php83 dev-tools/doc.php` adds an empty "References" section on each run.
@Wirone , should this PR be added to https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/milestone/173?