folivoro / shift
Keeps your WordPress projects up to date with Sloth. Automatically.
dev-main
2026-04-22 11:28 UTC
Requires
- php: ^8.2
- rector/rector: ^2.4
Requires (Dev)
- phpunit/phpunit: ^13.1
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 |