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?
Просмотрите код PHP на предмет языковых соглашений и соглашений времени выполнения: строгие типы, обработка ошибок, управление ресурсами, стандарты PSR, пространства имен, нулевая безопасность, генераторы и возможность тестирования. Атомарные навыки, связанные только с языком; вывод представляет собой список результатов. Источник: nesnilnehc/ai-cortex.