Lint against the framework conventions
lint_against_framework_rulesValidate PHP files against framework rules: strict types, naming, controller query bans, input validation, and repository interfaces. Get structured violations and compliance status.
Instructions
Validates a PHP file of the project against the framework conventions: strict_types, naming, no queries in controllers, input validation and repositories behind an interface. Returns structured violations; compliant=false when there is any error.
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": "lint_against_framework_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes |