lint/laravel/prefer-pivot-class
In the lint-strict preset. In Rector’s rector-laravel/laravel-code-quality set. Needs the laravel extension. Unsafe fix: it can change behavior. Planned: not in Pun yet. Enabling it is a config error.
What it does
Changes the pivot table name of a many to many relation to the pivot model class.
Replaces
RelationTableStringToPivotClass(rector-laravel)