Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
Go to file
2021-05-12 15:31:11 +02:00
.github Fixing build (#25) 2021-05-12 15:31:11 +02:00
bin [scoped on PHP 7.0] bin/rector run with extracted phpstan (#6371) 2021-05-06 23:43:45 +02:00
build Fixing build (#25) 2021-05-12 15:31:11 +02:00
config update to new phpstan rules, add static fixes (#18) 2021-05-11 17:48:41 +02:00
docs Bump min PHP to 8, cleanup readmes (#1) 2021-05-10 20:00:54 +02:00
packages Fix property downgrade with nullable, run property promotion on any PHP (#24) 2021-05-12 10:58:00 +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 Fix property downgrade with nullable, run property promotion on any PHP (#24) 2021-05-12 10:58:00 +00:00
rules-tests Fix property downgrade with nullable, run property promotion on any PHP (#24) 2021-05-12 10:58:00 +00:00
src Fixing build (#25) 2021-05-12 15:31:11 +02:00
stubs [PHP 7.4] Use typed properties in tests (#20) 2021-05-11 19:27:47 +02: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 [TASK] Take glob pattern for files into account (#22) 2021-05-12 12:44:28 +02:00
upgrade Add setter/getter factory (#6219) 2021-04-23 18:14:51 +00:00
utils [scoped] Run e2e parallel, suck in existing tests (#16) 2021-05-11 18:06:27 +02:00
.editorconfig cleanup 2020-04-03 13:24:44 +02:00
.gitattributes [TASK] Take .editorconfig into account (#6272) 2021-05-06 13:26:28 +02: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 [scoped] Run e2e parallel, suck in existing tests (#16) 2021-05-11 18:06:27 +02: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 [PHP 7.4] Add more typed properties (#23) 2021-05-12 12:16:44 +02:00
phpunit.xml phpunit: run defect first 2021-04-25 15:46:45 +02:00
preload.php refresh preload 2021-05-07 18:01:17 +02: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 [PHP 7.4] Add more typed properties (#23) 2021-05-12 12:16:44 +02:00
rule-doc-generator.php Add setter/getter factory (#6219) 2021-04-23 18:14:51 +00:00
scoper-php70.php [Scoped] Add more paths to scope (#6382) 2021-05-07 14:02:04 +00:00
scoper.php bump rector-prefixed names to rector 2021-05-09 21:13:45 +02: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.