Skip to content

Conversation

@samsonasik
Copy link
Member

@samsonasik samsonasik commented Dec 18, 2025

Fixes rectorphp/rector#9563

Also update existing fixture to skip factory() on services symfony config as not allow callable, see https://github.com/symfony/dependency-injection/blob/bf7359d13a5746908ee51dd72ab195f578aae0e3/Loader/Configurator/Traits/FactoryTrait.php#L25

@samsonasik samsonasik marked this pull request as draft December 18, 2025 08:14
@TomasVotruba
Copy link
Member

@samsonasik Just checking, is this something we should ship in next release or does it require more work?

@samsonasik
Copy link
Member Author

@TomasVotruba it require more work, I will continue later

@TomasVotruba
Copy link
Member

Got it 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect behavior of ArrayToFirstClassCallableRector

3 participants