Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
Go to file
Tomas Votruba adb6e68c2a
[automated] Re-Generate Nodes/Rectors Documentation (#2343)
Co-authored-by: TomasVotruba <TomasVotruba@users.noreply.github.com>
2022-05-22 00:30:58 +00:00
.github [DowngradePhp80] Handle inside Closure on DowngradeMatchToSwitchRector (#2333) 2022-05-19 21:25:28 +07:00
bin Fix position of class after non-reachable stmts (#2299) 2022-05-12 09:05:03 +00:00
build [automated] Re-Generate Nodes/Rectors Documentation (#2343) 2022-05-22 00:30:58 +00:00
config [DowngradePhp80] Apply PHPStan 1.7.x-dev compatible for PhpParameterReflection (#2336) 2022-05-20 12:16:54 +02: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 [e2e] Add e2e for tests removed node display applied rules with return null (#2320) 2022-05-16 08:13:14 +07:00
packages [DX] Use direct method on node, instead of token position (#2340) 2022-05-21 08:43:58 +00:00
packages-tests [Parallel] Fix --debug not working in parallel (#2307) 2022-05-13 23:10:38 +07:00
rules [DX] Use direct method on node, instead of token position (#2340) 2022-05-21 08:43:58 +00:00
rules-tests [DeadCode] Skip used in Closure use on RemoveUnusedConstructorParamRector (#2341) 2022-05-21 18:24:10 +02:00
src [DeadCode] Skip used in Closure use on RemoveUnusedConstructorParamRector (#2341) 2022-05-21 18:24:10 +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 [DowngradePhp80] Add in arrow function in return support on DowngradeMatchToSwitchRector (#2331) 2022-05-19 08:52:59 +02:00
utils Add RectorConfigProvider to ask for configuration behave for 3rd party packages (#2187) 2022-04-28 19:13:39 +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 [DX] Use direct method on node, instead of token position (#2340) 2022-05-21 08:43:58 +00:00
CODE_OF_CONDUCT.md Use HTTPS instead of HTTP 2018-02-14 07:23:09 -02:00
composer.json [DowngradePhp80] Apply PHPStan 1.7.x-dev compatible for PhpParameterReflection (#2336) 2022-05-20 12:16:54 +02:00
CONTRIBUTING.md [docs] your name 2022-04-12 10:53:33 +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 [DX] Add StmtsAwareInterface to catch node by type (#2269) 2022-05-08 20:50:37 +00:00
ecs.php Change RemovePhpVersionIdCheckRector to work with direct If_ (#2259) 2022-05-07 20:12:58 +02:00
full_build.sh [Scoper] Remove PHPStanStubLoader->loadStubs() call on config-downgrade (#2247) 2022-05-07 07:06:17 +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 [Core] Override pModifiers() method to set final and abstract modifiers early on BetterStandardPrinter (#2328) 2022-05-18 12:41:43 +02:00
phpunit.xml Upgrade to Symplify not using symfony/http-kernel (#1119) 2021-11-01 14:20:45 +01:00
preload.php [DX] Add StmtsAwareInterface to catch node by type (#2269) 2022-05-08 20:50:37 +00:00
README.md [DX] Move PhpVersionProvider from AbstractRector to particular services (#2189) 2022-04-28 22:02:52 +02:00
rector.php [DeadCode] Handle skipped RemoveUnreachableStatementRector on MultiDirnameRector (#2129) 2022-04-23 01:00:40 +02:00
rule-doc-generator.php [DX] Use RectorConfig in configs (#2063) 2022-04-12 13:46:07 +02:00
scoper.php [Scoper] Clean up missing use with prefixed (#2003) 2022-04-03 01:57:47 +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 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.