Laracon talk for Amsterdam 2024 - Slides are here ↓
A small introduction to Rector 0.19.7 - released during Laracon :)
It requires PHP 7.2 as the lowest version to run. 8.0 and 8.1 to test all the features demoed on the stage.
Fork this repository, clone locally and then install dependencies:
composer update
Upgrade PHP
composer.json
withPhpSets()
Type coverage
withTypeCoverageLevel()
(coming soon)Dead code removal
withDeadCodeLevel()
(coming soon)Create a custom Rector rule
FuncCall
nodeMake use of Laravel extension package
composer require driftingly/rector-laravel --dev