Registry / utility / driftingly-rector-laravel

driftingly-rector-laravel

JSON →
library2.5.0phppackagistunverified

Rector upgrades rules for Laravel Framework, providing automated code refactoring and upgrade assistance.

composer require driftingly/rector-laravel
INSTALL
IMPORT
SIG · DRIFTINGLY-RECTOR-
D
driftingly-rector-laravel
utilityphpv2.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AddGenericReturnTypeToRelationsRector
use Rector\Laravel\Rector\ClassMethod\AddGenericReturnTypeToRelationsRector;

Configure Rector to apply Laravel upgrade rules.

use Rector\Laravel\Rector\ClassMethod\AddGenericReturnTypeToRelationsRector; use Rector\Config\RectorConfig; return RectorConfig::configure() ->withRules([ AddGenericReturnTypeToRelationsRector::class, ]);
Debug
Known issues
breakingRequires PHP 8.0+ and Rector 1.0+.
fix
Ensure your project meets minimum PHP and Rector version requirements.
affects: >=2.0.0
Upgrade
Version history
2.5.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
driftingly-rector-laravel — pip install driftingly-rector-laravel · libregistry