{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/var\/www\/scripts\/php-check.sh 2>&1 | tail -50",
"description": "Full PHP quality check"
}
}
{
"tool_response": {
"stdout": " ------ ----------------------------------------------------------------------- \n 59 Parameter #2 $filters (array{taxonomy_category?: string, \n taxonomy_path?: array<string>, entity_type?: string, entity_name?: st \n ring, keyword?: string, min_score?: float}) of method \n Infrastructure\\Docs\\HybridSearchService::search() should be \n contravariant with parameter $filters (array<string, mixed>) of metho \n d Domain\\Service\\SearchServiceInterface::search() \n πͺͺ method.childParameterType \n 153 Parameter #1 $results (array<array<string, mixed>>) of method Infrast \n ructure\\Docs\\HybridSearchService::suggestRelatedSearches() should be \n contravariant with parameter $results (array<mixed>) of method Domain \n \\Service\\SearchServiceInterface::suggestRelatedSearches() \n πͺͺ method.childParameterType \n ------ ----------------------------------------------------------------------- \n\n\n [ERROR] Found 2 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\/324 [ββββββββββββββββββββββββββββ] 0%\n 324\/324 [ββββββββββββββββββββββββββββ] 100%\n\n\nFound 0 of 324 files that can be fixed in 0.040 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: 0\nUseCases checked: 47\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
}
}