Open jeff1326 opened 2 months ago
The rule FactoryDefinitionRector as defined here, should do more. https://github.com/driftingly/rector-laravel/blob/main/docs/rector_rules_overview.md#factorydefinitionrector
The namespace could be added if not present in the file since Laravel want it. Plus the name should be renamed too (if rector allows it, otherwise a message could be enough)
The rule FactoryDefinitionRector as defined here, should do more. https://github.com/driftingly/rector-laravel/blob/main/docs/rector_rules_overview.md#factorydefinitionrector
The namespace could be added if not present in the file since Laravel want it. Plus the name should be renamed too (if rector allows it, otherwise a message could be enough)