Open reech-jeanphilippe opened 3 weeks ago
Thank you for your report and demo link!
We'll need a failing test case in a pull-request, so we have it covered in Rector. You can click "Create a Test" button at demo page.
Wow, you're fast !
I don't see this button on the demo page.
The button not shown due to crash, so rule list not shown as well, you can add fixture to https://github.com/rectorphp/rector-symfony/tree/main/rules-tests/CodeQuality/Rector/Closure/StringExtensionToConfigBuilderRector/Fixture , I think this should be skipped for no extension definition.
OK, I'll do that tomorrow.
Thanks again.
PHP version: 8.3.9 Symfony version: 7.1 Rector version: 1.2.3
See demo here: https://getrector.com/demo/de776077-7f25-484f-bfea-1f5cf23a0443.
Applying the
StringExtensionToConfigBuilderRector
rule to this file:results in this error:
Thanks.