{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/var\/www\/scripts\/php-check.sh 2>&1 | head -100",
"timeout": 180000,
"description": "Run PHPStan and CS-Fixer quality checks"
}
}
{
"tool_response": {
"stdout": "=== PHP Quality & Security Check: Thu Dec 25 12:35:01 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 [OK] No errors \n\n\u001b[0;32m✓ PHPStan: OK\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\/270 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0%\n 27\/270 [▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░] 10%\n 216\/270 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░] 80%\n 270\/270 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%\n\n 1) src\/services.php\n ---------- begin diff ----------\n--- \/var\/www\/dev.campus.systemische-tools.de\/src\/services.php\n+++ \/var\/www\/dev.campus.systemische-tools.de\/src\/services.php\n@@ -13,6 +13,7 @@\n use Application\\PipelineStepService;\n use Domain\\Repository\\ChatMessageRepositoryInterface;\n use Domain\\Repository\\ChatSessionRepositoryInterface;\n+use Domain\\Repository\\ChunkExplorerRepositoryInterface;\n use Domain\\Repository\\ChunkRepositoryInterface;\n use Domain\\Repository\\CodeAnalysisRepositoryInterface;\n use Domain\\Repository\\CollectionRepositoryInterface;\n@@ -19,16 +20,15 @@\n use Domain\\Repository\\ContentRepositoryInterface;\n use Domain\\Repository\\DocumentRepositoryInterface;\n use Domain\\Repository\\DokumentationRepositoryInterface;\n+use Domain\\Repository\\DokumentExplorerRepositoryInterface;\n use Domain\\Repository\\EntityRepositoryInterface;\n use Domain\\Repository\\OntologyRepositoryInterface;\n use Domain\\Repository\\PipelineRepositoryInterface;\n use Domain\\Repository\\RelationRepositoryInterface;\n+use Domain\\Repository\\SeiteExplorerRepositoryInterface;\n use Domain\\Repository\\SemanticSearchRepositoryInterface;\n use Domain\\Repository\\TaskRepositoryInterface;\n use Domain\\Repository\\TaxonomyRepositoryInterface;\n-use Domain\\Repository\\DokumentExplorerRepositoryInterface;\n-use Domain\\Repository\\SeiteExplorerRepositoryInterface;\n-use Domain\\Repository\\ChunkExplorerRepositoryInterface;\n use Domain\\Service\\CodeScannerInterface;\n use Framework\\Container;\n use Infrastructure\\AI\\AIConfig;\n@@ -53,6 +53,7 @@\n use Infrastructure\\Logging\\AuditLogger;\n use Infrastructure\\Persistence\\ChatMessageRepository;\n use Infrastructure\\Persistence\\ChatSessionRepository;\n+use Infrastructure\\Persistence\\ChunkExplorerRepository;\n use Infrastructure\\Persistence\\ChunkRepository;\n use Infrastructure\\Persistence\\CodeAnalysisRepository;\n use Infrastructure\\Persistence\\CollectionRepository;\n@@ -62,6 +63,7 @@\n use Infrastructure\\Persistence\\CriticsRepository;\n use Infrastructure\\Persistence\\DocumentRepository;\n use Infrastructure\\Persistence\\DokumentationRepository;\n+use Infrastructure\\Persistence\\DokumentExplorerRepository;\n use Infrastructure\\Persistence\\EntityRepository;\n use Infrastructure\\Persistence\\FileBackupRepository;\n use Infrastructure\\Persistence\\KiProtokollRepository;\n@@ -69,10 +71,8 @@\n use Infrastructure\\Persistence\\PipelineRepository;\n use Infrastructure\\Persistence\\PromptsRepository;\n use Infrastructure\\Persistence\\RelationRepository;\n+use Infrastructure\\Persistence\\SeiteExplorerRepository;\n use Infrastructure\\Persistence\\SemanticSearchRepository;\n-use Infrastructure\\Persistence\\DokumentExplorerRepository;\n-use Infrastructure\\Persistence\\SeiteExplorerRepository;\n-use Infrastructure\\Persistence\\ChunkExplorerRepository;\n use Infrastructure\\Persistence\\TaskAssignmentRepository;\n use Infrastructure\\Persistence\\TaskCommentRepository;\n use Infrastructure\\Persistence\\TaskRepository;\n\n ----------- end diff -----------\n\n\nFound 1 of 270 files that can be fixed in 0.173 seconds, 20.00 MB memory used\n\u001b[0;31m✗ PHP-CS-Fixer: Style issues found (run with --fix)\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: 70\nUseCases checked: 39\n\u001b[0;32m✓ DI Check: All dependencies resolvable\u001b[0m",
"stderr": "",
"interrupted": false,
"isImage": false
}
}