Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
Go to file
2021-05-15 14:18:20 +00:00
.github Bump EndBug/add-and-commit from 7.2.0 to 7.2.1 (#40) 2021-05-15 12:19:40 +02:00
bin Use local version resolver (#36) 2021-05-14 21:52:30 +00:00
build add conflict with rector-prefixed 2021-05-15 11:18:56 +01:00
config fix typo in option name that lead to missed config loader 2021-05-15 12:07:38 +01:00
dev-docs Fix ci of missing PHPStan extension types (#43) 2021-05-15 14:18:20 +00:00
packages Fix ci of missing PHPStan extension types (#43) 2021-05-15 14:18:20 +00:00
packages-tests Fix property downgrade with nullable, run property promotion on any PHP (#24) 2021-05-12 10:58:00 +00:00
rules Remove forgotten dump function 2021-05-15 14:24:18 +01:00
rules-tests Fix ci of missing PHPStan extension types (#43) 2021-05-15 14:18:20 +00:00
src Fix ci of missing PHPStan extension types (#43) 2021-05-15 14:18:20 +00:00
stubs [PHP 8.1] Add MyClabs enum to native ENUM (#30) 2021-05-14 09:46:56 +00:00
stubs-rector/PHPUnit/Framework Fixing build (#25) 2021-05-12 15:31:11 +02:00
templates Move from SETS parameter to explicit import() (#6375) 2021-05-06 20:06:31 +00:00
tests Move from sets resolver to import for good (#37) 2021-05-15 12:24:18 +02:00
upgrade Add setter/getter factory (#6219) 2021-04-23 18:14:51 +00:00
utils restore 2021-05-13 23:59:47 +01:00
.editorconfig cleanup 2020-04-03 13:24:44 +02:00
.gitattributes [PHP 8.1] Add MyClabs enum to native ENUM (#30) 2021-05-14 09:46:56 +00:00
.gitignore [CI] Downgrade Rector to PHP 7.1 + prefix it (#5880) 2021-03-18 02:48:44 +01:00
.phpstorm.meta.php Make use of File object instead of passing around provider of file info, tokens, stmts etc. (#6110) 2021-04-13 00:12:48 +00:00
CODE_OF_CONDUCT.md Use HTTPS instead of HTTP 2018-02-14 07:23:09 -02:00
composer.json Fix ci of missing PHPStan extension types (#43) 2021-05-15 14:18:20 +00:00
ecs.php Move from SETS parameter to explicit import() (#6375) 2021-05-06 20:06:31 +00:00
full_build.sh use portable shebang 2021-04-22 21:12:02 +02:00
LICENSE Update LICENSE year forever 2018-01-02 20:27:07 -02:00
phpstan-for-rector.neon [scoped] Run e2e parallel, suck in existing tests (#16) 2021-05-11 18:06:27 +02:00
phpstan.neon Use local version resolver (#36) 2021-05-14 21:52:30 +00:00
phpunit.xml Fix ci of missing PHPStan extension types (#43) 2021-05-15 14:18:20 +00:00
preload.php prioritize ContainerConfigurator 2021-05-13 20:10:00 +01:00
README.md Bump min PHP to 8, cleanup readmes (#1) 2021-05-10 20:00:54 +02:00
rector-testing.php [Downgrade PHP 7.2] Make covariant change local methods only (#6218) 2021-04-23 17:54:30 +00:00
rector.php fix typo in option name that lead to missed config loader 2021-05-15 12:07:38 +01:00
rule-doc-generator.php Add setter/getter factory (#6219) 2021-04-23 18:14:51 +00:00
scoper-php70.php Use local version resolver (#36) 2021-05-14 21:52:30 +00:00
scoper.php Use local version resolver (#36) 2021-05-14 21:52:30 +00:00
UPGRADE.md Add upgrade path to Rector 0.10 - upgrade set included (#6061) 2021-04-09 01:12:42 +00:00

Rector - Instant Upgrades and Automated Refactoring

Downloads


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.