efabrica-team / rector-nette

Rector upgrades rules for Nette
http://getrector.org
MIT License
27 stars 7 forks source link

Remove AnnotateMagicalControlArrayAccessRector, too heavy machinery that does not fix the magic well enough #81

Closed TomasVotruba closed 2 years ago

TomasVotruba commented 2 years ago

These types should be either handled in Nette core itself with exact methods, or via PHPStan dim fetch extension. The latter would also give types in every place these values are used. The first one would solve this natively for PHPStorm as well.