Review code in PHP for language and runtime conventions only. Do not define scope (diff vs codebase) or perform security/architecture analysis; those are handled by scope and cognitive skills. Emit a findings list in the standard format for aggregation. Focus on strict types and declarations, error handling, resource management, PSR standards (PSR-4, PSR-12), namespaces, null safety, generators and iterables, PHP...
Primary Goal: Produce a PHP language/runtime findings list covering strict types, error handling, resource management, PSR standards, namespaces, null safety, generators, version compatibility, and testability for the given code scope.
Acceptance Test: Does the output contain a PHP-focused findings list with file:line references covering all relevant language/runtime dimensions without performing security, architecture, or scope analysis?
Überprüfen Sie den PHP-Code auf Sprach- und Laufzeitkonventionen: strenge Typen, Fehlerbehandlung, Ressourcenverwaltung, PSR-Standards, Namespaces, Nullsicherheit, Generatoren und Testbarkeit. Nur sprachliche atomare Fähigkeit; Ausgabe ist eine Ergebnisliste. Quelle: nesnilnehc/ai-cortex.