New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect behavior of MixedTypeRector
#8633
Comments
The @param ConcreteFileFilter $fileFilter https://getrector.com/demo/019ddfd5-98e9-455a-80e6-044a4fa686a9 |
Let me ask a couple of questions:
|
|
* Upgrade Rector and fix new issues * Revert removed PHPDocs and skip `MixedTypeRector` as it seems there is a bug See rectorphp/rector#8633 * Update lock file
fyi, phpstan normalized the phpdoc away: so we could argue that the phpdoc is misleading and leads to wrong assumptions by the dev. |
Bug Report
Minimal PHP Code Causing Issue
See https://getrector.com/demo/393aa099-ae74-4edc-a562-f65d5d2f1491
Change
Responsible rules
MixedTypeRector
Expected Behavior
No change is expected (Rector didn't remove phpdoc on 1.0.3, started removing on 1.0.4 and later)
The text was updated successfully, but these errors were encountered: