Registry / build-tool / rector-rector

rector-rector

JSON →
library2.4.5phppackagistunverified

Instant Upgrade and Automated Refactoring of any PHP code

composer require rector/rector
INSTALL
IMPORT
SIG · RECTOR-RECTOR
R
rector-rector
build-toolphpv2.4.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RectorConfig
use Rector\Config\RectorConfig;

Configure Rector with code quality rules

use Rector\Config\RectorConfig; return RectorConfig::configure() ->withPaths([__DIR__ . '/src']) ->withPreparedSets(codeQuality: true);
Debug
Known issues
breakingRector 2.x requires PHP 8.2+ and may introduce breaking changes in rule sets; always review changes before applying.
fix
Use `--dry-run` to preview changes and pin to a specific major version in composer.json.
affects: >=2.0.0
Upgrade
Version history
2.4.5latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
OpenAI (training)
1
Resources
rector-rector — pip install rector-rector · libregistry