Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
Go to file
2021-12-13 23:23:29 +01:00
.github [Scoped] Fix downgrade rector-generator (#1461) 2021-12-11 09:13:18 +00:00
bin [Scoped] Remove phpstan-extracted code check reference (#1265) 2021-11-18 09:52:38 +01:00
build use dev-main on rector 2021-12-13 23:23:29 +01:00
config Fix phpstan configured parser to treat project with its code version (#1480) 2021-12-13 23:14:27 +01:00
dev-docs fix links 2021-11-02 11:43:06 +01:00
docs/testing Added test for Rectors making additional changes (#545) 2021-08-06 08:39:47 +02:00
e2e [Dep] Update to php 8.1 requirement (manual) (#1374) 2021-12-03 15:44:33 +01:00
packages [TypeDeclaration] Add mixed support for AddParamTypeDeclarationRector (#1476) 2021-12-13 17:34:18 +01:00
packages-tests [PHP 8.0] Retype expr by attribute parameter type (#1376) 2021-12-03 19:32:14 +00:00
rules Fix phpstan configured parser to treat project with its code version (#1480) 2021-12-13 23:14:27 +01:00
rules-tests [DowngradePhp73] Handle (array) cast on DowngradeArrayKeyFirstLastRector (#1478) 2021-12-13 17:34:56 +01:00
src [Core] Fix undefined constant ReflectionClassConstant::IS_PUBLIC in php 7.x (#1474) 2021-12-13 12:56:26 +01:00
stubs [Carbon] Remove fraction of few rules from history (#1408) 2021-12-06 19:07:51 +01:00
stubs-rector/PHPUnit/Framework Fixing build (#25) 2021-05-12 15:31:11 +02:00
templates [Core] Refactor init command to use LevelSetList::UP_TO_PHP_XY set list (#1328) 2021-11-28 17:59:11 +01:00
tests [Php74][Php80] Handle TypedPropertyRector + StringableForToStringRector (#1473) 2021-12-13 12:57:34 +01:00
utils [Downgrade] Drop SAFE_TYPES and SAFE_TYPES_TO_METHODS constants, use UNSAFE_TYPES_TO_METHODS instead (#1449) 2021-12-10 13:50:46 +00:00
.editorconfig cleanup 2020-04-03 13:24:44 +02:00
.gitattributes [gitattributes] do not export test in packagist dependency (#228) 2021-06-15 16:14:58 +02:00
.gitignore Minimal Docker runtime (#998) 2021-10-13 14:54:13 +02:00
.phpstorm.meta.php Refactor CLASS_NAME to parent/scope name resolver (#1170) 2021-11-06 21:25:28 +01:00
CODE_OF_CONDUCT.md Use HTTPS instead of HTTP 2018-02-14 07:23:09 -02:00
composer.json Composer > Define allowed plugins (#1464) 2021-12-11 15:08:33 +01:00
CONTRIBUTING.md MD tuning 2021-10-13 14:55:38 +02:00
docker-compose.yml [Docker] Switch COMPOSER_ROOT_VERSION to dev-main (#1015) 2021-10-17 18:24:38 +07:00
Dockerfile Minimal Docker runtime (#998) 2021-10-13 14:54:13 +02:00
easy-ci.php [DX] Decouple AssignVariableNameResolver (#1427) 2021-12-08 15:39:38 +00:00
ecs.php [ECS] Skip FunctionTypehintSpaceFixer for add space on &$variable (#1388) 2021-12-04 17:58:20 +03:00
full_build.sh [Scoped] Skip symfony console Event and EventListener and exclude in parallel-lint (#1439) 2021-12-09 13:41:50 +00:00
LICENSE Update LICENSE year forever 2018-01-02 20:27:07 -02:00
monorepo-builder.php add monorepo builder for faster relases 2021-08-11 17:43:49 +02:00
phpstan-for-rector.neon Reworking trait scope run (#952) 2021-10-04 23:11:10 +02:00
phpstan.neon [TypeDeclaration] Add mixed support for AddParamTypeDeclarationRector (#1476) 2021-12-13 17:34:18 +01:00
phpunit.xml Upgrade to Symplify not using symfony/http-kernel (#1119) 2021-11-01 14:20:45 +01:00
preload.php [automated] Re-Generate preload.php (#1468) 2021-12-12 00:19:43 +00:00
README.md [Doc] Add CONTRIBUTING.md (#79) 2021-05-20 00:34:39 +01:00
rector.php [DX] Warn about deprecated constant configuration (#1444) 2021-12-10 00:10:20 +00:00
rule-doc-generator.php Add setter/getter factory (#6219) 2021-04-23 18:14:51 +00:00
scoper.php [DX] Add strict PHPStan rules - step #1 (#1324) 2021-11-28 17:26:14 +01: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

Please read contributing guideline for how to contribute to rector.

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.