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.