driftingly / rector-laravel

Rector upgrades rules for Laravel
http://getrector.org
MIT License
500 stars 49 forks source link

upgraded to rector/rector:^0.19.0 #169

Closed asugai closed 7 months ago

asugai commented 8 months ago

Updated all references per https://github.com/rectorphp/rector/releases/tag/0.19.0

-use Rector\Core\
+use Rector\
GeniJaho commented 8 months ago

@asugai Thanks for the PR 😄

I think you need to run ./vendor/bin/duster to fix the Code Analysis issues. Also, to make the PHPStan errors go away, you need to update the phpstan.neon file to replace the ignored errors for Rector\\Core\\Contract\\Rector\\RectorInterface and Rector\\Core\\Reflection\\ReflectionResolver.

Thank you ✌️

asugai commented 7 months ago

hey @GeniJaho - just saw these and applied the fixes

driftingly commented 7 months ago

@asugai Sorry, one last change, can you also update the Rector requirement here: https://github.com/driftingly/rector-laravel/blob/main/build/composer-php-72.json

Thanks 🙌

driftingly commented 7 months ago

Thanks @asugai for your work on this 🙏 I'll clean up in a separate PR.