Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
Go to file
2022-06-29 13:47:35 +02:00
.github clean up tweak package test workflow (#2583) 2022-06-28 21:41:03 +07:00
bin [cs] add static lambda rule [closes #2514] 2022-06-21 17:32:41 +02:00
build Remove SmartFileInfo registration in bootstrap.php (#2589) 2022-06-29 13:47:35 +02:00
config Use rector downgrade php (#2582) 2022-06-28 14:35:58 +02:00
dev-docs [DX] Detach typo3 from core to allow stable growth of both packages (#2446) 2022-06-06 19:28:24 +02:00
docs/testing Added test for Rectors making additional changes (#545) 2021-08-06 08:39:47 +02:00
e2e [Core] Handle parent return/assign from FuncCall with No Scope (#2525) 2022-06-19 10:19:29 +02:00
packages Use rector downgrade php (#2582) 2022-06-28 14:35:58 +02:00
packages-tests [Core] Apply Scope Refresh on Enum_ (#2549) 2022-06-21 16:54:05 +02:00
rules [Core] Apply auto fallback to use Scope from File when Node both doesnot has parent Node and Scope (#2587) 2022-06-29 11:49:52 +02:00
rules-tests Use rector downgrade php (#2582) 2022-06-28 14:35:58 +02:00
src [Core] Apply auto fallback to use Scope from File when Node both doesnot has parent Node and Scope (#2587) 2022-06-29 11:49:52 +02:00
stubs [MockeryToProphecy] Deprecate micro set as not practical (#1899) 2022-03-03 17:31:12 +01:00
templates [docs] Improve first-time contributors docs (#2061) 2022-04-12 10:52:46 +02:00
tests [Core] Handle Scope not available on CallableThisArrayToAnonymousFunctionRector+CountArrayToEmptyArrayComparisonRector (#2552) 2022-06-25 18:07:00 +02:00
utils [scoped] Build with Scoper 0.17.2 (#2445) 2022-06-07 11:23:53 +02: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 Use php-parser to work with literal _ number separator (#2321) 2022-05-31 21:09:06 +00:00
CODE_OF_CONDUCT.md Use HTTPS instead of HTTP 2018-02-14 07:23:09 -02:00
composer.json Bump PHPStan to 1.8 (#2588) 2022-06-29 12:59:47 +02:00
CONTRIBUTING.md docs: fix instruction in CONTRIBUTING.md (#2470) 2022-06-10 07:49:18 +02:00
docker-compose.yml [Docker] Switch COMPOSER_ROOT_VERSION to dev-main (#1015) 2021-10-17 18:24:38 +07:00
Dockerfile Make patch available in docker image (#1801) 2022-02-11 01:13:23 +07:00
easy-ci.php Use rector downgrade php (#2582) 2022-06-28 14:35:58 +02:00
ecs.php [cs] add static lambda rule [closes #2514] 2022-06-21 17:32:41 +02:00
full_build.sh [Core] Handle parent return/assign from FuncCall with No Scope (#2525) 2022-06-19 10:19:29 +02:00
LICENSE Update LICENSE year forever 2018-01-02 20:27:07 -02:00
monorepo-builder.php Bump to Symplify 11 (#2489) 2022-06-14 01:03:30 +02:00
phpstan-for-rector.neon add extensions to rector phpstan types 2022-06-01 10:01:33 +02:00
phpstan.neon Clean up phpstan ignore errors (#2584) 2022-06-28 16:39:42 +00:00
phpunit.xml Add DISABLE_AUTO_IMPORT_DOC_BLOCK_NAMES option (#2526) 2022-06-19 00:24:41 +02:00
preload.php use PHPStan 1.7.12, with new phpdoc-parser to fix endline issue 2022-06-09 14:48:07 +02:00
README.md [DX] Move PhpVersionProvider from AbstractRector to particular services (#2189) 2022-04-28 22:02:52 +02:00
rector.php [TypeDeclaration] Add ReturnTypeFromStrictNewArrayRector (#2572) 2022-06-26 13:43:47 +02:00
rule-doc-generator.php [DX] Use RectorConfig in configs (#2063) 2022-04-12 13:46:07 +02:00
scoper.php [cs] add static lambda rule [closes #2514] 2022-06-21 17:32:41 +02: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 the build downgrades code to PHP 7.2+.

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.