heyframe/heyframe-rector

HeyFrame specific Rector

Installs: 28

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:rector-extension

pkg:composer/heyframe/heyframe-rector

0.5.7 2025-10-04 08:25 UTC

This package is auto-updated.

Last update: 2025-10-04 08:26:08 UTC


README

This project extends Rector with multiple Rules for HeyFrame specific.

See available HeyFrame rules

Install

Make sure to install both frosh/heyframe-rector as well as rector/rector.

composer req frosh/heyframe-rector --dev

Use Sets

To add a set to your config, use HeyFrame\Rector\Set\HeyFrameSetList class and pick one of constants:

use HeyFrame\Rector\Set\HeyFrameSetList;

return static function (RectorConfig $rectorConfig): void {
    $rectorConfig->sets([
        HeyFrameSetList::HEYFRAME_6_7_0,
    ]);
};

Use directly the config

# Clone this repo

composer install

# Dry Run
./vendor/bin/rector process --config config/heyframe-6.7.0.php --autoload-file [HEYFRAME]/vendor/autoload.php [HEYFRAME]/custom/plugins/MyPlugin --dry-run

# Normal Run
./vendor/bin/rector process --config config/heyframe-6.7.0.php --autoload-file [HEYFRAME]/vendor/autoload.php [HEYFRAME]/custom/plugins/MyPlugin