{
"event": "PreToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/opt\/php-tools\/phpstan.neon"
}
}
{
"tool_response": {
"type": "text",
"file": {
"filePath": "\/opt\/php-tools\/phpstan.neon",
"content": "includes:\n - vendor\/phpstan\/phpstan-strict-rules\/rules.neon\n\nparameters:\n level: 5\n excludePaths:\n - *\/vendor\/*\n - *\/storage\/*\n - *\/cache\/*\n - *\/View\/*\n reportUnmatchedIgnoredErrors: false\n\n # PHP 8.4 compatibility\n phpVersion: 80400\n\n # Ignore patterns for gradual adoption\n ignoreErrors:\n - '#Parameter .* has no type specified#'\n - '#Method .* has no return type specified#'\n - '#Constant .* not found#'\n - '#Call to function in_array\\(\\) requires parameter#'\n - '#Short ternary operator is not allowed#'\n - '#Construct empty\\(\\) is not allowed#'\n - '#Only booleans are allowed in#'\n - '#Loose comparison via .* is not allowed#'\n - '#is unused#'\n - '#array_filter\\(\\) requires parameter#'\n - '#Comparison operation .* is always#'\n",
"numLines": 29,
"startLine": 1,
"totalLines": 29
}
}
}