{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/var\/www\/scripts\/php-check.sh 2>&1 | grep -A5 \"PHPStan\"",
"timeout": 120000,
"description": "Check PHPStan results"
}
}
{
"tool_response": {
"stdout": "\u001b[1;33m[1\/6] PHPStan - Static Analysis + Strict Rules\u001b[0m\n ------ ----------------------------------------------------------------------- \n Line src\/Infrastructure\/Persistence\/StopwordRepository.php \n ------ ----------------------------------------------------------------------- \n 213 Method Infrastructure\\Persistence\\StopwordRepository::getStats() \n should return array<string, int> but returns array<string, array<arra \n--\n\u001b[0;31m✗ PHPStan: Errors found\u001b[0m\n\n\u001b[1;33m[2\/6] PHP-CS-Fixer - Code Style (PSR-12)\u001b[0m\nPHP CS Fixer 3.92.3 Exceptional Exception by Fabien Potencier, Dariusz Ruminski and contributors.\nPHP runtime: 8.4.16\nLoaded config default from \"\/opt\/php-tools\/.php-cs-fixer.php\".",
"stderr": "",
"interrupted": false,
"isImage": false
}
}