Code Audit Phpstan
code_audit_phpstanRun PHPStan static analysis on Drupal custom modules to find code errors and enforce quality standards before release.
Instructions
Run PHPStan static analysis on Drupal custom modules.
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": {
"path": "<path>"
},
"name": "code_audit_phpstan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| level | No | ||
| configuration | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||