Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
Go to file
Abdul Malik Ikhsan 40d9102eab
[Renaming] Do not Rename Docblock inner Namespace on RenameClassRector (#2441)
* Add failing test for rector/rector#7209

* update fixture

* Closes #2440

* fixture

Co-authored-by: Einar Gangsø <mail@einargangso.no>
2022-06-06 07:53:42 +02:00
.github [Scoped] Exclude symfony/contracts/HttpClient/Test/HttpClientTestCase.php from parallel-lint check (#2429) 2022-06-04 12:38:45 +02:00
bin skip team members from changelog, to give more credit to external contibutors 2022-06-04 10:19:54 +02:00
build skip files missing in build rector-src package 2022-06-05 09:16:27 +02:00
config [Naming] Fix PseudoNamespaceToNamespaceRector reporting on change (#2426) 2022-06-04 08:09:40 +00: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 parallel process with current directory contains space (#2421) 2022-06-03 22:41:31 +02:00
packages [Renaming] Do not Rename Docblock inner Namespace on RenameClassRector (#2441) 2022-06-06 07:53:42 +02:00
packages-tests use directly ParamTagValueNode (#2412) 2022-06-02 09:19:57 +02:00
rules [DeadCode] Improve RemoveJustPropertyFetchRector and apply (#2435) 2022-06-04 18:02:21 +00:00
rules-tests [Renaming] Do not Rename Docblock inner Namespace on RenameClassRector (#2441) 2022-06-06 07:53:42 +02:00
src [DeadCode] Improve RemoveJustPropertyFetchRector and apply (#2435) 2022-06-04 18:02:21 +00: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 [DowngradePhp82] Add DowngradeReadonlyClassRector to downgrade readonly class (#2322) 2022-05-31 23:20:12 +02:00
utils remove downgrade-paths, not needed anymore 2022-05-30 02:17:02 +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
CHANGE2.md skip team members from changelog, to give more credit to external contibutors 2022-06-04 10:19:54 +02:00
CODE_OF_CONDUCT.md Use HTTPS instead of HTTP 2018-02-14 07:23:09 -02:00
composer.json [Scoped] Update to symfony 6.1.* and symfony/contracts 3.1.* (#2418) 2022-06-04 12:09:27 +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] Remove too detailed --type in init command, use fw documentation instead (#2430) 2022-06-04 13:46:21 +02:00
ecs.php Remove myclabs/php-enum dependency (#2388) 2022-05-29 22:33:23 +00:00
full_build.sh [Scoped] Exclude symfony/contracts/HttpClient/Test/HttpClientTestCase.php from parallel-lint check (#2429) 2022-06-04 12:38:45 +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 add extensions to rector phpstan types 2022-06-01 10:01:33 +02:00
phpstan.neon [DeadCode] Fix known array type in empty if foreach (#2432) 2022-06-04 13:12:01 +00: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] Improve RemoveJustPropertyFetchRector and apply (#2435) 2022-06-04 18:02:21 +00: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.