Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
Go to file
2021-09-07 07:48:24 +02:00
.github [Scoped] Wait 3 minutes before checkout rectorphp/rector-src on create a tag (#620) 2021-08-08 18:54:24 +02:00
bin [Core] Replace deprecated ShellCode:: with Symfony Command:: for status (#737) 2021-08-22 22:52:09 +02:00
build [TypeDeclaration] Handle UnitEnum not exists check on ParamTypeByParentCallTypeRector (#841) 2021-09-07 07:48:24 +02:00
config Implements DowngradeClosureFromCallableRector (PHP 7.1). (#809) 2021-09-01 22:14:30 +02:00
dev-docs [docs] add typo3 badges 2021-07-03 00:14:25 +02:00
docs/testing Added test for Rectors making additional changes (#545) 2021-08-06 08:39:47 +02:00
packages [TypeDeclaration] Handle object|static return on ReturnTypeDeclarationRector (#840) 2021-09-06 12:18:02 +00:00
packages-tests [Windows] Add platform agnostic asserts (#461) 2021-08-16 07:08:51 +00:00
patches add symfony/dependency-injectoin wiht completed types 2021-07-05 21:29:59 +02:00
rules [Php80] Fix NullsafeOperatorRector on no result usage (#838) 2021-09-06 09:08:38 +00:00
rules-tests [TypeDeclaration] Handle UnitEnum not exists check on ParamTypeByParentCallTypeRector (#841) 2021-09-07 07:48:24 +02:00
src Add minimum PHP versions for PHP 8.1 rules (#814) 2021-09-02 17:11:07 +02:00
stubs [TypeDeclaration] Handle UnitEnum not exists check on ParamTypeByParentCallTypeRector (#841) 2021-09-07 07:48:24 +02:00
stubs-rector/PHPUnit/Framework Fixing build (#25) 2021-05-12 15:31:11 +02:00
templates add paths to rector init 2021-09-02 13:31:54 +02:00
tests [CodeQuality][EarlyReturn] Handle ExplicitBoolCompareRector + ChangeOrIfReturnToEarlyRector (#836) 2021-09-06 05:46:19 +00:00
utils [Scoper] Fix Cannot autowire service "RectorPrefix20210825\Helmich\TypoScriptParser\Parser\Traverser\Traverser" (#759) 2021-08-25 10:19:12 +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 [CI] Downgrade Rector to PHP 7.1 + prefix it (#5880) 2021-03-18 02:48:44 +01:00
.phpstorm.meta.php [DX] Add MissedRectorDueVersionChecker (#465) 2021-07-21 11:26:10 +02:00
CODE_OF_CONDUCT.md Use HTTPS instead of HTTP 2018-02-14 07:23:09 -02:00
composer.json [PHPStan] Update to PHPStan 0.12.98 (#826) 2021-09-04 09:29:37 +02:00
CONTRIBUTING.md [Doc] Add CONTRIBUTING.md (#79) 2021-05-20 00:34:39 +01:00
ecs.php Bump deps (#804) 2021-08-31 21:13:03 +02:00
full_build.sh [DowngradePhp80] Early Register DowngradeNamedArgumentRector then DowngradeAttributeToAnnotationRector (#367) 2021-07-04 12:26:29 +02: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 [Rectify] Fix PHPStan includes neon config not found (#828) 2021-09-04 12:18:20 +02:00
phpstan.neon [PSR4] Skip already defined namespace on NormalizeNamespaceByPSR4ComposerAutoloadRector (#823) 2021-09-04 09:32:01 +02:00
phpunit.xml Fix ci of missing PHPStan extension types (#43) 2021-05-15 14:18:20 +00:00
preload.php [automated] Re-Generate preload.php (#831) 2021-09-05 00:24:19 +00:00
README.md [Doc] Add CONTRIBUTING.md (#79) 2021-05-20 00:34:39 +01:00
rector.php [CodeQuality] CodeQuality config set list clean up (#606) 2021-08-06 22:01:54 +02:00
rule-doc-generator.php Add setter/getter factory (#6219) 2021-04-23 18:14:51 +00:00
scoper.php [Scoper] Fix Cannot autowire service "RectorPrefix20210825\Helmich\TypoScriptParser\Parser\Traverser\Traverser" (#759) 2021-08-25 10:19:12 +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

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.