folivoro/shift
Composer 安装命令:
composer require folivoro/shift
包简介
Keeps your WordPress projects up to date with Sloth. Automatically.
README 文档
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 |
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-04-22