-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement: Add rector config file for easy migration #542
Conversation
6410705
to
c826a9a
Compare
a9aa0b7
to
78bba13
Compare
78bba13
to
78eb80a
Compare
I dont think this should be part of Faker itself. It would mean Faker has a locked dependency on Rector which is not what you want. Just publish it as separate package? I think this would be the right thing to go here though |
There is no locked dependency, it is an optional extra file. If you use Rector in your project, you can use this additional config file, but if you don't use Rector, it won't be part of any of your dependencies |
Exactly 👍 |
Co-authored-by: Pierre du Plessis <[email protected]>
Co-authored-by: Andreas Möller <[email protected]>
Co-authored-by: Andreas Möller <[email protected]>
Co-authored-by: Andreas Möller <[email protected]>
Can someone please approve the new workflow to run? Thanks |
Should be running now. |
723b876
to
0b9b238
Compare
0b9b238
to
2b1ab17
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Thank you, @bram-pkg, @OskarStark, @pierredup, and @pimjansen! |
Thank you, can I expect a release soon? 🙏 |
What is the point of running rector on each PR, if the report is ignored? |
This PR is based on the work of https://github.com/thecodingmachine/safe
I have a lot of projects where I want to run a continuous automated refactoring for properties to methods, so I ended up repeating the following code over and over again:
I think it is better to provide this file via the vendor itself.
Check the README for usage details
Todos
WDYT?
friendly ping @silasjoisten @mvhirsch @localheinz