Skip to content

Conversation

@TomasVotruba
Copy link
Member

@TomasVotruba TomasVotruba commented Jun 24, 2025

Sometimes the named args is used on a variable without any type, like in latest illuminate/contaienr 12.18.x

See illuminate/container@ff9dde2

Screenshot From 2025-06-24 21-36-23

In that case, we cannot leak this named variable further. All we can do is to take a guess, that value is used on the right location and remove it 👍

@TomasVotruba TomasVotruba changed the title add fixture Add support for unknown types in DowngradeNamedArgumentRector Jun 24, 2025
@TomasVotruba TomasVotruba force-pushed the tv-downgrade-container branch from c74b5a3 to 07378ca Compare June 24, 2025 20:01
@TomasVotruba TomasVotruba merged commit 4b31180 into main Jun 24, 2025
6 checks passed
@TomasVotruba TomasVotruba deleted the tv-downgrade-container branch June 24, 2025 20:02
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.

2 participants