Skip to content

Add Rector #432

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

Closed
oliverklee opened this issue Feb 3, 2024 · 2 comments
Closed

Add Rector #432

oliverklee opened this issue Feb 3, 2024 · 2 comments

Comments

@oliverklee
Copy link
Collaborator

oliverklee commented Feb 3, 2024

This will help us do automatic refactorings.

Also add a configuration file and prevent it from getting shipped.

ziegenberg added a commit to ziegenberg/PHP-CSS-Parser that referenced this issue Jun 17, 2024
Adding rector as a development dependency enables us to do automatic
refactorings. Initially this comes with a simple null-config, that does
not do much but run rector, so following the suggested integration path
of "taking it slow" [1].

Helps with MyIntervals#432

[1] https://getrector.com/documentation/integration-to-new-project

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
ziegenberg added a commit to ziegenberg/PHP-CSS-Parser that referenced this issue Jun 17, 2024
Adding rector as a development dependency enables us to do automatic
refactorings. Initially this comes with a simple null-config, that does
not do much but run rector, so following the suggested integration path
of "taking it slow" [1].

Helps with MyIntervals#432

[1] https://getrector.com/documentation/integration-to-new-project

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
ziegenberg added a commit to ziegenberg/PHP-CSS-Parser that referenced this issue Jun 17, 2024
Adding rector as a development dependency enables us to do automatic
refactorings. Initially this comes with a simple null-config, that does
not do much but run rector, so following the suggested integration path
of "taking it slow" [1].

Helps with MyIntervals#432

[1] https://getrector.com/documentation/integration-to-new-project

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
oliverklee pushed a commit that referenced this issue Jun 17, 2024
Adding rector as a development dependency enables us to do automatic
refactorings. Initially this comes with a simple null-config, that does
not do much but run rector, so following the suggested integration path
of "taking it slow" [1].

Helps with #432

[1] https://getrector.com/documentation/integration-to-new-project

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
@ziegenberg
Copy link
Contributor

@oliverklee can this be considered done?

@oliverklee
Copy link
Collaborator Author

oliverklee commented Jun 17, 2024

Yes. Thank you very much for driving this forward! 🙏 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants