Add readonly by default on new promoted property#6650
Conversation
660f983 to
659e2a3
Compare
|
@TomasVotruba we need immediate new rector release due to error on PHPStan 2.1.1, see PR; should I wait for this one before releasing new tag? |
|
@samsonasik Yes, let's finish this one first |
|
@TomasVotruba ok, feel free to tag yourself once you finished it, I am not sure if this will cause BC break without some flag, eg: I guess 2.0.6 or 2.1 :) |
659e2a3 to
f9070c3
Compare
|
This targets ctors only, where all new dependencies are readonly by default. |
f9070c3 to
d2a9b96
Compare
32a5e0d to
7a268b2
Compare
|
Ok, let's see how user will use it, especially on rector extensions, since method is public /cc @driftingly @peterfox @simonschaufi FYI |
|
This pull request has been automatically locked because it has been closed for 150 days. Please open a new PR if you want to continue the work. |
No description provided.