Comments (5)
Thanks that worked! 👍
from rector-laravel.
You might need a backslash before the rule name. Maybe.
from rector-laravel.
You might need a backslash before the rule name. Maybe.
Thanks for the reply.
Unfortenly it makes no difference, and neither does importing the class.
from rector-laravel.
The same thing happens in a fresh Laravel install if the @extends
is removed from the default UserFactory
from rector-laravel.
@hmazter In that case I think it's because of the latest Rector release https://github.com/rectorphp/rector/releases/tag/0.18.3, which breaks rules that modify docblocks.
There is a PR to support that release #135, but until it gets merged, you can use a fixed older version of core Rector like 0.18.2: "rector/rector": "0.18.2",
.
from rector-laravel.
Related Issues (20)
- 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
- Tag a release HOT 1
- [QUESTION] withTypeCoverageLevel and withDeadCodeLevel HOT 2
- Rule DispatchNonShouldQueueToDispatchSyncRector will wrongly convert `dispatch` to `dispatch_sync` on Closures
- JsonCallToExplicitJsonCallRector with getJson()
- Attributes are lost in conversion
- Missing namespace for factory
- dispatchNow is not converted to dispatchSync
- Conversion of TrustProxies for Laravel 9
- Error introduced by JsonCallToExplicitJsonCallRector HOT 1
- laravel90 set unnecessarily adding null argument to Model::touch()
- Do we use a fixed Linter configuration or go with the latest updates? HOT 1
- Lack of available sets in 1.2.0 release HOT 3
- v1.2.1 wrongfully rewrite `flush` function on classes that implements `Illuminate\Queue\Failed\FailedJobProviderInterface`
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.