Run PHP Magic Number Detector (PHPMND)
run_phpmndDetects numeric constants in PHP code and suggests defining them as named constants to improve readability and maintainability.
Instructions
Sayısal sabitleri tespit eder ve bunların 'const' olarak tanımlanmasını önerir.
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_phpmnd"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exclude | No | Hariç tutulacak dizinler. | |
| filepath | Yes | Taranacak dosya veya dizin. Örnek: ./src | |
| extensions | No | Dosya uzantıları. Varsayılan: ['php']. | |
| projectPath | No | İsteğe bağlı proje kökü (otomatik tespit edilir). |