Abdul Malik Ikhsan
Abdul Malik Ikhsan
when there is a change, it is expected that whitespace is stripped, I guess this very rare case on very niche usage, and I think you can run, rollback the...
I am closing as answered https://github.com/rectorphp/rector-src/pull/6403#issuecomment-2445305134
Could you create expected fixture PR test on https://github.com/rectorphp/rector-symfony/tree/main/rules-tests/Symfony73/Rector/Class_/InvokableCommandInputAttributeRector/Fixture (better with add patch as well)? Thank you.
we need expected output for given input, before vs after on the fixture file test separated by `-----` , see example https://github.com/rectorphp/rector-symfony/blob/main/rules-tests/Symfony73/Rector/Class_/InvokableCommandInputAttributeRector/Fixture/some_command.php.inc
The code before `-----` is represent input content, and after it represent expected output, when we have it, we can see what, why, and possible fix
I am going to close this, feel free to create failing fixture PR when you have a chance so it can be properly fixed, thank you.
Let's give it a try, thank you @mkrasselt1
/cc @neilime since you created the formatter :)
rector phpstan's extensions seems need to have compatible to phpstan 2 first: ``` Problem 1 - Root composer.json requires rector/type-perfect ^0.1.6 -> satisfiable by rector/type-perfect[0.1.6, 0.1.7, 0.1.8]. - rector/type-perfect[0.1.6, ...,...
First step: https://github.com/symplify/phpstan-extensions/pull/12