mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-23 19:24:48 +01:00
17 lines
665 B
YAML
17 lines
665 B
YAML
# see: https://laravel.com/docs/5.0/upgrade
|
|
services:
|
|
Rector\Rector\Class_\RenameClassRector:
|
|
Illuminate\Cache\CacheManager: 'Illuminate\Contracts\Cache\Repository'
|
|
# https://stackoverflow.com/a/24949656/1348344
|
|
Illuminate\Database\Eloquent\SoftDeletingTrait: 'Illuminate\Database\Eloquent\SoftDeletes'
|
|
|
|
Rector\Rector\MethodCall\RenameMethodRector:
|
|
Illuminate\Contracts\Pagination\Paginator:
|
|
links: 'render'
|
|
getFrom: 'firstItem'
|
|
getTo: 'lastItem'
|
|
getPerPage: 'perPage'
|
|
getCurrentPage: 'currentPage'
|
|
getLastPage: 'lastPage'
|
|
getTotal: 'total'
|