Bug Report
| Subject |
Details |
| Rector version |
2.2.8 |
The deprecation of ReturnTypeWillChangeRector no longer leaves a way to add #[\ReturnTypeWillChange] in downgraded code.
See rectorphp/rector-src#7570 (comment) for details and an example.
Expected Behaviour
The ReturnTypeWillChangeRector functionality should be reinstated as a downgrade rule.