Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
Go to file
Abdul Malik Ikhsan d0e6a3bda6
[Core] Early assign $smartFileInfo->getPathname() to variable for RemovedAndAddedFilesCollector::isFileRemoved() (#256)
* [Core] Early assign $smartFileInfo->getPathname() to variable for RemovedAndAddedFilesCollector::isFileRemoved()

* [ci-review] Rector Rectify

Co-authored-by: GitHub Action <action@github.com>
2021-06-20 18:50:38 +07:00
.github [Downgrade Php 8] Handle Property Fetch and static Property fetch (#195) 2021-06-10 13:03:40 +00:00
bin Use local version resolver (#36) 2021-05-14 21:52:30 +00:00
build Revert "add DockerHub overview update workflow (#249)" (#254) 2021-06-20 18:25:36 +07:00
config [Order] Cleanup set from rules that are nicely handled by php-cs-fixer (#245) 2021-06-18 18:01:14 +00:00
dev-docs Fix ci of missing PHPStan extension types (#43) 2021-05-15 14:18:20 +00:00
packages [TypeDeclaration][Php 8] Enable ReturnTypeDeclarationRector (#184) 2021-06-18 17:19:36 +00:00
packages-tests [Php 8] Enable ClassOnObjectRector (#193) 2021-06-10 13:30:14 +02:00
rules fix name variable caller -> callerName (#253) 2021-06-20 09:48:11 +00:00
rules-tests Alternative for 241 (Remove backslash from fallback var name) (#251) 2021-06-20 00:25:55 +00:00
src [Core] Early assign $smartFileInfo->getPathname() to variable for RemovedAndAddedFilesCollector::isFileRemoved() (#256) 2021-06-20 18:50:38 +07:00
stubs [PHP 8.1] Add MyClabs enum to native ENUM (#30) 2021-05-14 09:46:56 +00:00
stubs-rector/PHPUnit/Framework Fixing build (#25) 2021-05-12 15:31:11 +02:00
templates Move from SETS parameter to explicit import() (#6375) 2021-05-06 20:06:31 +00:00
tests Test: EncapsedStringsToSprintfRector + RemoveDeadInstanceOfRector (#208) 2021-06-12 08:29:20 +02:00
upgrade fix cs, remove rector_09 upgrade set 2021-06-05 18:12:25 +02:00
utils remove container builder scoping 2021-06-05 22:54:01 +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 [CI] Downgrade Rector to PHP 7.1 + prefix it (#5880) 2021-03-18 02:48:44 +01:00
.phpstorm.meta.php Make use of File object instead of passing around provider of file info, tokens, stmts etc. (#6110) 2021-04-13 00:12:48 +00:00
CODE_OF_CONDUCT.md Use HTTPS instead of HTTP 2018-02-14 07:23:09 -02:00
composer.json [PHPStan] Add PHPStan 0.12.90 support (#246) 2021-06-19 15:54:16 +02:00
CONTRIBUTING.md [Doc] Add CONTRIBUTING.md (#79) 2021-05-20 00:34:39 +01:00
ecs.php Move from SETS parameter to explicit import() (#6375) 2021-05-06 20:06:31 +00:00
full_build.sh [DowngradePhp80] Add DowngradeNamedArgumentRector (#133) 2021-06-01 14:27:38 +02:00
LICENSE Update LICENSE year forever 2018-01-02 20:27:07 -02:00
phpstan-for-rector.neon [scoped] Run e2e parallel, suck in existing tests (#16) 2021-05-11 18:06:27 +02:00
phpstan.neon [PHPStan] Clean up ignore errors in phpstan.neon (#240) 2021-06-17 14:48:51 +00:00
phpunit.xml Fix ci of missing PHPStan extension types (#43) 2021-05-15 14:18:20 +00:00
preload.php cleanup preload.php 2021-06-05 23:03:43 +02:00
README.md [Doc] Add CONTRIBUTING.md (#79) 2021-05-20 00:34:39 +01:00
rector.php [Config] Clean up comment in rector.php config (#247) 2021-06-19 00:55:35 +00:00
rule-doc-generator.php Add setter/getter factory (#6219) 2021-04-23 18:14:51 +00:00
scoper-php70.php [BUGFIX] Do not scope string classes in ssch/typo3-rector (#75) 2021-05-19 16:23:01 +02:00
scoper.php unscpoe phpfile loader 2021-06-05 22:12:20 +02: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.