Run Rector (Automated Refactoring)
run_rectorApply automated PHP refactoring using Rector. Configure rules via rector.php and specify a target file or directory.
Instructions
Rector ile otomatik refactoring uygular (dryRun=false). 'rector.php' yapılandırması gerekir.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Sadece değişiklik önizlemesi (true). Uygulamak için false kullanın. Varsayılan: true. | |
| filepath | Yes | İşlenecek dosya veya dizin. Örnek: ./src | |
| clearCache | No | Rector cache temizle. Varsayılan: false. | |
| projectPath | No | İsteğe bağlı proje kökü (otomatik tespit edilir). |