{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/opt\/php-tools\/vendor\/bin\/phpstan analyse \/var\/www\/dev.campus.systemische-tools.de\/src --level=5 --error-format=table 2>&1 | head -60",
"timeout": 120000,
"description": "Check PHPStan errors"
}
}
{
"tool_response": {
"stdout": " 0\/342 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0%\u001b[1G\u001b[2K 20\/342 [▓░░░░░░░░░░░░░░░░░░░░░░░░░░░] 5%\u001b[1G\u001b[2K 40\/342 [▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░] 11%\u001b[1G\u001b[2K 80\/342 [▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░] 23%\u001b[1G\u001b[2K 120\/342 [▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░] 35%\u001b[1G\u001b[2K 140\/342 [▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░] 40%\u001b[1G\u001b[2K 180\/342 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░] 52%\u001b[1G\u001b[2K 222\/342 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░] 64%\u001b[1G\u001b[2K 242\/342 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░] 70%\u001b[1G\u001b[2K 282\/342 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░] 82%\u001b[1G\u001b[2K 322\/342 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░] 94%\u001b[1G\u001b[2K 342\/342 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%\n\n ------ ---------------------------------------------------------------------- \n Line dev.campus.systemische-tools.de\/src\/Framework\/Controller.php \n ------ ---------------------------------------------------------------------- \n 52 Constant VIEW_PATH not found. \n 🪪 constant.notFound \n 💡 Learn more at https:\/\/phpstan.org\/user-guide\/discovering-symbols \n 90 Constant VIEW_PATH not found. \n 🪪 constant.notFound \n 💡 Learn more at https:\/\/phpstan.org\/user-guide\/discovering-symbols \n 91 Constant VIEW_PATH not found. \n 🪪 constant.notFound \n 💡 Learn more at https:\/\/phpstan.org\/user-guide\/discovering-symbols \n ------ ---------------------------------------------------------------------- \n\n ------ ----------------------------------------------------------------------- \n Line dev.campus.systemische-tools.de\/src\/Infrastructure\/Persistence\/Stopwo \n rdRepository.php \n ------ ----------------------------------------------------------------------- \n 213 Method Infrastructure\\Persistence\\StopwordRepository::getStats() \n should return array<string, int> but returns array<string, array<arra \n y<string, int>>|int>. \n 🪪 return.type \n ------ ----------------------------------------------------------------------- \n\n ------ ----------------------------------------------------------------------- \n Line dev.campus.systemische-tools.de\/src\/UseCases\/Chat\/SendChatMessageUseC \n ase.php \n ------ ----------------------------------------------------------------------- \n 172 Method \n UseCases\\Chat\\SendChatMessageUseCase::createDefaultChatService() is \n unused. \n 🪪 method.unused \n ------ ----------------------------------------------------------------------- \n\n ------ ---------------------------------------------------------------------- \n Line dev.campus.systemische-tools.de\/src\/View\/backup-restore\/index.php \n ------ ---------------------------------------------------------------------- \n 122 Constant VIEW_PATH not found. \n 🪪 constant.notFound \n 💡 Learn more at https:\/\/phpstan.org\/user-guide\/discovering-symbols \n ------ ---------------------------------------------------------------------- \n\n ------ ---------------------------------------------------------------------- \n Line dev.campus.systemische-tools.de\/src\/View\/backup-restore\/show.php \n ------ ---------------------------------------------------------------------- \n 22 Variable $backup might not be defined. \n 🪪 variable.undefined \n 25 Variable $backup might not be defined. \n 🪪 variable.undefined \n 40 Variable $backup might not be defined. \n 🪪 variable.undefined \n 41 Variable $backup might not be defined. \n 🪪 variable.undefined \n 42 Variable $backup might not be defined. \n 🪪 variable.undefined \n 45 Variable $backup might not be defined. \n 🪪 variable.undefined \n 45 Variable $backup might not be defined.",
"stderr": "",
"interrupted": false,
"isImage": false
}
}