[Config] Remove $isBound usage as cause empty configuration on RectorConfig#4880
[Config] Remove $isBound usage as cause empty configuration on RectorConfig#4880samsonasik merged 1 commit intomainfrom
Conversation
|
All checks have passed 🎉 @TomasVotruba I am merging it to test in rector-doctrine with revert |
|
@TomasVotruba this is due to new Laravel Container release https://github.com/laravel/framework/releases/tag/v10.21.0 that make |
|
I see, thanks for the update 🙂 |
|
Do you know which PR exactly it is in Laravel? I could not find it in release notes |
|
I don't know, or probably the issue already persist before, just not touch rector-doctrine yet in a while before today, as I see, |
|
@TomasVotruba looking at the diff, the laravel container updated to rectorphp/rector@dd35feb#diff-134cdda2651140171fadec5357839abe6bf05d517ce78dafc69476f024bf6b6a |
rectorphp/rector-src@beffd07 ReturnTypeFromStrictParamRector: Fix typo in test-fixture (#4879)
|
@TomasVotruba ok, it seems the which import 'Doctrine\*',
'Gedmo\*',
'Knp\*',
'DateTime',
'DateTimeInterface',then, the bug shown, as it only detect the first one (empty array), not merge due to inside The removal of |
|
@TomasVotruba I created PR: as a proof :) |
@TomasVotruba as I guess last week at PR:
that you replaced at PR:
the
$isBoundusage will make invalid, reproduced in rector-doctrine repo:With isBound
Without isBound
see rectorphp/rector-doctrine#221 (comment)
The
singleTon()is actually verify service registered once :)