Run Psalm Static Analysis
run_psalmPerform static analysis on PHP code using Psalm, detecting type errors and potential issues. Configure error severity from strict (level 1) to loose (level 8) with parallel execution.
Instructions
Psalm ile statik analiz yapar. PHPStan'ın tamamlayıcısıdır. Hata seviyesi 1-8 arası veya 'auto' olabilir.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filepath": "<filepath>"
},
"name": "run_psalm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Psalm hata seviyesi (1-8). Varsayılan: 4 (orta). | 4 |
| threads | No | Paralel iş parçacığı sayısı. Varsayılan: 4. | |
| filepath | Yes | Psalm ile analiz edilecek dosya veya dizin. Örnek: ./src | |
| showInfo | No | info seviyesindeki uyarıları da göster. | |
| projectPath | No | İsteğe bağlı proje kökü (otomatik tespit edilir). |