mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 17:00:51 +00:00
Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
.github | ||
bin | ||
build | ||
config | ||
dev-docs | ||
packages | ||
packages-tests | ||
rules | ||
rules-tests | ||
src | ||
stubs | ||
stubs-rector/PHPUnit/Framework | ||
templates | ||
tests | ||
upgrade | ||
utils | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.phpstorm.meta.php | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
ecs.php | ||
full_build.sh | ||
LICENSE | ||
phpstan-for-rector.neon | ||
phpstan.neon | ||
phpunit.xml | ||
preload.php | ||
README.md | ||
rector-testing.php | ||
rector.php | ||
rule-doc-generator.php | ||
scoper-php70.php | ||
scoper.php | ||
UPGRADE.md |
Rector - Instant Upgrades and Automated Refactoring
This repository (rectorphp/rector-src
) is for development Rector only.
Head to rectorphp/rector
for documentation, install or creating an issue.
Building rectorphp/rector
Code of this repository requires PHP 8. For rector/rector
package user the build downgrades code to PHP 7.1 and higher.
How to Contribute
Contributions here are more than welcomed! There 3 rules will highly increase changes to get your PR merged:
-
1 feature per pull-request
-
new features need tests
-
CI must pass... you can mimic it locally by running
composer complete-check
-
Do you need to fix coding standards?
composer fix-cs
We would be happy to accept PRs that follow these guidelines.
Code of Conduct
This project adheres to a Contributor Code of Conduct By participating in this project and its community, you are expected to uphold this code.