folivoro/shift

Keeps your WordPress projects up to date with Sloth. Automatically.

Maintainers

Package info

github.com/folivoro/shift

Type:rector-extension

pkg:composer/folivoro/shift

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-main 2026-04-22 11:28 UTC

This package is auto-updated.

Last update: 2026-04-22 11:28:36 UTC


README

Keeps your WordPress projects up to date with Sloth. Automatically.

Install

composer require --dev folivoro/shift

Use

vendor/bin/rector process app/ --config vendor/folivoro/shift/config/shift.php

Composer script

Add to composer.json:

{
    "scripts": {
        "shift": "rector process app/ --config vendor/folivoro/shift/config/shift.php"
    }
}

Then run:

composer shift

Rules

Rule Description
NormalizeSlothRegistrationPropertiesRector Normalizes Sloth registration properties to public static without type declaration