Skip to content

rectorphp/rector-src

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
April 3, 2020 13:24
January 2, 2018 20:27
August 20, 2023 10:32

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.


Debug Tests

Do you need to measure speed of particular test? Or just check which test fixture is failing? Make use of pretty print:

 vendor/bin/phpunit -d --enable-pretty-print

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.


Rector Packages CI Status

Rector Generator - https://github.com/rectorphp/rector-generator

PHPStan Rules - https://github.com/rectorphp/phpstan-rules

Symfony - https://github.com/rectorphp/rector-symfony

PHPUnit - https://github.com/rectorphp/rector-phpunit

Doctrine - https://github.com/rectorphp/rector-doctrine

Downgrade PHP - https://github.com/rectorphp/rector-downgrade-php