{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/opt\/php-tools\/vendor\/bin\/phpstan analyse \/var\/www\/dev.campus.systemische-tools.de\/src --level=7 --configuration=\/opt\/php-tools\/phpstan.neon 2>&1 | tail -30",
"description": "Run PHPStan for errors"
}
}
{
"tool_response": {
"stdout": " 💡 See: \n https:\/\/phpstan.org\/blog\/solving-phpstan-no-value-type-specified-in-i \n terable-type \n 66 Method UseCases\\Task\\GetTasksUseCase::count() has parameter $filters \n with no value type specified in iterable type array. \n 🪪 missingType.iterableValue \n 💡 See: \n https:\/\/phpstan.org\/blog\/solving-phpstan-no-value-type-specified-in-i \n terable-type \n ------ ----------------------------------------------------------------------- \n\n ------ ----------------------------------------------------------------------- \n Line UseCases\/Task\/SaveTaskResultUseCase.php \n ------ ----------------------------------------------------------------------- \n 28 Method UseCases\\Task\\SaveTaskResultUseCase::execute() has parameter \n $data with no value type specified in iterable type array. \n 🪪 missingType.iterableValue \n 💡 See: \n https:\/\/phpstan.org\/blog\/solving-phpstan-no-value-type-specified-in-i \n terable-type \n 108 Method UseCases\\Task\\SaveTaskResultUseCase::validate() has parameter \n $data with no value type specified in iterable type array. \n 🪪 missingType.iterableValue \n 💡 See: \n https:\/\/phpstan.org\/blog\/solving-phpstan-no-value-type-specified-in-i \n terable-type \n ------ ----------------------------------------------------------------------- \n\n [ERROR] Found 306 errors",
"stderr": "",
"interrupted": false,
"isImage": false
}
}