Rector

Rector is a PHP refactoring tool that automates code upgrades and migrations.

It can: + Upgrade PHP code to newer PHP versions + Apply coding standards automatically + Refactor code patterns + Migrate between frameworks + Apply custom rules

Documentation

Related : Refactoring, Code Formatter, Linting, Tool

Related packages : rector/rector