{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/var\/www\/scripts\/php-check.sh \/var\/www\/dev.campus.systemische-tools.de 2>&1 | head -100",
"timeout": 180000,
"description": "Run PHP quality checks"
}
}
{
"tool_response": {
"stdout": "=== PHP Quality & Security Check: Thu Dec 25 12:53:53 PM CET 2025 ===\nProject: \/var\/www\/dev.campus.systemische-tools.de\n\n\u001b[1;33m[1\/5] PHPStan - Static Analysis + Strict Rules\u001b[0m\n ------ ---------------------------------------------------------------- \n Line src\/Controller\/Api\/DocsController.php \n ------ ---------------------------------------------------------------- \n 43 Call to an undefined method \n Domain\\Repository\\DokumentationRepositoryInterface::findAll(). \n πͺͺ method.notFound \n 51 Call to an undefined method \n Domain\\Repository\\DokumentationRepositoryInterface::count(). \n πͺͺ method.notFound \n 151 Call to an undefined method \n Domain\\Repository\\DokumentationRepositoryInterface::create(). \n πͺͺ method.notFound \n 190 Call to an undefined method \n Domain\\Repository\\DokumentationRepositoryInterface::update(). \n πͺͺ method.notFound \n 235 Call to an undefined method \n Domain\\Repository\\DokumentationRepositoryInterface::delete(). \n πͺͺ method.notFound \n 290 Call to an undefined method \n Domain\\Repository\\DokumentationRepositoryInterface::getTree(). \n πͺͺ method.notFound \n ------ ---------------------------------------------------------------- \n\n ------ ----------------------------------------------------------------------- \n Line src\/Controller\/ContentController.php \n ------ ----------------------------------------------------------------------- \n 106 Call to an undefined method \n Domain\\Repository\\ContentRepositoryInterface::updateGenerationStatus( \n ). \n πͺͺ method.notFound \n 184 Call to an undefined method \n Domain\\Repository\\ContentRepositoryInterface::updateGenerationStatus( \n ). \n πͺͺ method.notFound \n 209 Call to an undefined method \n Domain\\Repository\\ContentRepositoryInterface::updateGenerationStatus( \n ). \n πͺͺ method.notFound \n 223 Call to an undefined method \n Domain\\Repository\\ContentRepositoryInterface::updateGenerationStatus( \n ). \n πͺͺ method.notFound \n 259 Call to an undefined method \n Domain\\Repository\\ContentRepositoryInterface::updateCritiqueStatus(). \n πͺͺ method.notFound \n 291 Call to an undefined method \n Domain\\Repository\\ContentRepositoryInterface::updateCritiqueStatus(). \n πͺͺ method.notFound \n 314 Call to an undefined method \n Domain\\Repository\\ContentRepositoryInterface::updateCritiqueStatus(). \n πͺͺ method.notFound \n ------ ----------------------------------------------------------------------- \n\n [ERROR] Found 13 errors \n\n\u001b[0;31mβ PHPStan: Errors found\u001b[0m\n\n\u001b[1;33m[2\/5] 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\".\nRunning analysis on 1 core sequentially.\nYou can enable parallel runner and speed up the analysis! Please see https:\/\/cs.symfony.com\/doc\/usage.html for more information.\nUsing cache file \"\/tmp\/.php-cs-fixer.cache\".\n 0\/281 [ββββββββββββββββββββββββββββ] 0%\n 29\/281 [ββββββββββββββββββββββββββββ] 10%\n 225\/281 [ββββββββββββββββββββββββββββ] 80%\n 253\/281 [ββββββββββββββββββββββββββββ] 90%\n 281\/281 [ββββββββββββββββββββββββββββ] 100%\n\n\nFound 0 of 281 files that can be fixed in 0.377 seconds, 20.00 MB memory used\n\u001b[0;32mβ PHP-CS-Fixer: OK\u001b[0m\n\n\u001b[1;33m[3\/5] Composer Audit - Dependency Vulnerabilities\u001b[0m\n\u001b[0;32mβ Composer Audit: No vulnerabilities\u001b[0m\n\n\u001b[1;33m[4\/5] Semgrep - OWASP Security Scan\u001b[0m\n\u001b[0;32mβ Semgrep: No vulnerabilities\u001b[0m\n\n\u001b[1;33m[5\/5] DI Check - UseCase Dependencies\u001b[0m\n\n\u001b[0;32mβ All UseCase dependencies are resolvable\u001b[0m\n\nRegistered services: 81\nUseCases checked: 39\n\u001b[0;32mβ DI Check: All dependencies resolvable\u001b[0m\n\n=== Summary ===\n\u001b[0;31mSome checks failed\u001b[0m",
"stderr": "",
"interrupted": false,
"isImage": false
}
}