Comments (3)
This would be amazing. Unfortunately, I don't think it's possible here.
This would have to be part of a more comprehensive tool capable of creating new files and moving code between them.
from rector-laravel.
I believe this falls outside the scope of Rector PHP.
from rector-laravel.
@driftingly is this a base rector issue? I wanna write this refactor, since GH Copilot can't do it atm
from rector-laravel.
Related Issues (20)
- Incompatible with Rector v0.17 HOT 6
- [Idea] UnifyModelDatesWithCastsRector: Make rule configurable for date casting HOT 1
- Rector 0.18.0 requires syntax change
- `getBaseQuery` -> `toBase` was reverted in Laravel 10
- Fix PHPStan issues for Rector 0.18.1
- AddExtendsAnnotationToModelFactoriesRector rule are not applying any diff HOT 5
- Error with change property visibility HOT 1
- Allow configuration with `EloquentOrderByToLatestOrOldestRector` rule HOT 5
- EloquentMagicMethodToQueryBuilderRector transforms class to include namespace HOT 2
- Incorrect packagist requirements HOT 4
- AddGenericReturnTypeToRelationsRector missing contructor argument `StaticTypeMapper $staticTypeMapper` HOT 1
- Conflict using native php extension Redis with set `LaravelSetList::LARAVEL_FACADE_ALIASES_TO_FULL_NAMES`. HOT 2
- rule AddGenericReturnTypeToRelationsRector trigger Error HOT 2
- AddGenericReturnTypeToRelationsRector incorrectly handles a morphTo relation HOT 2
- Issue installing alongside new Rector release (`v0.19.0`) HOT 1
- Support for rector 1.0.0 HOT 2
- Route::group() with namespace doesnt work with RouteActionCallableRector
- Using \Route fails silently with StaticCall\RouteActionCallableRector
- laravel54 every => nth breaks modern use of Collection::every HOT 1
- Facades are rewritten to Service via StaticCallOnNonStaticToInstanceCallRector HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rector-laravel.