Skip to content
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

Evaluate the rector/rector dev dependency #296

Open
Tracked by #78
TravisCarden opened this issue Nov 13, 2023 · 0 comments
Open
Tracked by #78

Evaluate the rector/rector dev dependency #296

TravisCarden opened this issue Nov 13, 2023 · 0 comments

Comments

@TravisCarden
Copy link
Collaborator

TravisCarden commented Nov 13, 2023

Dependency rector/rector
Description Automated refactoring for predefined code quality rules.
Value/justification Medium High. Similar to PHPStan in terms of the kinds of issues it finds and fixes--largely type safety, unused code, and potential defect risks, etc. It has some overlap with PHPStan but also frequently finds things PHPStan doesn't. Here's an example of changes from an early run as it was incrementally enabled: 0e03219
Usage/popularity Very High. Currently over 30M installs and 2K dependents on Packagist.
Security policy None that I can find.
Maintainance Very active. Responsive maintainers. Frequent, well-documented releases adhere to Semver.
Considerations It has very thorough user documentation. Drupal Rector provides a precedent for its use in the Drupal community.

Dependency tree

$ composer info --tree rector/rector
rector/rector 0.18.6 Instant Upgrade and Automated Refactoring of any PHP code
├──php ^7.2|^8.0
└──phpstan/phpstan ^1.10.35
   └──php ^7.2|^8.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant