Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
Go to file
Abdul Malik Ikhsan 8f86f525f7
Fix stub PHPUnit\Framework\TestCase (#1954)
* Fix stub PHPUnit\Framework\TestCase

* final touch: clean up

* final touch: clean up

* load after bootstrap loaded

* move to target-repository

* final touch: remove stubs-rector on remote-repository first when exists
2022-03-22 21:32:53 +07:00
.github Fix stub PHPUnit\Framework\TestCase (#1954) 2022-03-22 21:32:53 +07:00
bin [TypeDeclaration] Add ArrayShapeFromConstantArrayReturnRector (#1908) 2022-03-07 12:28:39 +01:00
build Fix stub PHPUnit\Framework\TestCase (#1954) 2022-03-22 21:32:53 +07:00
config [Order] Deprecate rather coding standard related set, use OrderedClassElementsFixer instead (#1910) 2022-03-07 13:07:18 +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 [Core] Remove unneeded ChangedNodeAnalyzer service (#1868) 2022-02-25 10:53:16 +01:00
packages [PHP 8.0] Fix skip of silent key in annotation to attribute (#1932) 2022-03-15 13:50:43 +01:00
packages-tests [TypeDeclaration] Add ArrayShapeFromConstantArrayReturnRector (#1908) 2022-03-07 12:28:39 +01:00
rules [Php80] Handle init in before else on ChangeSwitchToMatchRector (#1952) 2022-03-21 19:47:08 +01:00
rules-tests [Php81] Skip has unset property fetch on ReadOnlyPropertyRector (#1953) 2022-03-21 21:06:38 +01:00
src Fix stub PHPUnit\Framework\TestCase (#1954) 2022-03-22 21:32:53 +07:00
stubs [MockeryToProphecy] Deprecate micro set as not practical (#1899) 2022-03-03 17:31:12 +01: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 [DeadCode][CodingStyle] Handle SplitDoubleAssignRector+RemoveUnusedPrivatePropertyRector (#1944) 2022-03-17 08:28:36 +01:00
utils [CodingStyle] Trigger RemoveFinalFromConstRector (#1733) 2022-01-27 01:47:33 +07: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 Enable vendor patching (#1929) 2022-03-14 10:03:21 +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 Make patch available in docker image (#1801) 2022-02-11 01:13:23 +07:00
easy-ci.php Bump to Sypmlify 10.1 (#1852) 2022-02-21 12:13:59 +00:00
ecs.php [ECS] Enable StandaloneLineConstructorParamFixer again (#1942) 2022-03-16 17:20:03 +01:00
full_build.sh [Scoper] Rollback attribute exclude, add specify PHP80_BIN_PATH env when run ./full_build.sh locally (#1748) 2022-01-31 15:00:59 +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 remove fixed errors 2022-03-07 14:42:05 +01:00
phpunit.xml Upgrade to Symplify not using symfony/http-kernel (#1119) 2021-11-01 14:20:45 +01:00
preload.php Bump Symplify package - use new location for console differ + value object inliner (#1841) 2022-02-20 12:56:50 +01:00
README.md [Doc] Add CONTRIBUTING.md (#79) 2021-05-20 00:34:39 +01:00
rector.php [TypeDeclaration] Skip ArrayShapeFromConstantArrayReturnRector on class name as key (#1911) 2022-03-07 13:07:37 +01:00
rule-doc-generator.php Add setter/getter factory (#6219) 2021-04-23 18:14:51 +00:00
scoper.php [Scoper] Fix scoping on AbstractUnicodeString which has RectorPrefix20220303 on preg_replace (#1894) 2022-03-03 05:19:30 +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.