Analyze PHP Code (PHPStan)
analyze_php_codePerform static analysis on PHP files or directories using PHPStan. Supports configurable analysis levels and custom configuration.
Instructions
PHPStan ile statik analiz yapar. Dosya veya dizin yolu alabilir. 'level' parametresi 0-9 veya 'max' olabilir.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | PHPStan analiz seviyesi (0-9 veya 'max'). Varsayılan: max | max |
| filepath | Yes | Analiz edilecek PHP dosyası veya dizini. Örnek: ./src veya ./src/Foo.php | |
| memoryLimit | No | PHPStan için PHP bellek limiti. Varsayılan: 512M | 512M |
| configuration | No | İsteğe bağlı phpstan.neon / phpstan.neon.dist yapılandırma yolu. |